[CentOS] Multiple IP Address

Fri Sep 14 20:56:12 UTC 2007
Ross S. W. Walker <rwalker at medallion.com>

Brett Serkez wrote:
> 
> > pretty sure thats configurable in SMB.CONF
> >
> > [global]
> >     interfaces =  [ (ip address or network interface or ip/mask or
> > broadcast/mask) ...]
> 
> Researched this before I emailed originally, this doesn't do it.
> Even if I specify only the subnet I want in all these places, the
> behavior is unaffected.
> 
> The reason I posted to CentOS and not SAMBA is that from what I can
> tell, the decision as to what address to return seemed to have more to
> do with the OS.
> 
> Does anyone on this know how the OS determines which IP address to
> choose when asked for its address when it has multiple choices.  From
> the best I can tell so far, it seems to be the last adapter to start,
> the last one listed in ifconfig.

I have only assumed it is the address that matches it's host name, which
is why I always configure that in the /etc/hosts file.

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.