[FUG-BR] RES: IPFW + DUMMYNET ( Trafego Upload )

Thiago Pollachini thiagopollachini em bsd.com.br
Segunda Maio 31 14:50:02 BRT 2010


Eu resolvia esse problema marcando em layer2.
Isso a alguns anos atras..

Em 31 de maio de 2010 13:13, Clynton <clyntonnet em gmail.com> escreveu:

> Já fiz estes testes, mas não obtive exito.
>
> Estas opçoes estao ativas:
> /sbin/sysctl net.link.ether.ipfw=1
> /sbin/sysctl net.inet.ip.fw.one_pass=0
> /sbin/sysctl net.inet.ip.fw.autoinc_step=10
>
>
> Em 31 de maio de 2010 11:53, Eduardo Schoedler
> <eschoedler em viavale.com.br>escreveu:
>
> > Clynton escreveu:
> > >
> > > ${fwcmd} pipe 1 config bw 500Kbits/s
> > > ${fwcmd} pipe 2 config bw 500Kbits/s
> > > ${fwcmd} add pipe 1 all from any to any MAC any xx:xx:xx:xx:xx:xx in
> > > ${fwcmd} add pipe 2 all from any to any MAC xx:xx:xx:xx:xx:xx any out
> >
> > Já tentou especificar a interface ? 'in via', 'out via'.
> > Já tentou especificar 'layer2' nessas regras ?
> >
> > man ipfw
> >
> >
> > Sds,
> >
> > --
> > Eduardo Schoedler
> >
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


Mais detalhes sobre a lista de discussão freebsd