Configuring the network host files – Sun Microsystems Ethernet PCI-X Adapter User Manual
Page 31
Chapter 2
Installing the Adapter
15
Configuring the Network Host Files
After installing the driver software, you must create a
hostname.ixge
number file
where number = the instance number of the
ixge
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.
Caution –
Ensure that the optical transceiver is correctly seated before configuring
the interface.
1. At the command line, use the
grep
command to search the
/etc/path_to_inst
file for
ixge
interfaces.
In the example above, the device instance is from a Sun 10-Gigabit Ethernet PCI-X
adapter. For clarity, the instance number is in bold italics.
2. Use the
ifconfig
command to set up the adapter’s
ixge
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:
Caution –
If the optical transceiver is unplugged after the interface has been
configured using the
ifconfig
command, you must unconfigure and reconfigure
the interface.
On Solaris operating systems, use the following commands to unconfigure and
reconfigure the interface:
# grep ixge /etc/path_to_inst
"/pci@9,600000/ethernet@1" 0 "ixge"
# ifconfig ixge0 plumb
ip-address
up
# ifconfig ixge0 down
# ifconfig ixge0 unplumb
# ifconfig ixge0 plumb
ip-address
up