2 adsl connections load balancing with natd/ipfw

David J. Hughes bambi at Hughes.com.au
Tue May 25 18:37:14 PDT 2004


Hey,

Lets say client B owns the 10.1.1.0/24 prefix then you basically
need the router to know that there are 2 equal cost paths to
10.1.1.0/24 : one via X.X.X.2 and one via X.X.X.3.  I've never
used FreeBSD as a router (cisco routers, freebsd servers) so
I can't comment on how it handles forwarding decisions.  But,
seeing as you own both ends, you may be able to do something
as simple as using a pair of static routes on the router to do
this without having to worry about a routing protocol at all. 

Anyone got comments on FreeBSD using multiple static routes 
with the same wight to the same destination?


David
...

> -----Original Message-----
> From: owner-freebsd-isp at freebsd.org 
> [mailto:owner-freebsd-isp at freebsd.org] On Behalf Of Mitch (bitblock)
> Sent: Wednesday, 26 May 2004 11:00 AM
> To: David J. Hughes; 'Joe Hamelin'; freebsd-isp at freebsd.org
> Subject: RE: 2 adsl connections load balancing with natd/ipfw
> 
> Hey David - didn't see your reply before I replied to Joe 
> there - any more
> info appreciated - I have both ends of the solution (I think) 
> - just need to
> know the best way to config!
> 
> Consider these ip's and interfaces... what do I do? Is ISPF 
> lighter weight
> than BGP (considering the limited deployment?)
> 
> Client A <-----\
>     X.X.X.2     \
>                  ----------> Router <------------->
>                  / / X.X.X.1         X.X.Y.2
>       X.X.X.3   / /
> Client B <-----/ /
>          <------/
>       X.X.X.4
> 
> Router is FreeBSD based, and Client A and Client B are also 
> FreeBSD based,
> and have a second interface to the internal networks at 
> Client A and Client
> B.
> 
> I'm wondering if my other problem (the fact that Client A 
> can't see Client B
> as there is an ATM path for it to Router, but as Client B's 
> addresses are on
> the same subnet, and not bounced off the Router (and there is 
> no direct ATM
> path) there is no connection...
> 
> Any help or advice greatly appreciated.
> 
> Thanks.
> 
> m/
> 
> > -----Original Message-----
> > From: owner-freebsd-isp at freebsd.org
> > [mailto:owner-freebsd-isp at freebsd.org]On Behalf Of David J. Hughes
> > Sent: Tuesday, May 25, 2004 4:08 PM
> > To: 'Joe Hamelin'; freebsd-isp at freebsd.org
> > Subject: RE: 2 adsl connections load balancing with natd/ipfw
> >
> >
> >
> > Actually, that isn't quite correct.  You do not need a virtual IP
> > address (such as an HSRP or VRRP setup).  You just need equal cost
> > paths from the ISP to you.
> >
> > To achieve this you will need to route an address range from your
> > ISP to your network.  It can be your address space, a small piece
> > of ISP provided space, or even a chunk of private space.  Just as
> > long as it's routed from the ISP to you via the DSL tails.  The
> > ISP just needs to see equal cost paths to your prefix via BOTH
> > your DSL tails.  That way they will use both.
> >
> > There are several ways to do this (inc running eBGP or OSPF to them
> > from your equipment).  Have a chat with your ISP to see what options
> > they would consider.
> >
> >
> > David
> 
> _______________________________________________
> freebsd-isp at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe at freebsd.org"
> 
> 




More information about the freebsd-isp mailing list