From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 09:46:59 2005 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 47E2516A4CE for ; Wed, 2 Feb 2005 09:46:59 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id F335D43D2D for ; Wed, 2 Feb 2005 09:46:58 +0000 (GMT) (envelope-from tbonius@comcast.net) Received: from ostros (c-24-18-102-54.client.comcast.net[24.18.102.54]) by comcast.net (rwcrmhc13) with SMTP id <20050202094658015009i2k7e>; Wed, 2 Feb 2005 09:46:58 +0000 Message-ID: <002301c5090c$4bc90550$c900a8c0@ostros> From: "Thomas Foster" To: "Gustafson, Tim" References: Date: Wed, 2 Feb 2005 01:48:05 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 cc: questions@freebsd.org Subject: Re: Routing Problem 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, 02 Feb 2005 09:46:59 -0000 Im confused.. if you have two T1s, then are using /30s dor the ranges? If so.. what about not giving a default gateway for either one and just add routes... Are you attempting utilize this as just a router.? Theres a section that covers setting up routing on interfaces in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html Hope this helps T ----- Original Message ----- From: "Gustafson, Tim" To: Sent: Tuesday, February 01, 2005 5:35 PM Subject: Routing Problem >I am having a problem setting up a multi-homed host. I have two > separate T1 internet connections, and one physical NIC in my FreeBSD > box. The two networks are as follows: > > Connection 1: > LAN Address: 1.2.3.24/25 > Router Address: 1.2.3.1 > > Connection 2: > LAN Address: 4.5.6.106/29 > Router Address: 4.5.6.105 > > I would like to set up my FreeBSD box so that I can connect to either > LAN address from the outside world. The problem is that I cannot > specify two default gateways. Right now, I have 1.2.3.1 set up as a > default gateway, and I can get to the 1.2.3.24 IP from the outside > world. However, I can't get to 4.5.6.106. I can't even ping it. From > the FreeBSD box, I can ping 4.5.6.105, and from the outside world I can > ping 4.5.6.105, but I can't ping 4.5.6.106 from the outside world. > > Is there any way to make this work? How can I make FreeBSD have two > default gateways? I read somewhere about being able to set up source > routing, but I haven't been able to find any HOWTO's about that. > > Any help is greatly appreciated. >