From owner-freebsd-questions@FreeBSD.ORG Mon Jun 20 13:57:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A3541065673 for ; Mon, 20 Jun 2011 13:57:53 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [67.130.252.61]) by mx1.freebsd.org (Postfix) with ESMTP id 17D298FC29 for ; Mon, 20 Jun 2011 13:57:52 +0000 (UTC) Received: from mailhost3.waddell.com (mailhost3.waddell.com [10.1.10.28]) by mailhost0.waddell.com (Postfix) with ESMTP id BDDEE50857; Mon, 20 Jun 2011 08:57:52 -0500 (CDT) Received: from mailhost3.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B6FB640DA0; Mon, 20 Jun 2011 08:57:52 -0500 (CDT) Received: from ADVPHTCAS0.wradvisors.com (advphtcas0.wradvisors.com [192.168.203.228]) by mailhost3.waddell.com (Postfix) with ESMTP id A9A6C40D9E; Mon, 20 Jun 2011 08:57:52 -0500 (CDT) Received: from WADPMBXV0.waddell.com ([169.254.1.163]) by ADVPHTCAS0.wradvisors.com ([192.168.203.228]) with mapi; Mon, 20 Jun 2011 08:57:51 -0500 From: Gary Gatten To: "'martin@x.it.okstate.edu'" , "'freebsd-questions@freebsd.org'" Date: Mon, 20 Jun 2011 08:57:51 -0500 Thread-Topic: Two Networks on one System Thread-Index: AcwvT1SJjcb0ytqiRsi2WMkhGgJ/9AAArYvj Message-ID: <22282_1308578272_4DFF51E0_22282_7149_1_D9B37353831173459FDAA836D3B43499BF89C56E@WADPMBXV0.waddell.com> In-Reply-To: <201106201337.p5KDbaot089006@x.it.okstate.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: Re: Two Networks on one System X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2011 13:57:53 -0000 Probably only a single active "default" global ip route, but you can add ne= twork/host routes to prefer a specific interface for said routes. ----- Original Message ----- From: Martin McCormick [mailto:martin@x.it.okstate.edu] Sent: Monday, June 20, 2011 08:37 AM To: freebsd-questions@freebsd.org Subject: Two Networks on one System Following up on a question I wrote Friday June 17, a person from this list kindly referred me to the FreeBSD Handbook and the sections on configuring Ethernet interfaces. It has an excellent example as to how to set the default gateway from the command line. I tried it and it worked. Can a second interface such as fxp1 also be informed about the router on its network while we still keep the default route for fxp0? I hope to remotely ping both fxp0 and fxp1's ip addresses from off site and get an answer from both. So far, fxp0 is visible off of its network and fxp1 is only present on its subnet. It appears that you can only have one default route per system and I need this system to appear on both networks for a day or so while we move from one subnet to another. I presently have FW rules for fxp1 that should totally open everything: 00090 allow ip from any to 192.168.1.250 via fxp1 00091 allow ip from 192.168.1.250 to any via fxp1 Obviously, I am still missing something. Thanks for any explanation as I think this sort of thing is fairly common. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."