Per flow load balancing

Darcy Buskermolen darcy at wavefire.com
Fri Dec 17 14:31:15 PST 2004


On December 17, 2004 12:25 pm, Corey Smith wrote:
> Is there a way to do per flow load balancing using ipfw?
>
> I'm currently using a rule like:
>
> prob 0.5 fwd <tun1gw> ip from any to any recv bge0 xmit tun0
>
> This effectively gives me per packet load balancing between the two
> tunnels.  Unfortunately it also leads to significant out-of-order TCP
> delivery (the two tunnels have varying latency).
>
> What I'm looking for is the ability to make each TCP socket stick to a
> random load balanced tunnel interface for its entire lifetime IE route
> multipath.

Yes you can do this through the use of keep-state/check-state

>
> -Corey Smith
> _______________________________________________
> freebsd-ipfw at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"

-- 
Darcy Buskermolen
Wavefire Technologies Corp.
ph: 250.717.0200
fx:  250.763.1759
http://www.wavefire.com


More information about the freebsd-ipfw mailing list