Configuring host files – Sun Microsystems Sun FastEthernet PCI Adapter 805-1759-10 User Manual
Page 23
Chapter 3
Using the Sun FastEthernet PCI Adapter
11
Configuring Host Files
After installing the Sun FastEthernet PCI Adapter, you must create a
hostname.hme
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
Adapter channels you do not plan to use. The
/etc/hostname.hme
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
a machine called
zardoz
that will be known as
zardoz
and
zardoz-1
on the
networks connected to the
hme0
and
hme1
Ethernet interfaces.
zardoz # cat /etc/hostname.hme0
zardoz
zardoz # cat /etc/hostname.hme1
zardoz-1