From owner-freebsd-net@FreeBSD.ORG Tue Apr 27 23:28:32 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 2E69E16A4CE; Tue, 27 Apr 2004 23:28:32 -0700 (PDT) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65BF343D1F; Tue, 27 Apr 2004 23:28:31 -0700 (PDT) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i3S6SQQE015947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Apr 2004 10:28:27 +0400 (MSD) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i3S6SPQc015946; Wed, 28 Apr 2004 10:28:25 +0400 (MSD) Date: Wed, 28 Apr 2004 10:28:25 +0400 From: Gleb Smirnoff To: "Steven N. Fettig" Message-ID: <20040428062825.GD15740@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , "Steven N. Fettig" , freebsd-questions@freebsd.org, freebsd-net@freebsd.org References: <408F22DF.9090102@stevenfettig.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <408F22DF.9090102@stevenfettig.com> User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Load Balanced Dual T1's - Same default gateway for both CSU/DSU's? 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: Wed, 28 Apr 2004 06:28:32 -0000 On Tue, Apr 27, 2004 at 10:19:59PM -0500, Steven N. Fettig wrote: S> I know this is possible using a Cisco router with two or dual CSU/DSU's S> for data T1's, but I am struggling to figure out how to get this to work S> with FreeBSD: S> I have a Sangoma Dual T1 (CSU/DSU) card in a FreeBSD box I want to use S> as the router and firewall for. Global Crossing has provided me with S> two T1's that they are "load balancing" on their end (they will not S> employ multilink ppp) - traffic will be distributed "evenly" across both S> T1's - one is not a main vs. backup - they are both mains and if one S> goes down, both go down. I need to somehow tell the gateway/router to S> use two different pipes as the default gateway. I.e. the far side of S> the wan is 123.1.1.161 for T1-1 and 123.1.2.166 for T1-2. I can only S> add a default route for one and not set it to both. Is there a way to S> either use ipfw or simple routing to make this work? otherwise, I guess S> Cisco is it... Surely, the best way ever is multilink PPP. You can also try this hack: route delete default route add 0.0.0.0/1 123.1.1.161 route add 128.0.0.0/1 123.1.2.166 Does Sangoma has a netgraph driver? If it does you can try to use ng_one2many. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE