Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 15:25:20 +0800
From:      "fooler" <fooler@skyinet.net>
To:        "Philip Olsson" <olsson@puffy.nu>, <freebsd-net@freebsd.org>
Subject:   Re: ipfw+dummynet only getting half bandwidth when using routedinterfaces.
Message-ID:  <02ae01c585e9$b1f64c70$42764eca@ilo.skyinet.net>
References:  <42D2151B.4020807@puffy.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Philip Olsson" <olsson@puffy.nu>
To: <freebsd-net@freebsd.org>
Sent: Monday, July 11, 2005 2:43 PM
Subject: ipfw+dummynet only getting half bandwidth when using
routedinterfaces.


> This is a typo, sorry!
> Supposed to be 2048Kbit/s

ok....

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

fooler.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02ae01c585e9$b1f64c70$42764eca>