Quickie... Hopefully!

Kris Kennaway kris at obsecurity.org
Fri Oct 1 15:33:38 PDT 2004


On Fri, Oct 01, 2004 at 03:25:07PM -0700, Richard Marriner wrote:
> Dear list,
> 
>    Just wondering if there is anyway (preferably simple.) to have two ip
> addresses on the same NIC that are different networks.  
> 
> A little background.  We are in the process of changing ISPs, we now have
> two circuits going to two differnet ISPs.  Because of this change we have to
> renumber our entire network.  Being an ISP ourselves we have a handful of
> servers that run FreeBSD.  While trying to get one of our test servers to
> talk to both networks from the internet we fail, I think because even though
> your request is on the new numbers FreeBSD still trys routing the response
> back through our old gateway.  Another question, I know in Windows XP you
> can set two gateways, two ips, etc.  Can you do this in FBSD?   Our windows
> boxes are talking fine on both networks.

Yes, there's nothing to it..use the 'ifconfig alias' command.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041001/bccf66a0/attachment.bin


More information about the freebsd-questions mailing list