设为首页 收藏本站
查看: 604|回复: 0

[经验分享] AIX Study之--AIX网卡配置管理(ent0、en0、et0)

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2015-7-8 08:23:27 | 显示全部楼层 |阅读模式
1、查看AIX系统网卡信息:
[iyunv@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
[iyunv@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



[iyunv@aix211 /]#lsattr -El et0alias4             IPv4 Alias including Subnet Mask           Truealias6             IPv6 Alias including Prefix Length         Truearp           on   Address Resolution Protocol (ARP)          Trueauthority          Authorized Users                           Truebroadcast          Broadcast Address                          Truemtu           1492 Maximum IP Packet Size for This Device     Truenetaddr            Internet Address                           Truenetaddr6           IPv6 Internet Address                      Truenetmask            Subnet Mask                                Trueprefixlen          Prefix Length for IPv6 Internet Address    Trueremmtu        576  Maximum IP Packet Size for REMOTE Networks Truerfc1323            Enable/Disable TCP RFC 1323 Window Scaling Truesecurity      none Security Level                             Truestate         down Current Interface Status                   Truetcp_mssdflt        Set TCP Maximum Segment Size               Truetcp_nodelay        Enable/Disable TCP_NODELAY Option          Truetcp_recvspace      Set Socket Buffer Space for Receiving      Truetcp_sendspace      Set Socket Buffer Space for Sending        True[iyunv@aix211 /]#lsattr -El ent0alt_addr        0x000000000000   Alternate Ethernet Address                    Truebusintr         85               Bus interrupt level                           Falsebusmem          0xc8030000       Bus memory address                            Falsechksum_offload  yes              Enable hardware transmit and receive checksum Trueintr_priority   3                Interrupt priority                            Falseipsec_offload   no               IPsec Offload                                 Truelarge_send      yes              Enable TCP Large Send Offload                 Truemedia_speed     Auto_Negotiation Media Speed                                   Truepoll_link       no               Enable Link Polling                           Truepoll_link_timer 500              Time interval for Link Polling                Truerom_mem         0xc8000000       ROM memory address                            Falserx_hog          1000             RX Descriptors per RX Interrupt               Truerxbuf_pool_sz   1024             Receive Buffer Pool Size                      Truerxdesc_que_sz   512              RX Descriptor Queue Size                      Trueslih_hog        10               Interrupt Events per Interrupt                Truetx_preload      1520             TX Preload Value                              Truetx_que_sz       8192             Software TX Queue Size                        Truetxdesc_que_sz   512              TX Descriptor Queue Size                      Trueuse_alt_addr    no               Enable Alternate Ethernet Address             True[iyunv@aix211 /]#3、查看网卡配置:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[iyunv@aix211 /]#lscfg -vpl en0
[iyunv@aix211 /]#lscfg -vpl et0
[iyunv@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接口上的

[iyunv@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



[iyunv@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
[iyunv@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
[iyunv@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



运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-84285-1-1.html 上篇帖子: 史上最详细的ifcfg-eth0配置详解 下篇帖子: AIX Study之--用户访问系统资源限制配置 网卡
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表