Configuring Host Files

After installing the Sun FastEthernet PCI Adapter, you must create a hostname.hme<num> file for its Ethernet interface. You must also assign an IP address and a hostname for its Ethernet interface in the /etc/hosts file.

Your system motherboard Ethernet interface (network) uses the hme driver as well, with an interface identified as hme0. (The number 0 following hme represents the first instance of the interface.)

You may see the interface(s) represented in the /etc/path_to_inst file.

To Prepare Your System for the Sun FastEthernet PCI Adapter

1.Create an /etc/hostname.hme1 file.

The number 1 following hme represents the second instance of the hme device. Use the hme2 extension for a second FastEthernet adapter, and so on.

Do not create /etc/hostname.hme<num> files for the Sun FastEthernet PCI Adapter channels you do not plan to use. The /etc/hostname.hme<num> file must contain the hostname for the appropriate network interface.

The hostname should have an IP address and should be entered in the

/etc/hosts file.

The hostname should be different from any other hostname of any other interface, for example: /etc/hostname.hme0 and /etc/hostname.hme1 cannot share the same hostname.

The following is an example of the /etc/hostname.hme<num> files required for a machine called zardoz that will be known as zardoz and zardoz-1on the networks connected to the hme0 and hme1 Ethernet interfaces.

zardoz # cat /etc/hostname.hme0

zardoz

zardoz # cat /etc/hostname.hme1

zardoz-1

Chapter 3 Using the Sun FastEthernet PCI Adapter 11

Page 23
Image 23
Sun Microsystems 805-1759-10 manual Configuring Host Files, To Prepare Your System for the Sun FastEthernet PCI Adapter