You have to create an etherchannel device. First you have to unconfigure the current ethernet settings on the physical ethernet adapter (en0
in the below example). You also need to make sure that there is a second physical ethernet adapter available (en1
in the below example). If these requirements are met you create the etherchannel with the commands below:
# ifconfig en0 detach # chdev -P -l en0 -a state=down # mkdev -c adapter -s pseudo -t ibm_ech -a adapter_names=ent0 \ -a backup_adapter=ent1 -a netaddr=192.168.100.1 \ -a num_retries=3 -a retry_time=3 # mkdev -c if -s EN -t en -a netaddr=192.168.100.33 \ -a netmask=255.255.255.0 -w en2 -a state=up -a arp=on # mkdev -l inet0
The IP address of the first
mkdev
call belongs to a host (e.g. the gateway) that can be pinged. The system uses this to figure out if the primary network adapter is still alive. The second mkdev
however, defines the IP address you want to set to your new etherchannel logical device (i.e. the communication IP address of the box). The system uses the next free number for the etherchannel device (in our example en2
).