sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
5. Chapter 12 # Replacing Ethernet Cards This chapter describes how to replace Ethernet cards on a peer node. To replace Ethernet cards with cards of a different type, you must reinstall the node. To replace the Ethernet cards on diskless nodes, select the procedure according to the boot policy of the diskless node. This chapter contains the following sections: Replacing Ethernet Cards on the Vice-Master Node or a Dataless Node Replacing Ethernet Cards on a Diskless Node ## Replacing Ethernet Cards on the Vice-Master Node or a Dataless Node To replace the Ethernet cards on the vice-master node or a dataless node, perform the following procedure. ### To Replace Ethernet Cards on the Vice-Master Node or a Dataless Node Verify that the new Ethernet cards are of the same type as the old Ethernet cards. Replace the Ethernet cards using information in the hardware documentation on `http://www.sun.com/products-n-solutions/hardware/docs/`. Power on the node. Log in to the node as superuser. Verify that the node is configured correctly:
       # nhadm check
4. 2. ## Replacing Ethernet Cards on a Diskless Node To replace the Ethernet cards on diskless nodes with the DHCP dynamic boot policy or the DHCP client ID boot policy, perform the procedure in Replacing Ethernet Cards on the Vice-Master Node or a Dataless Node. To replace the Ethernet cards on diskless nodes with the DHCP static boot policy, perform the following procedure. ### To Replace Ethernet Cards on a Diskless Node With the DHCP Static Boot Policy Verify that the new Ethernet cards are of the same type as the old Ethernet cards. Identify the IP address - Ethernet address couplet for the network interface cards that are to be replaced. Replace the Ethernet cards by using the hardware documentation on `http://www.sun.com/products-n-solutions/hardware/docs/`. Record the Ethernet addresses of the network cards on the new node. To find the Ethernet addresses of the network cards, perform the following step: Log in to the diskless node. Identify the Ethernet address of `NIC0`:
          ok> banner
      The Ethernet address of `NIC0` is provided in the output. The Ethernet address of `NIC1` is derived as follows:
          NIC0 + 0x1
      For example, if the output of the `banner` command is this:
          Ethernet address 8:0:20:fa:2a:6e, Host ID: 80fa2a6e
      The Ethernet address of `NIC0` is `8:0:20:fa:2a:6e`, and the Ethernet address of `NIC1` is `8:0:20:fa:2a:6f`. In the DHCP configuration files, the Ethernet addresses of `NIC0` and `NIC1` are given as `01080020FA2A6E` and `01080020FA2A6F`, respectively. For another example, the output of the `banner` command is this:
          Ethernet address 8:0:20:f9:b3:60, Host ID: 80f9b360
6. In the DHCP configuration files in the `/SUNWcgha/remote/var/dhcp/` directory, the Ethernet addresses of `NIC0` and `NIC1` are given as `01080020F9B360` and `01080020F9B361`, respectively. Log in to the master node as superuser. Modify the DHCP configuration for `NIC0`:
       # pntadm -M NIC01IP-address -i newEthernet-address \
        -f 'PERMANENT+MANUAL' -m NIC0IP-address subnet1
   The parameters of this command are as follows:
   NIC0IP-address | The IP address of the `NIC0` interface
   newEthernet-address | The Ethernet address of the `NIC0` interface in DHCP configuration format
   subnet1 | The subnet connecting the `NIC0` interfaces
7. Modify the DHCP configuration for `NIC1`:
       # pntadm -M NIC1IP-address -i newEthernet-address \
        -f 'PERMANENT+MANUAL' -m NIC1IP-address subnet2
   The parameters of this command are as follows:
   NIC1IP-address | The IP address of the `NIC1` interface
   newEthernet-address | The Ethernet address of the `NIC1` interface in DHCP configuration format
   subnet2 | The subnet connecting the `NIC1` interfaces
8. Refresh the DHCP configuration on the master node:
       # pkill -1 in.dhcpd
9. Reboot the diskless node:
       ok> boot
10. Verify that the node is configured correctly:
        # nhadm check
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems