lsdev -Cc adapter这个命令是查看板卡信息的,从这个输出可以看到是物理的还是虚拟的。 另外,在AIX中查看网络信息,经常会遇到en0,ent0,e0t,代表含义是 ent0 是 Hardware device interface en0 是 Ethernet II protocal interface et0 是 802.3 protocal interface 802.3与ethernet II帧格式几乎完全一样,但还是有几个数据位是不同,en0 Ethernet II是标准的。 IP地址只能配在en0, en1这样的标准interface上,而实际的网线是插在ent0, ent1这样的物理网卡上的
可以确定物理网卡的位置:
# lscfg -vpl ent0
ent0 U5802.001.0088682-P1-C5-T1 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)
2-P NIC-TX PCI-e:
EC Level....................D76567
Part Number.................46K6601
Manufacture ID..............YL1026
FRU Number..................46K6601
Network Address.............E41F134EAB4A
ROM Level.(alterable).......EP0170
Hardware Location Code......U5802.001.0088682-P1-C5-T1
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@0
Device Type: network
Physical Location: U5802.001.0088682-P1-C5-T1
# lscfg -vpl ent1
ent1 U5802.001.0088682-P1-C5-T2 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)
2-P NIC-TX PCI-e:
EC Level....................D76567
Part Number.................46K6601
Manufacture ID..............YL1026
FRU Number..................46K6601
Network Address.............E41F134EAB4B
ROM Level.(alterable).......EP0170
Hardware Location Code......U5802.001.0088682-P1-C5-T2
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@0,1
Device Type: network
Physical Location: U5802.001.0088682-P1-C5-T2
# lscfg -vpl ent2
ent2 U5802.001.0088682-P1-C6-T1 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)
2-P NIC-TX PCI-e:
EC Level....................D76567
Part Number.................46K6601
Manufacture ID..............YL1026
FRU Number..................46K6601
Network Address.............E41F134EACA6
ROM Level.(alterable).......EP0170
Hardware Location Code......U5802.001.0088682-P1-C6-T1
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@0
Device Type: network
Physical Location: U5802.001.0088682-P1-C6-T1
# lscfg -vpl ent3
ent3 U5802.001.0088682-P1-C6-T2 2-Port 10/100/1000 Base-TX PCI-Express Adapter (14104003)
2-P NIC-TX PCI-e:
EC Level....................D76567
Part Number.................46K6601
Manufacture ID..............YL1026
FRU Number..................46K6601
Network Address.............E41F134EACA7
ROM Level.(alterable).......EP0170
Hardware Location Code......U5802.001.0088682-P1-C6-T2
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@0,1
Device Type: network
Physical Location: U5802.001.0088682-P1-C6-T2
以上红色部分,标注物理网卡的位置,在机箱后面的样子大概是这样:
可以根据这个图,确定具体的位置了。