From owner-freebsd-questions@FreeBSD.ORG Sat Jan 17 21:20:31 2004 Return-Path: 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 8495016A4CE for ; Sat, 17 Jan 2004 21:20:31 -0800 (PST) Received: from ns2.alphaque.com (ns2.alphaque.com [202.75.47.153]) by mx1.FreeBSD.org (Postfix) with SMTP id 56EBB43D46 for ; Sat, 17 Jan 2004 21:20:21 -0800 (PST) (envelope-from dinesh@alphaque.com) Received: (qmail 36500 invoked by uid 0); 18 Jan 2004 05:20:19 -0000 Received: from lucifer.net-gw.com (HELO prophet.alphaque.com) (202.75.47.153) by lucifer.net-gw.com with SMTP; 18 Jan 2004 05:20:19 -0000 Received: from localhost (localhost.alphaque.com [127.0.0.1]) by prophet.alphaque.com (8.12.10/8.12.9) with ESMTP id i0I5AGlv002829; Sun, 18 Jan 2004 13:10:16 +0800 (MYT) (envelope-from dinesh@alphaque.com) Date: Sun, 18 Jan 2004 13:10:16 +0800 (MYT) From: Dinesh Nair To: Antoine Jacoutot In-Reply-To: <200401141821.19158.ajacoutot@lphp.org> Message-ID: <20040118130036.S98208-100000@prophet.alphaque.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Simon Gray cc: Ruben de Groot cc: FreeBSD-Questions Subject: Re: Loading balancing with more than one ISP. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 05:20:31 -0000 On Wed, 14 Jan 2004, Antoine Jacoutot wrote: > I have one ethernet <--> router and one ethernet <--> dsl modem > connections to connect to my ISPs. As you said, you're not sure about > routed... Actually, I did not find anyone who actually make this i've got exactly the same setup as you do, and am trying to do this as well. short end of the stick is, the only way to do proper best path routing is by using BGP and having your ISPs (both of them) play ball and advertise BGP routes to you. without this, you'd never be able to do it yourself. as previously stated, FreeBSD does not support multipath routing by default, though there is a patch which adds this functionality into the kernel. i have not tried this patch at all, so i won't comment on it. what i do today is i set the default route to the ISP i am more convinced off, with static routes of certain large CIDR address blocks going out to the other ISP. i decided on those large blocks after checking the global route tables, AS PATH diagrams and experience of link quality. you can do this by using tools such as the Looking Glass servers, RouteViews.Org and even Netlantis.org for your situation. i'm not running routed, zebra/bgpd/ospfd on this at all, since it's all static routes and i can't find an ISP ospf/bgp router willing to exchange routes with me. i've tried exploring round robin routing using ipfw's fwd rulesets, but this does not change the src address of the packet, and sending a packet with the wrong src address down the wire can be detrimental to the packet's wellbeing. :) i'd be very interested though if someone else had succeeded in doing this. Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+