赞
踩
#ifconfig -a
en0: flags=1e080863,c0
inet 12.12.12.1 netmask 0xffffff00 broadcast 12.12.12.255
inet 169.254.19.124 netmask 0xffff8000 broadcast 169.254.127.255
tcp_sendspace 65536 tcp_recvspace 65536 rfc1323 1
en2: flags=1e080863,c0
inet 172.16.160.15 netmask 0xffffff00 broadcast 172.16.160.255
inet 172.16.160.10 netmask 0xffffff00 broadcast 172.16.160.255
tcp_sendspace 65536 tcp_recvspace 65536 rfc1323 1
en6: flags=1e080863,c0
inet 13.13.13.1 netmask 0xffffff00 broadcast 13.13.13.255
inet 169.254.254.158 netmask 0xffff8000 broadcast 169.254.255.255
tcp_sendspace 65536 tcp_recvspace 65536 rfc1323 1
lo0: flags=e08084b,c0
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
inet6 ::1%1/0
tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
Lsdev –Cc adapter |grep en
ent0 Available 02-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 02-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2 Available 03-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent3 Available 03-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent4 Available Logical Host Ethernet Port (lp-hea)
ent5 Available Logical Host Ethernet Port (lp-hea)
ent6 Available Logical Host Ethernet Port (lp-hea)
ent7 Available Logical Host Ethernet Port (lp-hea)
:/etc#lscfg -vpl ent0
ent0 U78A0.001.DNWKYCD-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.................00E0826
FRU Number..................00E0826
EC Level....................D77169
Manufacture ID..............YL1021
Network Address.............00215E8B62B0
ROM Level.(alterable).......DV0210
Hardware Location Code......U78A0.001.DNWKYCD-P1-C4-T1
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@1
Device Type: network
Physical Location: U78A0.001.DNWKYCD-P1-C4-T1
lscfg -vpl ent1
ent1 U78A0.001.DNWKYCD-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.................00E0826
FRU Number..................00E0826
EC Level....................D77169
Manufacture ID..............YL1021
Network Address.............00215E8B62B1
ROM Level.(alterable).......DV0210
Hardware Location Code......U78A0.001.DNWKYCD-P1-C4-T2
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@1,1
Device Type: network
Physical Location: U78A0.001.DNWKYCD-P1-C4-T2
lscfg -vpl ent2
ent2 U78A0.001.DNWKYCD-P1-C5-T1 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
2-Port 10/100/1000 Base-TX PCI-X Adapter:
Part Number.................00E0826
FRU Number..................00E0826
EC Level....................D77169
Manufacture ID..............YL1021
Network Address.............00215E8B62D8
ROM Level.(alterable).......DV0210
Hardware Location Code......U78A0.001.DNWKYCD-P1-C5-T1
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@1
Device Type: network
Physical Location: U78A0.001.DNWKYCD-P1-C5-T1
lscfg -vpl ent3
ent3 U78A0.001.DNWKYCD-P1-C5-T2 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
2-Port 10/100/1000 Base-TX PCI-X Adapter:
Part Number.................00E0826
FRU Number..................00E0826
EC Level....................D77169
Manufacture ID..............YL1021
Network Address.............00215E8B62D9
ROM Level.(alterable).......DV0210
Hardware Location Code......U78A0.001.DNWKYCD-P1-C5-T2
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@1,1
Device Type: network
Physical Location: U78A0.001.DNWKYCD-P1-C5-T2
这里我们可以看到ent0 和ent1 是在一个C4插槽下两个接口,ent2,ent3是在插槽C5上的两个接口。
可以确定的 我接口网线的接口为 黄色接口 C6-T3,C4-T1,C5-T1
|
|
|
空 |
|
| ||||||||||||
C6 | C1 | C2 | C3 | C4 | C5 |
那我们可以确定en0
inet 12.12.12.1 netmask 0xffffff00 broadcast 12.12.12.255
inet 169.254.19.124 netmask 0xffff8000 broadcast 169.254.127.255
是在ent0接口上也即是在 c4-t1上
En2
inet 172.16.160.15 netmask 0xffffff00 broadcast 172.16.160.255
inet 172.16.160.10 netmask 0xffffff00 broadcast 172.16.160.255
tcp_sendspace 65536 tcp_recvspace 65536 rfc1323
是在ent2接口上,也就是在c5-t1上
那么我还有个en6 的ip 不知道是在哪个网卡接口上,由于我剩下最后一根网线是接在C6-T3上的,那么很明显
en6: flags=1e080863,c0
inet 13.13.13.1 netmask 0xffffff00 broadcast 13.13.13.255
inet 169.254.254.158 netmask 0xffff8000 broadcast 169.254.255.255
这个ip是在C6-T3上
我们可以证实一下
查看适配接口
lsdev -Cc adapter |grep en
ent0 Available 02-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 02-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent2 Available 03-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent3 Available 03-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent4 Available Logical Host Ethernet Port (lp-hea)
ent5 Available Logical Host Ethernet Port (lp-hea)
ent6 Available Logical Host Ethernet Port (lp-hea)
ent7 Available Logical Host Ethernet Port (lp-hea)
剩下的只有ent4,ent5,ent6,ent7 这些接口显然在c6槽位从上到下 四个接口
先查一下ent4
lscfg -vpl ent4
ent4 U78A0.001.DNWKYCD-P1-C6-T1 Logical Host Ethernet Port (lp-hea)
IBM Host Ethernet Adapter:
Network Address.............6CAE8B05A620
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@200000000000001
Device Type: network
Physical Location: U78A0.001.DNWKYCD-P1-C6-T1
再看 ent5,ent6 ent7
lscfg -vpl ent5
ent5 U78A0.001.DNWKYCD-P1-C6-T2 Logical Host Ethernet Port (lp-hea)
IBM Host Ethernet Adapter:
Network Address.............6CAE8B05A621
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@200000000000002
Device Type: network
Physical Location: U78A0.001.DNWKYCD-P1-C6-T2
lscfg -vpl ent6
ent6 U78A0.001.DNWKYCD-P1-C6-T3 Logical Host Ethernet Port (lp-hea)
IBM Host Ethernet Adapter:
Network Address.............6CAE8B05A630
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@200000000000011
Device Type: network
Physical Location: U78A0.001.DNWKYCD-P1-C6-T3
lscfg -vpl ent7
ent7 U78A0.001.DNWKYCD-P1-C6-T4 Logical Host Ethernet Port (lp-hea)
IBM Host Ethernet Adapter:
Network Address.............6CAE8B05A631
PLATFORM SPECIFIC
Name: ethernet
Node: ethernet@200000000000012
Device Type: network
Physical Location: U78A0.001.DNWKYCD-P1-C6-T4
由于系统默认的en6 和ent6 对应的,所有我们可以确定en6 的ip在ent6上,这也是真是情况相符合。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26175573/viewspace-1225244/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26175573/viewspace-1225244/
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。