[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-isp
Subject:    Re: route cloning
From:       Victor Ivanov <v0rbiz () icon ! bg>
Date:       2000-12-28 8:53:31
[Download RAW message or body]

On Thu, Dec 28, 2000 at 03:54:00AM +1100, Rowan Crowe wrote:
[cut]
> > 1.2.3.4 is the gateway at tun0; 1.2.3.5 is the gateway at tun1 and the
> > network after tun0/1 is 1.2.3.0/24
> > 
> > ipfw add 500 prob 0.5 fwd 1.2.3.4 ip from any to 1.2.3.0/24
> > ipfw add 501 fwd 1.2.3.5 ip from any to 1.2.3.0/24
> > 
> > Will it work? :) fwd for non-local addresses work only with packets leaving
> > the system (ip_output?) so it is not that hard to convert this for default
> > route 'balancing'.
> 
> That might work, but then you have packets for the same host alternating
> rapidly between different gateways, which can cause problems at the other
> end - especially if it's going out through 2 different upstreams. UDP
> packets received out of sequence, TCP stream reassembly problems, etc.
> With route cloning packets for a given host will always exit via the same
> link each time.
> 
> Your idea could be good for an internal multiple pppd or multiple ethernet
> setup though...

Maybe the keep-state option could help a bit for balancing the default route.
For a line-balancing with two or more serial links it would work nice (IMO).

-- 
Players win and Winners play
Have a lucky day

[Attachment #3 (application/pgp-signature)]
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic