Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 20:18:10 +0930
From:      "Michael Ritchie" <michaeljritchie@bigpond.com>
To:        "'Rob O'Donnell'" <robert@aphnet.co.uk>, <freebsd-questions@freebsd.org>
Subject:   RE: round robin routing - how?
Message-ID:  <000001c2c071$6c886230$3a00a8c0@michaelslaptop>
In-Reply-To: <5.1.1.6.0.20030120094114.027b2a60@aph2k>

next in thread | previous in thread | raw e-mail | index | archive | help
I have something similar working with a Squid cache performing the load
balancing.  Just set it up to have two upstream caches, then set two static
routes - one that says traffic to upstream cache 'A' goes through the first
adsl link, and cache 'B' should pass through the other.  Seems to work ok
for http/ftp traffic (anything that Squid handles)... but any extra traffic
will all go through one nominated default route.

(But if anyone can point me in the direction Rob wants to go, I would really
appreciate that).


-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Rob O'Donnell
Sent: Monday, 20 January 2003 7:23 PM
To: freebsd-questions@freebsd.org
Subject: round robin routing - how?



Hi there!

I've had a good google for this, but not come up with anything
significant...

My LAN has two available route to the internet - a FreeBSD box with an ADSL
modem, (192.168.0.9) and a hardware ADSL router (192.168.0.10) .  Two
seperate ADSL lines, both the the same ISP as it happens (though am moving
one of them shortly.)

I can set up the clients individually with one or the other address as
default gateway, and each has full access to the 'net at the maximum
bandwidth of one line.

Is it possible under FreeBSD to set up some sort of round-robin router - I
have another hardware ADSL router available, and am not adverse to sticking
a couple more network cards in the FreeBSD box if necessary - what I was
envisaging was the FreeBSD machine is default gateway for all clients on
the lan, and it then routes out to the 'net via either hardware router - so
any clients that wants faster bandwidth can get it, as long as they use
multiple connections and don't expect any one of them to go over the 512K
of one ADSL line.

Basically, I want something that does the same job as the Nexland pro800
turbo:
http://www.nexland.com/turbo.cfm

I've seen references to ng_one2many, but the examples look like they tie
multiple adapters together such that they operate as one adapter with one
address on one LAN - would this work if i link two adapters directly and
independently to two routers and set them up identically?

I've also seen references that (at least some versions of) Linux can have
multiple default gateways and just use them in sequence.  I don't want to
have to swap over though...

Many thanks in advance,

Rob,





--
APH Computers Ltd.
Tel: 0161-442 2603
Fax: 0161-443 1162


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c2c071$6c886230$3a00a8c0>