After installing the Sun Quad FastEthernet driver software, you must create a hostname.qfe<num> file for the adapter's Ethernet interfaces. You must also create both an IP address and a host name for its Ethernet interfaces in the /etc/hosts file.
To prepare your system for the Sun Quad FastEthernet SBus adapter:
At the command line, use the grep command to search the /etc/path_to_inst file for qfe devices.
# grep qfe /etc/path_to_inst "/sbus@1f,0/SUNW,qfe@1,8c10000" 2 "qfe" "/sbus@1f,0/SUNW,qfe@1,8c00000" 1 "qfe" "/sbus@1f,0/SUNW,qfe@1,8c30000" 4 "qfe" "/sbus@1f,0/SUNW,qfe@1,8c20000" 3 "qfe"
In the example above, the four SUNW,qfe@1 instances are from a Sun Quad FastEthernet SBus adapter installed in slot 1. For clarity, the instance numbers are bold.
Create an /etc/hostname.qfe<num> file, where <num> corresponds to the instance number of each interface you plan to use.
If you wanted to use all of the adapter's interfaces in Step 1's example, you would need to create four files:
Filename
|
Instance Number |
Adapter Ethernet Channel (See Figure 1-2) |
---|---|---|
/etc/hostname.qfe1 |
1 |
0 |
/etc/hostname.qfe2 |
2 |
1 |
/etc/hostname.qfe3 |
3 |
2 |
/etc/hostname.qfe4 |
4 |
3 |
Do not create /etc/hostname.qfe<num> files for Sun Quad FastEthernet SBus adapter channels you plan to leave unused.
The /etc/hostname.qfe<num> file must contain the hostname for the appropriate network interface.
The host name should have an IP address and should be entered in the /etc/hosts file.
The host name should be different from any other host name of any other interface, for example: /etc/hostname.le0 and /etc/hostname.qfe0 cannot share the same host name.
Using the instance examples in Step 1, the following example shows the six /etc/hostname.qfe<num> files required for a system called zardoz that has an onboard FastEthernet device (zardoz) and a Sun Quad FastEthernet SBus adapter (zardoz-11, zardoz-12, zardoz-13, and zardoz-14).
# cat /etc/hostname.hme0 zardoz # cat /etc/hostname.qfe1 zardoz-11 # cat /etc/hostname.qfe2 zardoz-12 # cat /etc/hostname.qfe3 zardoz-13 # cat /etc/hostname.qfe4 zardoz-14
Create an appropriate entry in the /etc/hosts file for each active qfe channel.
Using the example in Step 1, you will have:
# cat /etc/hosts ... 127.0.0.1 localhost 129.144.10.57 zardoz loghost 129.144.11.83 zardoz-11 129.144.12.41 zardoz-12 129.144.13.67 zardoz-13 129.144.14.30 zardoz-14
Reboot your system.
See the "Booting the System"" section for more information.