ipfw+dummynet only getting half bandwidth when using routed
olsson at puffy.nu
Mon Jul 11 07:39:06 GMT 2005
>----- Original Message -----
>From: "Philip Olsson" <olsson at puffy.nu>
>To: <freebsd-net at freebsd.org>
>Sent: Monday, July 11, 2005 2:43 PM
>Subject: ipfw+dummynet only getting half bandwidth when using
>>This is a typo, sorry!
>>Supposed to be 2048Kbit/s
>>This is my conf:
>>ipfw add pipe 1 ip from 192.168.1.1 to any out
>>ipfw add pipe 2 ip from any to 192.168.1.1 in
>>ipfw pipe 1 config bw 2048Kbit/s
>>ipfw pipe 2 config bw 2048bit/s
>i think one of the first two lines is only process instead of the two for
>incoming and outgoing....
>please try this configuration first...
>ipfw add pipe 1 ip from any to any out via <interface_facing_your_clients>
>ipfw add pipe 2 ip from any to any in via <interface_facing_your_clients>
>ipfw pipe 1 config bw 2048Kbit/s
>ipfw pipe 2 config bw 2048Kbit/s
>if you getting full instead of half... then going back to your first
>configuration by doing an ipfw show determines which line wasnt processed by
>looking the number of packets flowing in it...
both counters increase.. and the last one "allow ip from any to any"
But I guess that is because it matches the rules two times.
I have tried only having one rule but the same problem ( ofcourse only
one way. )
I have also experimented with recv and xmit without success..
More information about the freebsd-net