Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2004 09:15:31 +1000
From:      "David J. Hughes" <bambi@Hughes.com.au>
To:        "'Rene de Vries'" <rene@canyon.xs4all.nl>, "'Mitch (bitblock)'" <mitch@bitblock.com>
Cc:        'Joe Hamelin' <joe@nethead.com>
Subject:   RE: 2 adsl connections load balancing with natd/ipfw
Message-ID:  <20040606231544.C9FAB43D39@mx1.FreeBSD.org>
In-Reply-To: <8EBC1C3A-B7E1-11D8-BD82-00039357FA7A@canyon.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

I was talking about load balancing inbound traffic not outbound.
Like I said there's a stack you can do on the local box that
I have no experience with.  In my world FreeBSD =3D=3D Server not
Router.


David
...=20

> -----Original Message-----
> From: Rene de Vries [mailto:rene@canyon.xs4all.nl]=20
> Sent: Monday, 7 June 2004 3:47 AM
> To: Mitch (bitblock)
> Cc: 'Joe Hamelin'; freebsd-isp@freebsd.org; David J. Hughes
> Subject: Re: 2 adsl connections load balancing with natd/ipfw
>=20
> Mitch,
>=20
> Why so complicated.
>=20
> Simply start two different natd instances one for each ADSL=20
> line. Make=20
> one of the ADSL lines the default route. Then based on the source=20
> address (just modified by natd) fast-route traffic which=20
> tries to leave=20
> via the default route over the wrong interface to the other=20
> interface's=20
> next hop (using ipfw).
>=20
> You could apply various methods of determining over which=20
> ADSL line the=20
> traffic will leave, e.g. source port, source address, dest address=20
> etc...
>=20
> This solution doesn't require provider assistance and would even work=20
> when you have two different providers.
>=20
> Ren=E9
>=20
> On May 26, 2004, at 2:59, Mitch (bitblock) wrote:
>=20
> > Hey David - didn't see your reply before I replied to Joe=20
> there - any=20
> > more
> > info appreciated - I have both ends of the solution (I=20
> think) - just=20
> > need to
> > know the best way to config!
> >
> > Consider these ip's and interfaces... what do I do? Is ISPF lighter=20
> > 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=20
> > based,
> > and have a second interface to the internal networks at=20
> Client A and=20
> > Client
> > B.
> >
> > I'm wondering if my other problem (the fact that Client A can't see=20
> > Client B
> > as there is an ATM path for it to Router, but as Client B's=20
> addresses=20
> > are on
> > the same subnet, and not bounced off the Router (and there is no=20
> > direct ATM
> > path) there is no connection...
> >
> > Any help or advice greatly appreciated.
> >
> > Thanks.
> >
> > m/
> >
> >> -----Original Message-----
> >> From: owner-freebsd-isp@freebsd.org
> >> [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of David J. Hughes
> >> Sent: Tuesday, May 25, 2004 4:08 PM
> >> To: 'Joe Hamelin'; freebsd-isp@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=20
> what options
> >> they would consider.
> >>
> >>
> >> David
> >
> > _______________________________________________
> > freebsd-isp@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> > To unsubscribe, send any mail to=20
> "freebsd-isp-unsubscribe@freebsd.org"
> >
> --=20
> Ren=E9 de Vries <rene@tunix.nl>
> Tunix Internet Security & Training
>=20
>=20
>=20




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