Multihomed Hosts - /etc/hosts - NIS+ Maps Question

Multihomed Hosts - /etc/hosts - NIS+ Maps Question

Post by Sean O'Neil » Sat, 25 Nov 1995 04:00:00



Hey folks,

I have a question concerning multihomed hosts.  A client of mine
recently asked what was the "standard" method of implementing multihomed
hosts in the /etc/hosts and NIS+ maps.  Which of the below methods is
the prefered way of doing it:

1.2.3.4  host5 host5fd0
5.6.7.8  host5 host5le0
9.10.11.12 host5 host5le1

-- or --

1.2.3.4  host5fd0 host5
5.6.7.8  host5le0 host5
9.10.11.12 host5le1 host5

The reason I ask is that many of you may have noticed a bug in
nisaddentry if you tried to do the above.  Sun has fixed this problem.  
My client is trying to determine the best way to do this.  They have
questions (and so do I) on how applications like 'netstat' will respond
to a request for hostname 'host5'.  It should get back a multiple line
response.  Is this correct?  (That's not my question ... sorry).

What of the two methods above is the accepted "standard" to define a
multihomed host in /etc/hosts or NIS+ maps?  And please give reasons and
examples of application response to your answer.

Thanks in advance!!!

Sean O'Neill
Rapid Systems Solutions, Inc.

 
 
 

1. /etc/hosts (or NIS host map): official-host-name vs nicknames

I am setting up a couple of NIS domains on the same physical LAN.  Will not
be using DNS or
connecting to the internet.  Can someone explain to me:

1) What the official-host-name is? Is it hostname or hostname | domainname?
What are the pros
and cons of using just the hostname for the official-host-name?  What are
the pros and cons
of using hostname | domainname as the official-host-name?

2)  How is the official-host-name entry treated differently then the aliases
entries?
Do certain applications or os components use the official-host-name entry
while others
use the aliases entries?

Thanks.

2. Which PCI SCSI card for CD-R?

3. multi-homed hosts in /etc/hosts, NIS and DNS

4. ANNOUNCEMENT: Encrypted Telnet

5. /etc/hosts.deny & /etc/hosts.allow ??

6. fdisks vs df blocks

7. /etc/hosts.deny and /etc/hosts.allow

8. how to install two(2) ethernet cards?

9. hosts in multihomed hosts

10. Sendmail 8.6.12: using /etc/hosts to send to domainless hosts

11. Which order for bind,host in /etc/hosts.conf?

12. 'host' command not using /etc/hosts?

13. Is there any point to full host names in /etc/hosts ?