fooler wrote:

----- Original Message ----- From: "Philip Olsson" <[EMAIL PROTECTED]>
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...

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

// Philip
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to