From owner-freebsd-questions Mon Jan 20 2:48:21 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99D4337B401 for ; Mon, 20 Jan 2003 02:48:19 -0800 (PST) Received: from mta06bw.bigpond.com (mta06bw.bigpond.com [139.134.6.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4C3343F3F for ; Mon, 20 Jan 2003 02:48:17 -0800 (PST) (envelope-from michaeljritchie@bigpond.com) Received: from michaelslaptop ([144.135.24.84]) by mta06bw.bigpond.com (Netscape Messaging Server 4.15 mta06bw Jul 16 2002 22:47:55) with SMTP id H90E0E00.CI4; Mon, 20 Jan 2003 20:48:14 +1000 Received: from ppp1146.sa.padsl.internode.on.net ([150.101.247.121]) by bwmam06.mailsvc.email.bigpond.com(MailRouter V3.0n 47/36548716); 20 Jan 2003 20:48:14 From: "Michael Ritchie" To: "'Rob O'Donnell'" , Subject: RE: round robin routing - how? Date: Mon, 20 Jan 2003 20:18:10 +0930 Message-ID: <000001c2c071$6c886230$3a00a8c0@michaelslaptop> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <5.1.1.6.0.20030120094114.027b2a60@aph2k> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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