From owner-freebsd-questions@FreeBSD.ORG Wed Jan 14 08:30:48 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 3AF9816A4CE for ; Wed, 14 Jan 2004 08:30:48 -0800 (PST) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D04843D69 for ; Wed, 14 Jan 2004 08:30:46 -0800 (PST) (envelope-from tillman@seekingfire.com) Received: by mail.seekingfire.com (Postfix, from userid 500) id 9CA68266; Wed, 14 Jan 2004 10:30:43 -0600 (CST) Date: Wed, 14 Jan 2004 10:30:43 -0600 From: Tillman Hodgson To: FreeBSD-Questions Message-ID: <20040114163043.GL415@seekingfire.com> References: <20040114134255.GA59317@kumprang.or.id> <200401141506.07322.ajacoutot@lphp.org> <009201c3daad$31d89220$1100a8c0@dtg17> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <009201c3daad$31d89220$1100a8c0@dtg17> X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-GPG-Key-ID: 828AFC7B X-GPG-Fingerprint: 5584 14BA C9EB 1524 0E68 F543 0F0A 7FBC 828A FC7B X-GPG-Key: http://www.seekingfire.com/gpg_key.asc X-Urban-Legend: There is lots of hidden information in headers User-Agent: Mutt/1.5.5.1i 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: Wed, 14 Jan 2004 16:30:48 -0000 On Wed, Jan 14, 2004 at 02:46:28PM -0000, Simon Gray wrote: > > I've been looking for answers on this for a while but I found nothing nor > > no-one who could tell me if and how it is possible. > > Let the list know if you find anything interesting. > > Easiest way I would of thought would be to use BGP or OSPF under Zebra > (/usr/ports/net/zebra)(www.zebra.org) I'm a heavy Zebra (migrating to Quagga) user. Using dynamic routing is very handy, but it won't solve the problem of balancing load across two connections. Zebra (or any dynamic routing daemon) only makes routing *decisions* and then places the results of those decisions into the regular kernel routing table. It doesn't actually route the packets, the regular kernel routing mechanism still does that. FreeBSD doesn't allow routes to identical destinations with different gateways. For a previous (and recent) thread on this, see http://lists.freebsd.org/pipermail/freebsd-i386/2003-October/000340.html. So you can't round-robin between two default gateways. You /can/, however, send traffic for different destinations out of different links. For example, I send my nightly CVSup traffic and other automated downloads out of a regular ADSL link in order to prevent swamping my main link. If your upstream providers support dynamic routing protocols, then you can get that destination information automatically. But that's not the same as load balancing, it's best-path selection. -T -- Money is truthful. If a man speaks of his honor, make him pay cash. - Robert Heinlein