From owner-freebsd-isp@FreeBSD.ORG Wed May 26 08:10:13 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C91B916A4CE for ; Wed, 26 May 2004 08:10:13 -0700 (PDT) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55D3243D31 for ; Wed, 26 May 2004 08:10:13 -0700 (PDT) (envelope-from freebsd@yazzy.org) Received: from localhost (yazzy [192.168.98.11]) by mail.yazzy.org (Postfix) with SMTP id 2C0933980D for ; Wed, 26 May 2004 17:09:21 +0200 (CEST) Date: Wed, 26 May 2004 17:09:20 +0200 From: Martin Jessa To: freebsd-isp@freebsd.org Message-Id: <20040526170920.0e5aaba9.freebsd@yazzy.org> In-Reply-To: References: Organization: WRS ASA X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: 2 adsl connections load balancing with natd/ipfw X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 15:10:13 -0000 Even though I love BSD, I'd rather get a cheap box like: http://www.infosmart.com.tw/p-ndr3024.htm and get it done in a metter of minutes. It's cheaper than a PC and time you use on similar BSD solution... On Wed, 26 May 2004 09:58:37 -0400 Don Bowman wrote: > From: Eric Anderson [mailto:anderson@centtech.com] > > Emre Bastuz wrote: > > [..snip..] > > > > >So far I did not find any tutorial or howto or whatever to > > achieve my goal with > > >FreeBSD. I assume right now there is no satisfying way to > > use your two lines > > >with BSD except with dedicated hardware. > > > > > > > > > > Isn't it possible to use ipnat on a FreeBSD box, and use the load > > distribution/reverse nat stuff in it to spread the requests > > out between > > the two connections? It's not perfect, but it's something. > > > > Basically, I think you'd set up a FreeBSD box as 'the router', so > > clients would point to it's interface for their gateway (or > > however you > > want to set it up), then the FreeBSD box would distribute requests > > between the two 'real' router IP's. I'm not certain this > > will work, but > > just a thought.. > > > > Run two natd. Use ipfw 'probability' to pick one, and make the > rule keep state so that the session sticks to the natd it has > chosen. The only problem i have found is that each tcp session > may then pick a different natd, couldn't figure out how to > stick it to the source ip. It does work tho. No bgp, isp intervention, > etc, reqired. The freebsd box running the natd will only use > one of the two connections for its default route, but the hosts > behind it using it as a gateway will use both. > > --don > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"