Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 09:14:13 +0200
From:      Philip Olsson <olsson@puffy.nu>
To:        vladone <vladone@llwb135.servidoresdns.net>,  freebsd-net@freebsd.org
Subject:   Re: ipfw+dummynet only getting half bandwidth when using routed	interfaces.
Message-ID:  <42D21C45.3090204@puffy.nu>
In-Reply-To: <13510018368.20050711095159@llwb135.servidoresdns.net>
References:  <42D2151B.4020807@puffy.nu> <13510018368.20050711095159@llwb135.servidoresdns.net>

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

>Hello Philip,
>
>Monday, July 11, 2005, 9:43:39 AM, you wrote:
>
>  
>
>>Hello
>>I have a working setup with ipfw+dummynet+bridge where I get proper 
>>speeds but I want to have routed interfaces instead and skip the bridge.
>>    
>>
>
>  
>
>>But when converting to routed interfaces the bandwith through the queues
>>drops to half.
>>    
>>
>
>  
>
>>This is both in 5.4-REL and RELENG_5_4 and is showing on both xl and em
>>( not that the interfaces should matter )
>>    
>>
>
>  
>
>>The topology that work is:
>>server<->bridge<->client
>>    
>>
>
>  
>
>>The topology I want but that does not work properly is:
>>server<->router<->client
>>    
>>
>
>  
>
>>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
>>    
>>
>This is happend because your pachets pass throught firewall two times.
>I have same problem, and with atention u can resolv this. Separe
>traffic that in or out per interface.
>  
>
I have tried to add "via xl0" etc in different ways, do you have some 
sample rules?

// Philip



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