


He wrote more than 7k+ posts and helped numerous readers to master IT topics. Vivek Gite is the founder of nixCraft, the oldest running blog about Linux and open source. You learned various Linux commands to list Ethernet devices on Linux. 8 vethde25600f network Ethernet interface 5 vethc2f8aceb network Ethernet interface 4 vethf5aa832e network Ethernet interface To see hardware on Linux including network cards, run:
UBUNTU 16.04 NETWORK MAC ADDRESS HOW TO
See how to change duplex settings with the ethtool command under Linux operating systems. Link partner advertised auto-negotiation: No Link partner advertised pause frame use: No Link partner advertised link modes: Not reported Supported link modes: 10baseT/Half 10baseT/FullĪdvertised link modes: 10baseT/Half 10baseT/Full You can use the ethtool command for querying settings of an ethernet device and changing them such as speed, duplex settings and much more: Lo 16436 0 1 0 0 0 1 0 0 0 LRU Display or change Ethernet card settings The last command “ ifconfig -s -a” is equivalent to the “ netstat -i” command: On most modern Linux distro, we use the ip command as follows to list all NICs: TX packets:2436052 errors:0 dropped:0 overruns:0 carrier:0 RX packets:1938092 errors:0 dropped:0 overruns:0 frame:0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 CentOS/RHEL 6+ (Only with Python 2.7+) Ubuntu 16.04+ (15.10 and older. Inet6 addr: fe80::baac:6fff:fe65:31e5/64 Scope:Link Pure-Python package to get the MAC address of network interfaces and hosts on the. Sample outputs: eth0 Link encap:Ethernet HWaddr b8:ac:6f:65:31:e5 To list actual ip address assigned to the interface, enter: It also displayed name of the manufacture. Sample outputs: 09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761e Gigabit Ethernet PCIe (rev 10)Ībove output indicates that my system has one Gigabit Ethernet controller installed using PCIe interface. Open a command-line terminal (select Applications > Accessories > Terminal), and then type the following command to list total number of Ethernet devices on Linux: lshw command – See hardware including list of Ethernet device on Linux.Įxamples: Ubuntu Linux Display List of Ethernet Adapter.

ifconfig command – Display or configure a network interface on Linux or Unix like operating systems.ip command – Display or manipulate routing, devices, policy routing and tunnels on Linux operating systems.lspci command – List all PCI device including Ethernet cards (NICs) on Linux.
