Richard Marriner said the following on 10/1/2004 6:25 PM:
First, I would test things out by adding an ifconfig alias (man ifconfig) and adding a new route to the new gateway IP (using the route command).Dear list,
Just wondering if there is anyway (preferably simple.) to have two ip
addresses on the same NIC that are different networks.
Then, once you're sure things are working, add an ifconfig alias in rc.conf. You probably want the *new* IP to be the non-alias address, and the *old* IP to be the alias. Make sure that defaultrouter is set in rc.conf to be the new gateway IP. You'll need to also add the route for the aliased IP to the route table using the route command. Then, test away--make sure traffic from both IP blocks makes it through! Traceroute is your friend! :)
(I'm not a total network geek, but IIRC, this is one way of doing what you're looking for. If there are better ways of doing this, I look forward to reading the replies and learning better ways! :) )
Best, Glenn
--
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." ~Benjamin Franklin, Historical Review of Pennsylvania, 1759
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"