From owner-freebsd-questions Mon Jan 20 6:19:29 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 EAFCC37B401 for ; Mon, 20 Jan 2003 06:19:27 -0800 (PST) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF39C43E4A for ; Mon, 20 Jan 2003 06:19:26 -0800 (PST) (envelope-from tillman@seekingfire.com) Received: from blues.seekingfire.prv (blues.seekingfire.prv [192.168.23.211]) by mail.seekingfire.com (Postfix) with ESMTP id F1371A5 for ; Mon, 20 Jan 2003 08:19:20 -0600 (CST) Received: (from tillman@localhost) by blues.seekingfire.prv (8.11.6/8.11.6) id h0KEM7804339 for freebsd-questions@FreeBSD.ORG; Mon, 20 Jan 2003 08:22:07 -0600 Date: Mon, 20 Jan 2003 08:22:07 -0600 From: Tillman To: freebsd-questions@FreeBSD.ORG Subject: Re: round robin routing - how? Message-ID: <20030120082207.C2174@seekingfire.com> References: <5.1.1.6.0.20030120094114.027b2a60@aph2k> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <5.1.1.6.0.20030120094114.027b2a60@aph2k>; from robert@aphnet.co.uk on Mon, Jan 20, 2003 at 09:53:18AM +0000 X-Urban-Legend: There is lots of hidden information in headers 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 On Mon, Jan 20, 2003 at 09:53:18AM +0000, Rob O'Donnell wrote: > 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. Wit ha bunch of caveats (you're using NAT, both lines terminate in the FreeBSD server, you only care about outgoing traffic, the IP's you have on both lines are in a nice contigious mini subnet, etc) you could probably do somethign like this using IPF's ipnat: map rl1 internal.ip.net.work/24 -> external.sub.net.block/30 portmap tcp/udp auto (See http://www.obfuscation.org/ipf/ipf-howto.html#TOC_31 for more details). - Tillman -- "You should never be in the company of anyone with whom you would not want to die." -- Fremen saying To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message