From owner-freebsd-net@FreeBSD.ORG Mon Jan 19 11:34:40 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 022F716A4CE for ; Mon, 19 Jan 2004 11:34:40 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88D2D43D53 for ; Mon, 19 Jan 2004 11:34:27 -0800 (PST) (envelope-from max@love2party.net) Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AifAI-00018y-00 for freebsd-net@freebsd.org; Mon, 19 Jan 2004 20:34:26 +0100 Received: from [217.227.150.10] (helo=vampire.homelinux.org) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AifAI-0001CZ-00 for freebsd-net@freebsd.org; Mon, 19 Jan 2004 20:34:26 +0100 Received: (qmail 28694 invoked from network); 19 Jan 2004 19:38:45 -0000 Received: from unknown (HELO fbsd52.laiers.local) (192.168.4.88) by 192.168.4.1 with SMTP; 19 Jan 2004 19:38:45 -0000 From: Max Laier To: Dinesh Nair , Andrea Venturoli Date: Mon, 19 Jan 2004 20:34:22 +0100 User-Agent: KMail/1.5.4 References: <20040120014934.Q312-100000@prophet.alphaque.com> In-Reply-To: <20040120014934.Q312-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401192034.22796.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e28873fbe4dbe612ce62ab869898ff08 cc: freebsd-net@freebsd.org Subject: Re: Two ISP lines X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 19:34:40 -0000 On Monday 19 January 2004 18:50, Dinesh Nair wrote: > On Mon, 19 Jan 2004, Andrea Venturoli wrote: > > lines to the Internet: how would I use both? Could I just provide two > > default routes? How? What algorithm would be used to choose among the > > two? What if one failed? > > seems to be the topic of the week over at freebsd-questions. short end > of the stick is, freebsd as it is today does not do multipath routing, > so you cant add a default route to two gateways for round robin usage. > however, there was a multipath patch for 4-STABLE some months back, > though for the life of me, i don't know where it's archived anymore. > > check -questions archives for this thread. take a look at secuirty/pf (from ports) it can make use of more than one uplink. It provides round-robin and source-hash load balancing and you can define even finer policy routing with it. It works currently for 5.x only, for a 4.x version check KAME. -- Best regards, | max@love2party.net Max Laier | ICQ #67774661 http://pf4freebsd.love2party.net/ | mlaier@EFnet