AIXStudy-AIX Nic Configuration Management (ent0, en0, et0)
AIX Study-AIX Nic Configuration Management (ent0, en0, et0)
1. view the NIC information of the AIX system:
[Root @ aix211/] # lsdev | grep et
en0 Available 1L-08 Standard Ethernet Network Interfaceen1 Available 14-08 Standard Ethernet Network Interfaceen2 Defined 1D-08 Standard Ethernet Network Interfaceent0 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 Interfaceet1 Defined 14-08 IEEE 802.3 Ethernet Network Interfaceet2 Defined 1D-08 IEEE 802.3 Ethernet Network Interface
We can see that:
Ent1 is the device name of the physical Nic, en0 or et0 is the network interface Name (logical), and enx (x is a number, representing the first few NICS) is the standard Ethernet interface, et0 is an IEEE 802.3 Ethernet interface.
En0 is the Ethernet II protocal interface
Et0 is 802.3 protocal interface
Ent0 is Hardware device interfacE
2. View Nic attributes:
[root@aix211 /]#lsattr -El en0alias4 IPv4 Alias including Subnet Mask Truealias6 IPv6 Alias including Prefix Length Truearp on Address Resolution Protocol (ARP) Trueauthority Authorized Users Truebroadcast Broadcast Address Truemtu 1500 Maximum IP Packet Size for This Device Truenetaddr 192.168.8.211 Internet Address Truenetaddr6 IPv6 Internet Address Truenetmask 255.255.255.0 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 up 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
[root@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
[root@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[root@aix211 /]#
3. View Nic Configuration:
[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
The Physical Location can be used to determine whether the NIC is inserted on the PCI interface.
[Root @ aix211/] # lsslot-c pci
# Slot Description Device (s)
U0.1-P2-I1 PCI-X capable, 64 bit, 133 MHz slot Empty
U0.1-P2-I2 PCI-X capable, 64 bit, 133 MHz slot Empty
U0.1-P2-I3 PCI-X capable, 64 bit, 133 MHz slot fcs0
U0.1-P2-I4 PCI-X capable, 64 bit, 133 MHz slot Empty
U0.1-P2-I5 PCI-X capable, 64 bit, 133 MHz slot ent2
U0.1-P2-I6 PCI-X capable, 64 bit, 133 MHz 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 ......
FRU Number ......
EC Level...
Manufacture ID...
Network Address...
ROM Level .. (alterable) ...... SCU004
Product Specific. (Z0) ...... A5204205
Hardware Location Code... U0.1-P2-I5/E1
--- We can see that ent2 is inserted in the pci slot.
Physical and logical devices
1. A physical device is the actual hardware that is connected to a computer system in some way. Such as display, terminal, and tape drive.
2. A logical device is the interface on which a user or application accesses a physical device. A user or application accesses a physical device through a logical device.
3. In many cases, a physical device corresponds to multiple logical devices.
View physical devices:[Root @ aix211/] # lsdev-Cc adapter
Ent0 Available 1 l-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)
Ent1 Available 14-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)
Ent2 Available 1 d-08 10/100 Mbps Ethernet PCI Adapter II (1410ff01)
Fcs0 Available 1n-08 FC Adapter
View logical devices:
[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