Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2011 08:57:51 -0500
From:      Gary Gatten <Ggatten@waddell.com>
To:        "'martin@x.it.okstate.edu'" <martin@x.it.okstate.edu>, "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Re: Two Networks on one System
Message-ID:  <22282_1308578272_4DFF51E0_22282_7149_1_D9B37353831173459FDAA836D3B43499BF89C56E@WADPMBXV0.waddell.com>
In-Reply-To: <201106201337.p5KDbaot089006@x.it.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <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"





<font size=3D"1">
<div style=3D'border:none;border-bottom:double windowtext 2.25pt;padding:0i=
n 0in 1.0pt 0in'>
</div>
"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."
</font>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22282_1308578272_4DFF51E0_22282_7149_1_D9B37353831173459FDAA836D3B43499BF89C56E>