26
Sun Dual Gigabit Ethernet and Dual SCSI/P Adapter Installation and User’s Guide • January 2004
Configuring the Network Host Files
After installing the driver software, you must create a
hostname.ce
# file (Where
# = the instance number of the
ce
interface.) for the adapter’s Ethernet interface. You
must also create both an IP address and a host name for its Ethernet interface in the
/etc/hosts
file.
1. At the command line, use the
grep
command to search the
/etc/path_to_inst
file for
ce
interfaces.
In the example above, the device instance is from a Sun Dual Gigabit Ethernet and
Dual SCSI/P adapter. For clarity, the instance number is in bold italics.
2. Use the
ifconfig
command to setup the adapter’s
ce
interface.
Use the
ifconfig
command to assign an IP address to the network interface. Type
the following at the command line, replacing ip_address with the adapter’s IP
address:
Refer to the
ifconfig
(1M) man page and the Solaris documentation for more
information.
■
If you want a set-up that will remain the same after you reboot, create an
/etc/hostname.ce
number file, where number corresponds to the instance
number of the
ce
interface you plan to use.
To use the adapter’s
ce
interface in the Step 1 example, create an
/etc/hostname.ce0
file, where
0
is the number of the
ce
interface. If the
instance number were 1, the filename would be
/etc/hostname.ce1
.
■
Do not create an
/etc/hostname.ce
# file for a Sun Dual Gigabit Ethernet and
Dual SCSI/P adapter interface you plan to leave unused.
■
The
/etc/hostname.ce
# file must contain the hostname for the appropriate
ce
interface.
■
The host name should have an IP address and should be listed in the
/etc/hosts
file.
# grep ce /etc/path_to_inst
"/pci@1e,600000/pci@4/network@0" 0 "ce"
"/pci@1e,600000/pci@4/network@1" 1 "ce"
# ifconfig ce0 plumb
ip_address
up
Содержание x4422a
Страница 6: ...vi Sun Dual Gigabit Ethernet and Dual SCSI P Adapter Installation and User s Guide January 2004 ...
Страница 12: ...xii Sun Dual Gigabit Ethernet and Dual SCSI P Adapter Installation and User s Guide January 2004 ...
Страница 14: ...xiv Sun Dual Gigabit Ethernet and Dual SCSI P Adapter Installation and User s Guide January 2004 ...
Страница 46: ...28 Sun Dual Gigabit Ethernet and Dual SCSI P Adapter Installation and User s Guide January 2004 ...
Страница 74: ...56 Sun Dual Gigabit Ethernet and Dual SCSI P Adapter Installation and User s Guide January 2004 ...
Страница 84: ...66 Sun Dual Gigabit Ethernet and Dual SCSI P Adapter Installation and User s Guide January 2004 ...
Страница 88: ...70 Sun Dual Gigabit Ethernet and Dual SCSI P Adapter Installation and User s Guide January 2004 ...