Configuración básica de un Etherchannel en AIX
Prerequisitos:
Dos interfaces en una misma subred.
Ninguna IP configurada para las interfaces que se vayan a usar para armar el Etherchannel:
# ifconfig en0 down detach
# ifconfig en1 down detach
Configuración modo activo/backup:
# smitty etherchannel
Add An EtherChannel / Link Aggregation
Available Network Adapters
> ent0
Add an EtherChannel / Link Aggregation
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
EtherChannel / Link Aggregation Adapters ent0
Enable Alternate Address no
Alternate Address []
Enable Gigabit Ethernet Jumbo Frames no
Mode standard
IEEE 802.3ad Interval long
Hash Mode default
Backup Adapter ent1
Automatically Recover to Main Channel yes
Perform Lossless Failover After Ping Failure yes
Internet Address to Ping []
Number of Retries []
Retry Timeout (sec) []
Chequeo:
# lsdev -Cc adapter -t ibm_ech
ent2 Available EtherChannel / IEEE 802.3ad Link Aggregation
Configuración de IP:
# smitty mktcpip
+--------------------------------------------------------------------------+
| Available Network Interfaces |
| |
| Move cursor to desired item and press Enter. |
| |
| > en2 Standard Ethernet Network Interface |
| F1=Help F2=Refresh F3=Cancel |
| F8=Image F10=Exit Enter=Do |
| /=Find n=Find Next |
+--------------------------------------------------------------------------+
Minimum Configuration & Startup
To Delete existing configuration data, please use Further Configuration menus
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* HOSTNAME [aix-myServer]
* Internet ADDRESS (dotted decimal) [192.168.1.168]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en2
NAMESERVER
Internet ADDRESS (dotted decimal) [10.1.1.1]
DOMAIN Name [midominio]
Default Gateway
Address (dotted decimal or symbolic name) [192.168.1.1]
Cost [0]
Do Active Dead Gateway Detection? no
Your CABLE Type N/A
START TCP/IP daemons Now yes
Listar configuracion de la interfaz.
# lsattr -El ent2
adapter_names ent0,ent1 EtherChannel Adapters True
alt_addr 0×000000000000 Alternate EtherChannel Address True
auto_recovery yes Enable automatic recovery after failover True
backup_adapter NONE Adapter used when whole channel fails True
hash_mode default Determines how outgoing adapter is chosen True
mode standard EtherChannel mode of operation True
netaddr 0 Address to ping True
noloss_failover yes Enable lossless failover after ping failure True
num_retries 3 Times to retry ping before failing True
retry_time 1 Wait time (in seconds) between pings True
use_alt_addr no Enable Alternate EtherChannel Address True
use_jumbo_frame no Enable Gigabit Ethernet Jumbo Frames True
Test failover:
$ ping myServer
# smitty etherchannel
Force A Failover In An EtherChannel / Link Aggregation