Ethernet Channel setup in AIX

Most of the guides and websites recommend to use smitty to create the initial setup. The two basic steps smitty etherchannel and smitty chinet or smitty mktcpip.
As for command line, I found two methods:
and here: 

Step 1a is the same in both (gateway could be used as a ping-to-host):# mkdev -c adapter -s pseudo -t ibm_ech -a adapter_names=entX \
-a backup_adapter=entY -a netaddr=PING2HOST \
-a num_retries=3 -a retry_time=30

Step 1b (for link aggregation and with jumbo frames enabled):

mkdev -c adapter -s pseudo -t ibm_ech -a ‘adapter_names=entX,entY’ \
– a ‘use_jumbo_frame=yes’ -a ‘mode=8023ad’

Then they differ a bit
One option adds the following step, not sure why:
/usr/lib/methods/defif >/dev/null 2>/dev/null

If it is not the initial network setup like for creating an additional network:
mkdev -c if -s EN -t en -a netaddr=IPaddress \
-a netmask=NETMASK -w IF(en newly created) -a state=up -a arp=on

mkdev -l inet0 (makes it available)

and for the initial network set up

mktcpip -h HOSTNAME -a IPaddress -m NETMASK -i IF(newly created) \

Find the etherchannel adapters:
lsdev -Cc adapter -t ibm_ech
show the configuration:
lsattr -El entX

Basic Network Setup on an AIX system

Here is an excerpt from AIX Certification Study Guide for AIX 5L(December 2002):

Use command smitty tcpip for basic settings – smitty will use mktcpip. Sets properties such as host name, IP address, nameserver, default gateway, subnetmask etc.

Or you can you mktcpip from the command line  – like in this example:
mktcpip -h HOSTNAME -a IPaddress -m NETMASK -i IF(eg. en0) \

-s        starts tcpip daemon
-C        Cost of using the selected interface type
-A        Active dead gateway detection: no (the default), dead gateway detection remains in passive mode.

Detail taken from HOW TO: Easily Configure TCP/IP on Your AIX System




a few things changed since I posted something last (waaay back then). For a while I was a contractor and a full time employee at IBM. Right now I am neither.

What I am trying to do (or what I am thinking about it) adding some content to this blog while I am trying to deepen my knowledge about AIX and Oracle.

I know there are some amazing blogs already out there and I will link to some of them over time, but I do hope to add to that knowledge base.



Listening to Queen of the stone Age:  Vampyre of Time and Memory