Obrigado, agora que me liguei.
       Eu fiz as regras baseadas na sis0, que � a placa com o ip da rede interna, e esta tudo ok. =)!
 
                                                Obrigado pela aten��o de todos.
 
 
                                                                                    Atenciosamente Sp0oKeR!
 
 
----- Original Message -----
Sent: Monday, January 13, 2003 3:32 PM
Subject: Re: [FUGSPBR] limitar banda

    Fiz o que tu me falou e nada (mas usei rl0 ao inves de rl1 ).
   Esqueci de falar que tem a regra de nat tbm
   Ve o script de teste completo:
 
spooker# cat /etc/spooker-fw
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via rl0
/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
 
spooker#
 
                 Alguem sugere algo?
 
 
                                                                                                                        Obrigado.
 
                                                                                                                                Sp0oKeR!
----- Original Message -----
From: Emanoel
Sent: Wednesday, February 05, 2003 2:41 PM
Subject: Re: [FUGSPBR] limitar banda

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 -----
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

Responder a