真實環境IBMP740小機確定網路卡插槽及ip對應關係.
檢視系統網路卡資訊
ifconfig –a
#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上的兩個介面。
下面是真是740 後面拓撲圖
可以確定的 我介面網線的介面為 黃色介面 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/8494287/viewspace-1349518/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 確定asm磁碟與物理磁碟的對應關係ASM
- Linux下檢視網路卡資訊及確定網路卡位置Linux
- 網路卡配置及對應名稱
- 物聯網路卡應用於環境監測
- RAC中如何更改對外網路卡和內部網際網路卡的IP及VIP
- Mac Appium環境搭建及連線ios真機MacAPPiOS
- 確定缺少驅動的網路卡
- 獨家報導:CentOS7[修改主機名以及IP對應關係]CentOS
- Nginx環境使用CDN加速後網站日誌獲取真實使用者IP地址方法Nginx網站
- Oracle Linux 7.1 增加網路卡及IP配置OracleLinux
- Servlet和JSP規範及版本對應關係ServletJS
- 內網IP/外網IP/NAT之間的關係-VeCloud內網Cloud
- 環境不確定因素處理(轉載)
- 07、環境-虛擬機器網路設定虛擬機
- 真實業務環境-需求分析思路(一)
- 真實業務環境-需求分析思路(二)
- 一個網路卡下設定兩個ip地址
- 域名和ip是多對多的關係
- Istio實踐(1)-環境搭建及應用部署
- win10如何修改虛擬網路卡ip_win10虛擬網路卡怎麼設定ip地址Win10
- 獲取網路卡 IP
- 雙網路卡環境下如何內網外網同時用內網
- 【Linux小知識】網址、域名和ip的關係與區別!Linux
- 【LC】locale設定查詢及相關環境變數含義及示例變數
- IP對映原理及怎樣把內網IP對映外網內網
- Linux單網路卡繫結多IP與多網路卡共用單IPLinux
- 配置Linux環境下多網路卡高可用網路埠Linux
- 2.4.3 Step 2: 確定設定好了環境變數變數
- 多網路卡環境下利用策略路由實現網路流量同進同出[轉載]路由
- [轉]怎樣檢視區域網內其他機器的網路卡實體地址及查詢本機的網路卡實體地址
- win10待機網路卡不休怎麼設定 win10待機網路卡不斷網設定方法Win10
- Linux下一塊網路卡設定多個IP地址Linux
- 基於RedHat的RAC環境下修改ip及vipRedhat
- uboot環境變數與核心MTD分割槽關係boot變數
- Z 世代品牌關係:真實性至關重要(附下載)
- 網路卡引數查詢及設定工具ethtool
- Entity Framework Code First關係對映約定Framework
- mORMot2 定義多對多關係ORM