[842] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

Re: multi-homed linux machine?

daemon@ATHENA.MIT.EDU (Derek Atkins)
Mon Dec 12 00:28:16 1994

To: yandros@MIT.EDU
Cc: linux-dev@MIT.EDU
In-Reply-To: Your message of "Sun, 11 Dec 1994 05:27:51 EST."
             <9412111027.AA11434@yaz-pistachio.MIT.EDU> 
Date: Mon, 12 Dec 1994 00:27:56 EST
From: Derek Atkins <warlord@MIT.EDU>

As an owner of a Linux box with multiple names/IP addresses....

Linux will deal with it, however you have a few interesting things to
deal with.  First, Linux can only have one hostname at a time.
Therefore when using software that depends on the hostname (read:
zephyr), you need to make sure that you are using the correct
hostname.

Linux will send a packet correctly from the interfaces.  If one
interface has address A and another interface has address B, it will
use the interface that has the routing and will use that IP address to
send from.

I don't think you can have 2 "default" routes.  And in looking at the
code, it would definitely choose one over the other (not sure which
one, offhand).

Basically, you would get whichever name it had been brought up with,
and it very much depends on how the machine is set up as to what you
will actually get.

-derek


home help back first fref pref prev next nref lref last post