Two Networks on one System
Ggatten at waddell.com
Mon Jun 20 13:57:53 UTC 2011
Probably only a single active "default" global ip route, but you can add network/host routes to prefer a specific interface for said routes.
----- Original Message -----
From: Martin McCormick [mailto:martin at x.it.okstate.edu]
Sent: Monday, June 20, 2011 08:37 AM
To: freebsd-questions at freebsd.org <freebsd-questions at 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
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 at freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
"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."
More information about the freebsd-questions