Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 09:39:00 +0200
From:      Philip Olsson <olsson@puffy.nu>
To:        fooler <fooler@skyinet.net>,  freebsd-net@freebsd.org
Subject:   Re: ipfw+dummynet only getting half bandwidth when using routed interfaces.
Message-ID:  <42D22214.2060804@puffy.nu>
In-Reply-To: <02ae01c585e9$b1f64c70$42764eca@ilo.skyinet.net>
References:  <42D2151B.4020807@puffy.nu> <02ae01c585e9$b1f64c70$42764eca@ilo.skyinet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
fooler wrote:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42D22214.2060804>