ipfw+dummynet only getting half bandwidth when using
fooler at skyinet.net
Mon Jul 11 07:25:21 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...
More information about the freebsd-net