Installing and Administering LAN/9000 Software
Chapter 3 55
Manually Installing and Configuring LAN/9000
Creating the /etc/hosts File
might be a fully qualified domain name including the
DNS domain. For example: turtle.bnio.nmt.edu
HP recommends that you try to keep these names as consistent as
possible, within their limitations. This will help to minimize confusion.
The examples below show how a system with the name, host3, might be
referenced in the /etc/hosts and other system and networking files and
commands:
System name in Install screen:
host3
/etc/rc.config.d/netconf file:
HOSTNAME=host3
/etc/hosts file:
192.6.1.1 host3 host3.site2.region4
uname -S host3
hostname host3
NOTE When you first install a system, the netconf HOSTNAME entry, the
/etc/hosts entry, the hostname, and uname -S are done for you
automatically.
/etc/hosts
Each node in the /etc/hosts file has a one line entry. Each entry in the
file must be in the following form:
Syntax
IP_address host_name
[
alias
]...
Parameters
IP_address
The IP address that uniquely identifies the node.
IP_address
must be in internet “dot” notation. Refer to
Chapter 6 , “Network Addressing,” for details on IP
addresses.
host_name
Name of the node. Host names can contain any