![]() TX packets:2630541 errors:0 dropped:0 overruns:0 carrier:0 RX packets:2697529 errors:0 dropped:0 overruns:0 frame:0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Sample outputs: eth0 Link encap:Ethernet HWaddr b8:ac:6f:65:31:e5 Linux ip list interfaces using ifconfig command Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR FlgĮth0 1500 0 2697347 0 0 0 2630262 0 0 0 BMRU ![]() Linux list all network interfaces using nmcli and ip command Show a table of all network interfaces using netstat command in Linux One can list available devices and their status on Linux, run: Linux show / display available network interfaces using nmcli vboxnet0, vmnet1, vmnet8 – Virtual machine interface working in bridge mode or NAT mode on Linux.ppp0 – Point to Point Protocol network interface which can be used by dial up modem, PPTP vpn connection, or 3G wireless USB modem.wlan0 – Wireless network interface in Linux.eth0 – My first Ethernet network interface on Linux.Link/ether c2:10:fa:55:8e:32 brd ff:ff:ff:ff:ff:ffĦ: vmnet1: mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000 Link/ether 00:21:6a:ca:9b:10 brd ff:ff:ff:ff:ff:ffĤ: vboxnet0: mtu 1500 qdisc noop state DOWN qlen 1000 Link/ether b8:ac:6f:65:31:e5 brd ff:ff:ff:ff:ff:ffģ: wlan0: mtu 1500 qdisc mq state DOWN qlen 1000 Here is what we see: $ 1: lo: mtu 16436 qdisc noqueue state UNKNOWN Type the following ip command, enter: $ ip link show List Network Interfaces Using ip Command on Linux ifconfig command – It is used to display or configure a network interface.netstat command – It is used to display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.ip command – It is used to show or manipulate routing, devices, policy routing and tunnels.You can use the following commands to see all network interfaces under Linux operating systems: How do I display all available network interfaces names under Linux operating systems using bash shell prompt? How do use the ip command to list interfaces / NIC on Linux?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |