Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2004 14:31:12 -0800
From:      Darcy Buskermolen <darcy@wavefire.com>
To:        freebsd-ipfw@freebsd.org, csmith@bonddesk.com
Subject:   Re: Per flow load balancing
Message-ID:  <200412171431.12983.darcy@wavefire.com>
In-Reply-To: <1103315143.35576.127.camel@localhost>
References:  <1103315143.35576.127.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"

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



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