From owner-freebsd-questions@FreeBSD.ORG Thu Aug 14 14:32:17 2003 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 E078F37B404 for ; Thu, 14 Aug 2003 14:32:17 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C01143FBF for ; Thu, 14 Aug 2003 14:32:16 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[66.30.200.37](untrusted sender)) by comcast.net (sccrmhc13) with ESMTP id <20030814213215016009lj76e>; Thu, 14 Aug 2003 21:32:15 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h7ELUBMe048616; Thu, 14 Aug 2003 17:30:11 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h7ELUAl2048613; Thu, 14 Aug 2003 17:30:10 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Gregory Edigaroff References: From: Lowell Gilbert Date: 14 Aug 2003 17:30:10 -0400 In-Reply-To: Message-ID: <44isp06i71.fsf@be-well.ilk.org> Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: complicated routing q 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: Thu, 14 Aug 2003 21:32:18 -0000 Gregory Edigaroff writes: > Hello, > > I have something like this: > > ppp1 ------ > Router (FreeBSD) ----- Network > ppp2 ------ > > Where ppp1 and ppp2 are ppp links looking at the same provider. > > I would like to implement a load balancing and backup over ppp links. > I thought that in order to achieve this I need to add a second default > route i.e. something like: > > route add -net default $ppp1-ip > route add -net default $ppp2-ip > > this doesn't work. > What can I do? There's a netgraph variant that can do some outbound load balancing, but for most peoples' purposes, you want the incoming links to be load balanced, not so much the outbound ones, and for that you need cooperation of your provider.