Sun Quad FastEthernet PCI Adapter Release Notes

Configuring the Host Files


Note -

"Configuring the Host Files" on page 11 of the Sun Quad FastEthernet PCI Adapter Installation and User's Guide contains inaccurate qfe interface numbers and hostname.qfe<num> file names. The corrected section is shown below.


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.

  1. 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
    "/pci@1f,2000/pci@2/SUNW,qfe@0,1" 0 "qfe"
    "/pci@1f,2000/pci@2/SUNW,qfe@1,1" 1 "qfe"
    "/pci@1f,2000/pci@2/SUNW,qfe@2,1" 2 "qfe"
    "/pci@1f,2000/pci@2/SUNW,qfe@3,1" 3 "qfe"

    In the example above, the four SUNW,qfe@x,1 instances are from a Sun Quad FastEthernet PCI Adapter installed in slot 2. For clarity, the instance numbers are bold.

  2. 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 interfaces in Step 1, you would need to create four files:

    Table 1-4 /etc/hostname.qfe<num> Files

    Filename 

    Instance Number 

    Adapter Ethernet Channel 

    /etc/hostname.qfe0

    /etc/hostname.qfe1

    /etc/hostname.qfe2

    /etc/hostname.qfe3

    Guidelines for hostname.qfe<num> Files:

    • Do not create /etc/hostname.qfe<num> files for Sun Quad FastEthernet PCI Adapter channels you plan to leave unused.

    • The /etc/hostname.qfe<num> file must contain the host name 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.hme0 and /etc/hostname.qfe2 cannot share the same host name.

    Using the instance examples in Step 1, the following example shows the four /etc/hostname.qfe<num> files required for a system called zardoz that has a Sun Quad FastEthernet PCI Adapter (zardoz-11, zardoz-12, zardoz-13, and zardoz-14).


    # cat /etc/hostname.hme0
    zardoz
    # cat /etc/hostname.qfe0
    zardoz-11
    # cat /etc/hostname.qfe1
    zardoz-12
    # cat /etc/hostname.qfe2
    zardoz-13
    # cat /etc/hostname.qfe3
    zardoz-14

  3. 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
    #
    # Internet host table
    #
    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

  4. Reboot your system.