真實環境IBMP740小機確定網路卡插槽及ip對應關係.

dbhelper發表於2014-11-27

檢視系統網路卡資訊

 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插槽下兩個介面,ent2ent3是在插槽C5上的兩個介面。

下面是真是740 後面拓撲圖

可以確定的 我介面網線的介面為 黃色介面 C6-T3C4-T1C5-T1

 

T1

T2

T3

T4

 

 

HBA

 

HBA

 

 

HBA

 

HBA

 

 

 

 

 

 

T1

 

T2

 

 

T1

 

T2

   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)

剩下的只有ent4ent5ent6ent7 這些介面顯然在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 ipent6上,這也是真是情況相符合。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8494287/viewspace-1349518/,如需轉載,請註明出處,否則將追究法律責任。

相關文章