AIX Study之--AIX网卡配置管理(ent0、en0、et0)
生活随笔
收集整理的這篇文章主要介紹了
AIX Study之--AIX网卡配置管理(ent0、en0、et0)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、查看AIX系統網卡信息:
[root@aix211 /]#lsdev |grep et?
| 1 2 3 4 5 6 7 8 9 | en0????????Available?1L-08?????????Standard?Ethernet?Network?Interface en1????????Available?14-08?????????Standard?Ethernet?Network?Interface en2????????Defined???1D-08?????????Standard?Ethernet?Network?Interface ent0???????Available?1L-08?????????10/100?Mbps?Ethernet?PCI?Adapter?II?(1410ff01) ent1???????Available?14-08?????????10/100?Mbps?Ethernet?PCI?Adapter?II?(1410ff01) ent2???????Available?1D-08?????????10/100?Mbps?Ethernet?PCI?Adapter?II?(1410ff01) et0????????Defined???1L-08?????????IEEE?802.3?Ethernet?Network?Interface et1????????Defined???14-08?????????IEEE?802.3?Ethernet?Network?Interface et2????????Defined???1D-08?????????IEEE?802.3?Ethernet?Network?Interface |
由此可以看出:
ent1之類的是物理網卡的設備名,en0或是et0是網絡接口名(邏輯上的),enx(x是一個數字,代表第幾塊網卡)是標準以太網接口,et0是IEEE 802.3以太網接口。
en0是Ethernet II protocal interface
et0是802.3 protocal interface?
ent0是Hardware device interface
2、查看網卡屬性:
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | [root@aix211?/]#lsattr?-El?en0 alias4??????????????????????IPv4?Alias?including?Subnet?Mask???????????True alias6??????????????????????IPv6?Alias?including?Prefix?Length?????????True arp???????????on????????????Address?Resolution?Protocol?(ARP)??????????True authority???????????????????Authorized?Users???????????????????????????True broadcast???????????????????Broadcast?Address??????????????????????????True mtu???????????1500??????????Maximum?IP?Packet?Size?for?This?Device?????True netaddr???????192.168.8.211?Internet?Address???????????????????????????True netaddr6????????????????????IPv6?Internet?Address??????????????????????True netmask???????255.255.255.0?Subnet?Mask????????????????????????????????True prefixlen???????????????????Prefix?Length?for?IPv6?Internet?Address????True remmtu????????576???????????Maximum?IP?Packet?Size?for?REMOTE?Networks?True rfc1323?????????????????????Enable/Disable?TCP?RFC?1323?Window?Scaling?True security??????none??????????Security?Level?????????????????????????????True state?????????up????????????Current?Interface?Status???????????????????True tcp_mssdflt?????????????????Set?TCP?Maximum?Segment?Size???????????????True tcp_nodelay?????????????????Enable/Disable?TCP_NODELAY?Option??????????True tcp_recvspace???????????????Set?Socket?Buffer?Space?for?Receiving??????True tcp_sendspace???????????????Set?Socket?Buffer?Space?for?Sending????????True |
3、查看網卡配置:
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [root@aix211?/]#lscfg?-vpl?en0 [root@aix211?/]#lscfg?-vpl?et0 [root@aix211?/]#lscfg?-vpl?ent0 ??ent0?????????????U0.1-P1/E2??10/100?Mbps?Ethernet?PCI?Adapter?II?(1410ff01) ????10/100?Mbps?Ethernet?PCI?Adapter?II: ????????Network?Address.............000255CF1406 ????????ROM?Level.(alterable).......SCU015 ????????Product?Specific.(Z0).......A5204205 ????????Hardware?Location?Code......U0.1-P1/E2 ??PLATFORM?SPECIFIC ??Name:??ethernet ????Node:??ethernet@1 ????Device?Type:??network ????Physical?Location:?U0.1-P1/E2 |
Physical Location的位置可以判斷網卡是否是插在PCI接口上的
[root@aix211 /]#lsslot -c pci
| 1 2 3 4 5 6 7 | #?Slot??????Description?????????????????????????Device(s) U0.1-P2-I1??PCI-X?capable,?64?bit,?133MHz?slot??Empty??? U0.1-P2-I2??PCI-X?capable,?64?bit,?133MHz?slot??Empty??? U0.1-P2-I3??PCI-X?capable,?64?bit,?133MHz?slot??fcs0? U0.1-P2-I4??PCI-X?capable,?64?bit,?133MHz?slot??Empty??? U0.1-P2-I5??PCI-X?capable,?64?bit,?133MHz?slot??ent2? U0.1-P2-I6??PCI-X?capable,?64?bit,?133MHz?slot??Empty |
[root@aix211 /]#lscfg -vpl ent2
| 1 2 3 4 5 6 7 8 9 10 | ?ent2?????????????U0.1-P2-I5/E1??10/100?Mbps?Ethernet?PCI?Adapter?II?(1410ff01) ??????10/100?Mbps?Ethernet?PCI?Adapter?II: ????????Part?Number.................09P5023 ????????FRU?Number..................09P5023 ????????EC?Level....................H10971A ????????Manufacture?ID..............YL1021 ????????Network?Address.............000255AF8DAD ????????ROM?Level.(alterable).......SCU004 ????????Product?Specific.(Z0).......A5204205 ????????Hardware?Location?Code......U0.1-P2-I5/E1 |
--- 可以看出,ent2是插在pci插槽上
物理設備和邏輯設備
1、物理設備是指以某種方式與計算機系統相連的實際硬件。例如顯示器、終端、磁帶機等。
2、邏輯設備是用戶或應用程序訪問物理設備的界面,用戶或應用程序通過邏輯設備來訪問物理設備。
3、在很多情況下,一個物理設備會對應多個邏輯設備
查看物理設備:
| 1 2 3 4 5 | [root@aix211?/]#lsdev?-Cc?adapter ent0????Available?1L-08????10/100?Mbps?Ethernet?PCI?Adapter?II?(1410ff01) ent1????Available?14-08????10/100?Mbps?Ethernet?PCI?Adapter?II?(1410ff01) ent2????Available?1D-08????10/100?Mbps?Ethernet?PCI?Adapter?II?(1410ff01) fcs0????Available?1n-08????FC?Adapter |
查看邏輯設備:
| 1 2 3 4 5 6 7 | [root@aix211?/]#lsdev?-Cc?if en0?Available?1L-08?Standard?Ethernet?Network?Interface en1?Available?14-08?Standard?Ethernet?Network?Interface en2?Defined???1D-08?Standard?Ethernet?Network?Interface et0?Defined???1L-08?IEEE?802.3?Ethernet?Network?Interface et1?Defined???14-08?IEEE?802.3?Ethernet?Network?Interface et2?Defined???1D-08?IEEE?802.3?Ethernet?Network?Interface |
本文轉自 客居天涯 51CTO博客,原文鏈接:http://blog.51cto.com/tiany/1671738,如需轉載請自行聯系原作者
總結
以上是生活随笔為你收集整理的AIX Study之--AIX网卡配置管理(ent0、en0、et0)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Angularjs Controller
- 下一篇: RHEL 6.x 搭建企业级FTP