Tag Archives: etherchannel

How to create Etherchannel with SEA VIO in IBM

Configuring your SEA with Etherchannel.

First check the shared virtual ethernet adapters you have –

$ lsmap -all -net
SVEA   Physloc
—— ——————————————–
ent8   U8231.E2D.06C83BT-V1-C11-T1

SEA                   ent11
Backing device        ent10
Status                Available
Physloc

SVEA   Physloc
—— ——————————————–
ent9   U8231.E2D.06C83BT-V1-C12-T1

SEA                 NO SHARED ETHERNET ADAPTER FOUND

$

Then we need to check what adapters we can use, now in our case we will be using the first 2 adapters from a dual port 1Gb card –

$ lsdev -type adapter
name             status      description
ent0             Available   4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent1             Available   4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent2             Available   4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent3             Available   4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent4             Available   4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent5             Available   4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent6             Available   4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent7             Available   4-Port Gigabit Ethernet PCI-Express Adapter (e414571614102004)
ent8             Available   Virtual I/O Ethernet Adapter (l-lan)
ent9             Available   Virtual I/O Ethernet Adapter (l-lan)
ent10            Available   EtherChannel / IEEE 802.3ad Link Aggregation
ent11            Available   Shared Ethernet Adapter
fcs0             Available   8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
fcs1             Available   8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
fcs2             Available   8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
fcs3             Available   8Gb PCI Express Dual Port FC Adapter (df1000f114108a03)
pkcs11           Available   PKCS#11 Device
sissas0          Available   PCIe x4 Planar 3Gb SAS RAID Adapter
sissas1          Available   PCIe x4 Internal 3Gb SAS RAID Adapter
usbhc0           Available   USB Host Controller (33103500)
usbhc1           Available   USB Host Controller (33103500)
usbhc2           Available   USB Enhanced Host Controller (3310e000)
vfchost0         Available   Virtual FC Server Adapter
vfchost1         Available   Virtual FC Server Adapter
vfchost2         Available   Virtual FC Server Adapter
vfchost3         Available   Virtual FC Server Adapter
vfchost4         Available   Virtual FC Server Adapter
vfchost5         Available   Virtual FC Server Adapter
vfchost6         Available   Virtual FC Server Adapter
vfchost7         Available   Virtual FC Server Adapter
vfchost8         Available   Virtual FC Server Adapter
vfchost9         Available   Virtual FC Server Adapter
vfchost10        Available   Virtual FC Server Adapter
vfchost11        Available   Virtual FC Server Adapter
vfchost12        Available   Virtual FC Server Adapter
vfchost13        Available   Virtual FC Server Adapter
vfchost14        Available   Virtual FC Server Adapter
vfchost15        Available   Virtual FC Server Adapter
vhost0           Available   Virtual SCSI Server Adapter
vhost1           Available   Virtual SCSI Server Adapter
vhost2           Available   Virtual SCSI Server Adapter
vhost3           Available   Virtual SCSI Server Adapter
vhost4           Available   Virtual SCSI Server Adapter
vhost5           Available   Virtual SCSI Server Adapter
vhost6           Available   Virtual SCSI Server Adapter
vhost7           Available   Virtual SCSI Server Adapter
vsa0             Available   LPAR Virtual Serial Adapter
$

Then we need to create the Etherchannel device –

# mkvdev -lnagg ent0 ent4

ent10 Available

This creates the device in standard mode, though you can switch it over to round robin –

# chdev -l ent10 -a mode=round_robin

Then we can create a SEA “bridge” between the physical Etherchannel device ent2 and the virtual ent3

# mkvdev -sea ent10 -vadapter ent8 -default ent8 -defaultid 1

ent11 Available

Once that is done, you can set-up initial TCP/IP config (en11 is the interface for the SEA ent11)

# mktcpip -hostname <vio-name> -inetaddr <ip-address> -interface en11 -start -netmask <subnet> -gateway <gateway-ip>

Now your server ready to go.