[FUGSPBR] limitar banda

Emanoel emanoel em wildcom.com.br
Qua Fev 5 14:41:53 BRST 2003


Altere suas regras para:

/sbin/ipfw add pipe 10 all from 10.0.0.0/8 to any in via rl1
/sbin/ipfw add pipe 20 all from any to 10.0.0.0/8 out via rl1
/sbin/ipfw pipe 10 config mask src-ip 0x000000ff bw 56Kbit/s queue 7Kbytes
/sbin/ipfw pipe 20 config mask dst-ip 0x000000ff bw 56Kbit/s queue 7Kbytes

[]'s 
Emanoel


  ----- Original Message ----- 
  From: Sp0oKeR Labs 
  To: FreeBSD Lista 
  Sent: Monday, January 13, 2003 2:10 PM
  Subject: [FUGSPBR] limitar banda


           Caros,
              Estou fazendo alguns testes para limitar banda, e estou com o seguite problema: 
               Para  entrada estou obtendo sucessa (downloads), mas uploads não esta funcionando.

        A regras que estou usando são as seguine

  /sbin/ipfw pipe 10 config mask src-ip 0x000000ff bw 56Kbit/s queue 7Kbytes
  /sbin/ipfw pipe 20 config mask dst-ip 0x000000ff bw 56Kbit/s queue 7Kbytes
  /sbin/ipfw add 1000 pipe 10 all from 10.0.0.0/8 to any out via rl0
  /sbin/ipfw add 1100 pipe 20 all from any to 10.0.0.0/8 in via rl0
  /sbin/ipfw add pass all from any to any

       alguem consegue visualizar algum erro? Ou sugere algo?Pois preciso fazer a limitação por ranges de ip, pois varios clientes saem pela mesma placa.


                                                                  Valeu e obrigado pela atenção!

                                                                                              []z!Sp0oKeR!





  ---

  Checked by AVG anti-virus system (http://www.grisoft.com).
  Version: 6.0.443 / Virus Database: 248 - Release Date: 10/1/2003
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://www.fug.com.br/pipermail/freebsd/attachments/20030205/36ba3e30/attachment.html>


Mais detalhes sobre a lista de discussão freebsd