mailing to le1 on sun workstation

Neil Rickert rickert at mp.cs.niu.edu
Tue Mar 5 13:37:52 AEST 1991


In article <3414 at unisoft.UUCP> greywolf at unisoft.UUCP (The Grey Wolf) writes:
><1991Feb28.194930.22580 at mp.cs.niu.edu> by rickert at mp.cs.niu.edu (Neil Rickert)
># 
>#  That's what you get when you use two different names for the same system.
># (This is generally a bad practice).
>
>That's what you have to do when you have a machine with two (or more)
>ethernet boards in it.
>
 Just a minute.  The whole naming system is based on one system name with
possibly multiple addresses.  You can have multiple A-records in the DNS
data base.  You can have multiple lines giving different addresses to
the same name in /etc/hosts.  You can even enter the /etc/hosts entries
as

address1	official_name	alias1
address2	official_name	alias2

so that when starting up the system you can use the different aliases to
specify the particular interfaces, but still keep the same name for each.
For that matter you can use the internet address in the 'ifconfig' command
to distinguish, with the advantage that if you have an /etc/resolv.conf
there is no longer the extended delay while 'ifconfig' times out on all
nameserver entries before reverting to read the /etc/hosts file.

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert at cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940



More information about the Comp.unix.wizards mailing list