AIX 双网卡绑定

# ifconfig -a #查看已使用端口
en0: flags=1e080863,c0
inet 192.168.58.108 netmask 0xffffffc0 broadcast 192.168.58.127
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
en6: flags=5e080863,c0
inet 192.168.58.133 netmask 0xffffffc0 broadcast 192.168.58.191
tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1

# lsdev -Cc adapter #显示所有网络端口
ent0 Available Logical Host Ethernet Port (lp-hea)
ent1 Available Logical Host Ethernet Port (lp-hea)
ent2 Available 01-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent3 Available 01-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent4 Available 03-00 2-Port Gigabit Ethernet-SX PCI-Express Adapter (14103f03)
ent5 Available 03-01 2-Port Gigabit Ethernet-SX PCI-Express Adapter (14103f03)
ent6 Available EtherChannel / IEEE 802.3ad Link Aggregation
fcs0 Available 06-00 4Gb FC PCI Express Adapter (df1000fe)
fcs1 Available 07-00 4Gb FC PCI Express Adapter (df1000fe)
lhea0 Available Logical Host Ethernet Adapter (l-hea)
sissas0 Available 00-08 PCI-X266 Planar 3Gb SAS Adapter
usbhc0 Available 02-08 USB Host Controller (33103500)
usbhc1 Available 02-09 USB Host Controller (33103500)
usbhc2 Available 02-0a USB Enhanced Host Controller (3310e000)
vsa0 Available LPAR Virtual Serial Adapter


# lsslot -c pci #查看端口与物理位置对应关系
# Slot Description Device(s)
U78A0.001.DNWHAF2-P1-C1 PCI-E capable, Rev 1 slot with 8x lanes ent4 ent5
U78A0.001.DNWHAF2-P1-C2 PCI-E capable, Rev 1 slot with 8x lanes fcs0
U78A0.001.DNWHAF2-P1-C3 PCI-E capable, Rev 1 slot with 8x lanes fcs1
U78A0.001.DNWHAF2-P1-C4 PCI-X capable, 64 bit, 266MHz slot ent2 ent3
U78A0.001.DNWHAF2-P1-C5 PCI-X capable, 64 bit, 266MHz slot Empty

# lscfg -vpl ent2 #查看单个端口详细信息
ent2 U78A0.001.DNWHAF2-P1-C4-T1 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)

2-Port 10/100/1000 Base-TX PCI-X Adapter:
Part Number.................03N5297
FRU Number..................03N5297
EC Level....................H13845
Manufacture ID..............YL1021
Network Address.............00215E892BB0
ROM Level.(alterable).......DV0210
Hardware Location Code......U78A0.001.DNWHAF2-P1-C4-T1


PLATFORM SPECIFIC

Name: ethernet
Node: ethernet@1
Device Type: network

Physical Location: U78A0.001.DNWHAF2-P1-C4-T1


# lscfg -vpl ent3 #查看单个端口详细信息
ent3 U78A0.001.DNWHAF2-P1-C4-T2 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)

2-Port 10/100/1000 Base-TX PCI-X Adapter:
Part Number.................03N5297
FRU Number..................03N5297
EC Level....................H13845
Manufacture ID..............YL1021
Network Address.............00215E892BB1
ROM Level.(alterable).......DV0210
Hardware Location Code......U78A0.001.DNWHAF2-P1-C4-T2


PLATFORM SPECIFIC

Name: ethernet
Node: ethernet@1,1
Device Type: network
Physical Location: U78A0.001.DNWHAF2-P1-C4-T2


# smitty etherchannel #绑定
EtherChannel / IEEE 802.3ad Link Aggregation

Move cursor to desired item and press Enter.

List All EtherChannels / Link Aggregations
Add An EtherChannel / Link Aggregation #添加
Change / Show Characteristics of an EtherChannel / Link Aggregation
Remove An EtherChannel / Link Aggregation
Force A Failover In An EtherChannel / Link Aggregation

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 ent2 #主 +
Enable Alternate Address no +
Alternate Address [] +
Enable Gigabit Ethernet Jumbo Frames no +
Mode standard +
Hash Mode default +
Backup Adapter ent3 #备 +
Automatically Recover to Main Channel yes +
Perform Lossless Failover After Ping Failure yes +
Internet Address to Ping []
Number of Retries [] +#
Retry Timeout (sec) []

#smitty tcpip #配IP


Move cursor to desired item and press Enter.

Minimum Configuration & Startup #
Further Configuration
Use DHCP for TCPIP Configuration & Startup
IPV6 Configuration
Quality

of Service Configuration & Startup
Configure IP Security (IPv4)
Configure IP Security (IPv6)
Configure Mobile IPv6

[Entry Fields]
* HOSTNAME [IBMP550-5]
* Internet ADDRESS (dotted decimal) [] #此处输入IP
Network MASK (dotted decimal) [] #此处输入子网掩码
* Network INTERFACE en7
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default Gateway
Address (dotted decimal or symbolic name) [192.168.58.190]
Cost [0] #
Do Active Dead Gateway Detection? no +
Your CABLE Type N/A +
START TCP/IP daemons Now no

相关文档
最新文档