Sun Microsystems enterprise server 220r User Manual

Page of 208
Chapter 3
Administration and Network Setup
51
6. Create an entry in the
/etc/hosts
file for each active Ethernet interface.
An entry consists of the IP address and the host name for each interface.
The following example shows the entries in the
/etc/hosts
file for the interfaces
identified in the
/etc/hostname
file created in Step 4 and Step 5.
7. Reboot the system; type:
This command rebuilds the device trees so that the system will recognize the newly
installed PCI Ethernet adapter card.
What Next
After completing this procedure, the Ethernet interface is ready for operation.
However, in order for other network devices to communicate with the system
through this interface, the interface information (its IP address and host name) must
be entered into the namespace on the network name server. For information about
setting up a network name service, consult the Solaris System Administrator
AnswerBook 
for your specific Solaris release.
zardoz # cat /etc/hosts
...
127.0.0.1     localhost
129.144.10.57 zardoz    loghost
129.144.11.83 zardoz-1
zardoz # reboot -- -r