From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 09:45:26 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 21FA116A4CE for ; Mon, 19 Jul 2004 09:45:26 +0000 (GMT) Received: from iceberg.web-walrus.com (iceberg.web-walrus.com [169.207.176.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AABC243D41 for ; Mon, 19 Jul 2004 09:45:25 +0000 (GMT) (envelope-from custpriv@web-walrus.com) Received: from iceberg.web-walrus.com (localhost [127.0.0.1]) i6J9C4DH019661 for ; Mon, 19 Jul 2004 04:12:04 -0500 (CDT) (envelope-from custpriv@web-walrus.com) Received: from localhost (custpriv@localhost)i6J9C3ID019658 for ; Mon, 19 Jul 2004 04:12:04 -0500 (CDT) X-Authentication-Warning: iceberg.web-walrus.com: custpriv owned process doing -bs Date: Mon, 19 Jul 2004 04:12:03 -0500 (CDT) From: "Web Walrus (Robert Wall)" To: freebsd-questions@freebsd.org Message-ID: <20040719040431.V19557@iceberg.web-walrus.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Routing issue 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: Mon, 19 Jul 2004 09:45:26 -0000 I just installed a secondary internet connection at my office, and I'm having a bizarre issue... I have a network card - dc0 That network card has a config roughly like ifconfig_dc0 inet 1.2.3.4 netmask 255.255.255.248 ifconfig_dc0_alias0 inet 2.3.4.5 netmask 255.255.255.248 defaultrouter="1.2.3.1" When I have the network set up in this manner (packets coming in via two external lines plugged into the same switch), I can only access the network that is on the same network as the default router. In the example above, I can access the server by 1.2.3.4, but not by 2.3.4.5. If I change the defaultrouter to 2.3.4.1, I can access the server by 2.3.4.5 but not 1.2.3.4. The ultimate goal of this, obviously, is to enable both interfaces to work from the outside world. Traffic needs to be able to come in either/or, and leave by the external device of my choosing. Is there something I should be checking, or something that I'm overlooking? Any help you could give would be *greatly* appreciated. Thanks!