Adapter management and configuration

To configure and manage token-ring or Ethernet adapters, use the tasks in the following table.

Table 1. Configuring and managing adapters tasks
Task SMIT fast path Command or file
Configure an Adapter smit chgtok (token-ring) smit chgenet (Ethernet)
  1. Determine adapter name:1 lsdev -C -c adapter -t tokenring -H or lsdev -C -c adapter -t ethernet -H
  2. Reset ring speed (token-ring) or connector type (Ethernet), if necessary. For example: chdev -l tok0 -a ring_speed=16 -P or chdev -l ent0 -a bnc_select=dix -P
Determining a Network Adapter Hardware Address smit chgtok (token-ring) smit chgenet (Ethernet) lscfg -l tok0 -v (token-ring)2 lscfg -l ent0 -v (Ethernet)2
Setting an Alternate Hardware Address smit chgtok (token-ring) smit chgenet (Ethernet)
  1. Define the alternate hardware address. For example, for token-ring:2,3

    chdev -l tok0 -a alt_addr=0X10005A4F1B7F

    For Ethernet:2,3

    chdev -l ent0 -a alt_addr=0X10005A4F1B7F -p

  2. Begin using alternate address, for token-ring:4

    chdev -l tok0 -a use_alt_addr=yes

    For Ethernet:4

    chdev -l ent0 -a use_alt_addr=yes

  1. The name of a network adapter can change if you move it from one slot to another or remove it from the system. If you ever move the adapter, issue the diag -a command to update the configuration database.
  2. Substitute your adapter name for tok0 and ent0.
  3. Substitute your hardware address for 0X10005A4F1B7F.
  4. After performing this procedure, you might experience a disruption of communication with other hosts until they flush their Address Resolution Protocol (ARP) cache and obtain the new hardware address of this host.