MAC address is another critical parameter of a network device, including your PC’s hardware or a server. Typically, eth0 is for Ethernet connection, and wlp2s0 for Wireless connection.įor example, use eth0 : ip addr show eth0 Finding the MAC Address of the Linux System Inet6 1:2:00:33:333/64 scope global mngtmpaddr noprefixroute dynamic Valid_lft 548176sec preferred_lft 61403sec Inet6 AB:AD:AK:AI/64 scope global temporary dynamic Valid_lft 61791sec preferred_lft 61791sec Sample Output: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ip route list | grep defaultĪlternatively, you can also use device name in particular too, but you should know the names of network devices for that. If you are only interested in the default IP address that connects to the internet, use a grep parameter to list that one. It should display all available IP address including device names. ip route list ip route list command usage in Ubuntu 17.10 Launch ‘Terminal’ and enter the following command to list all the IP address. s to display more information about the command ip command usage in Ubuntu 17.10 Finding the IP address of the Linux System
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |