Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2007 14:20:30 +0200
From:      Volker <volker@vwsoft.com>
To:        Rajkumar S <rajkumars@gmail.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Load balancing with ratio
Message-ID:  <46445F8E.9030907@vwsoft.com>
In-Reply-To: <64de5c8b0705110311v396ca514i848e558c4b580796@mail.gmail.com>
References:  <64de5c8b0705110311v396ca514i848e558c4b580796@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/23/-58 20:59, Rajkumar S wrote:
> pf can do outbound load balancing using route-to and provide  the ext
> interface and gateway ip like { ($ext_if1 $ext_gw1), ($ext_if2
> $ext_gw2) } round-robin. But the algorithm is only round-robin which
> may not be appropriate if the two links are asymmetric, say an  1MB
> line and 256kbps line.
> 
> Is there any way to provide some ratio like 1:4 where out of 5
> packets/bytes 4 will be via one link and one via other link?
> 
> I have gone through the docs and this feature does not seem to exist
> any where, so if some one can give a starting place to look, where I
> can do some hacking, that would also be fine.

raj,

I've never done that but what about giving the next hop with better
bandwidth twice?

HTH

Volker



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46445F8E.9030907>