Sun Microsystems 220R manual Reboot the system type, What Next, zardoz # cat /etc/hosts

Models: 220R

1 208
Download 208 pages 59.74 Kb
Page 79
Image 79
zardoz # cat /etc/hosts

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.

zardoz # cat /etc/hosts

...

127.0.0.1localhost

129.144.10.57

zardoz

loghost

129.144.11.83

zardoz-1

 

7.Reboot the system; type:

zardoz # reboot -- -r

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.

Chapter 3 Administration and Network Setup 51

Page 79
Image 79
Sun Microsystems 220R manual Reboot the system type, What Next, zardoz # cat /etc/hosts, zardoz # reboot -- -r