AIX Study之--AIX网卡配置管理(ent0、en0、et0)

1、查看AIX系统网卡信息:

[root@aix211 /]#lsdev |grep et 

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、查看网卡属性:

[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
[root@aix211 /]#lsattr -El et0
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 1492 Maximum IP Packet Size for This Device True
netaddr Internet Address True
netaddr6 IPv6 Internet Address True
netmask 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 down 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
[root@aix211 /]#lsattr -El ent0
alt_addr 0x000000000000 Alternate Ethernet Address True
busintr 85 Bus interrupt level False
busmem 0xc8030000 Bus memory address False
chksum_offload yes Enable hardware transmit and receive checksum True
intr_priority 3 Interrupt priority False
ipsec_offload no IPsec Offload True
large_send yes Enable TCP Large Send Offload True
media_speed Auto_Negotiation Media Speed True
poll_link no Enable Link Polling True
poll_link_timer 500 Time interval for Link Polling True
rom_mem 0xc8000000 ROM memory address False
rx_hog 1000 RX Descriptors per RX Interrupt True
rxbuf_pool_sz 1024 Receive Buffer Pool Size True
rxdesc_que_sz 512 RX Descriptor Queue Size True
slih_hog 10 Interrupt Events per Interrupt True
tx_preload 1520 TX Preload Value True
tx_que_sz 8192 Software TX Queue Size True
txdesc_que_sz 512 TX Descriptor Queue Size True
use_alt_addr no Enable Alternate Ethernet Address True
[root@aix211 /]#

3、查看网卡配置:

[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

# 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

  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、在非常多情况下,一个物理设备会相应多个逻辑设备



查看物理设备:
[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

查看逻辑设备:
[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

AIX Study之--AIX网卡配置管理(ent0、en0、et0)的更多相关文章

  1. AIX下绑定双网卡

    摘要 AIX下绑定双网卡,实现IP地址的高可用.为后续按照oracle11gRAC环境做准备.   收 藏 生产环境中是将不同网卡的不同网口进行绑定.比如A网卡有A1,A2网口:B网卡有B1,B2网口 ...

  2. AIX使用命令修改网卡IP地址,永久生效

    比如修改en0的ip地址.chdev -l en0 -a netaddr=192.168.1.100 -a netmask=255.255.255.0 -a state=up 启用en0 网卡ifco ...

  3. AIX 网络设置

    AIX使用命令修改网卡IP地址,永久生效 比如修改en0的ip地址.chdev -l en0 -a netaddr=192.168.1.100 -a netmask=255.255.255.0 -a ...

  4. AIX 第2章 指令记录

    root@db:/#mount  node       mounted        mounted over    vfs       date        options     ------- ...

  5. aix运维

    AIX操作系统中有很多程序,为了进行程序版本控制,每一个程序集都有自己的版本号.版本号是由小数点分隔的四位数字,例如5.3.0.9其含义是:操作系统版本号(version).发行版本号(release ...

  6. aix网络管理

    lsdev -Cc adapter | grep ent 列出网卡 lsdev -Cc adapter 或者lscfg | grep -i adpter   显示已经安装的网卡 lsdev -Cc i ...

  7. AIX下RAC搭建 Oracle10G(四)安装CRS

    AIX下RAC搭建系列 AIX下RAC搭建Oracle10G(四)安装CRS 环境 节点 节点1 节点2 小机型号 IBM P-series 630 IBM P-series 630 主机名 AIX2 ...

  8. aix 查看内存,CPU 配置信息

    内存lsattr -El mem0cpu lsdev -C |grep procCPU的信息lsattr -El proc0   #bootinfo -r查看物理内存     使用命令#  lsdev ...

  9. AIX 第5章 指令记录

    AIX引导过程 AIX不同引导模式 AIX的关闭 AIX的计划任务 AIX服务的管理 AIX的常用日志 POST=Power On Self Test   rc.boot 的三次调用 /etc/ini ...

随机推荐

  1. IDisposable接口详解

    转载:http://www.cnblogs.com/davyli/archive/2010/09/13/1825042.html 正确实现 IDisposable .NET中用于释放对象资源的接口是I ...

  2. [!] CocoaPods was not able to update the `master` repo...

    输入pod install之后出现: [!] CocoaPods was not able to update the `master` repo. If this is an unexpected ...

  3. 小波 mallat 算法

    算法要求:输入序列是大于滤波器长度的偶数列 确实可以通过编程的手段使算法适合所有的情况,但本文章的目的是展示mallat算法的过程,所以就一切从简了 // Mallat.cpp : Defines t ...

  4. 跟我学android-Notification

    Notification 可以理解为通知的意思,会出现在通知栏,比如来了一条短信 使用 Notification 有以下3个步骤: 1. 创建 NotificationManager的对象 2.为No ...

  5. 浅析Mysql数据回滚错误的解决方法

    介绍一下关于Mysql数据回滚错误的解决方法.需要的朋友可以过来参考下   MYSQL的事务处理主要有两种方法.   1.用begin,rollback,commit来实现   begin 开始一个事 ...

  6. terminal命令

    新建一个文件并写入内容:  echo hello world > a.txt (每次echo都会重写文件) 新建文件: touch a.txt 新建目录: mkdir work 用vim打开文件 ...

  7. Js点餐加减数量

    <button class="add-on" onclick="chgNum(1,'del')" ><i class="icon-m ...

  8. 关于Chrome(谷歌浏览器)对docume,准确获取网页客户区的宽高、滚动条宽高、滚动条Left和Top

    对于document.compatMode,很多朋友可能都根我一样很少接触,知道他的存在却不清楚他的用途.今天在ext中看到 document.compatMode的使用,感觉这个对于我们开发兼容性的 ...

  9. 周赛D题

    D - D Time Limit:1000MS     Memory Limit:32768KB     64bit IO Format:%I64d & %I64u   Description ...

  10. iOS开发——OC篇&消息传递机制(KVO/NOtification/Block/代理/Target-Action)

     iOS开发中消息传递机制(KVO/NOtification/Block/代理/Target-Action)   今晚看到了一篇好的文章,所以就搬过来了,方便自己以后学习 虽然这一期的主题是关于Fou ...