![ip link set mac address ip link set mac address](https://www.pcwdld.com/wp-content/uploads/TP-Link-Wireless-N-Router-.png)
The first line summarizes the current name of the device, the flags set on the device, the maximum transmission unit (MTU) and so on. The ip utility should list several parameters of the device. For each device, two lines should summarize the link state and characteristics. Link/ether YYYYYYYYYYYY brd ff:ff:ff:ff:ff:ff Link/ether XXXXXXXXXXXX brd ff:ff:ff:ff:ff:ffģ: wlp2s0: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
![ip link set mac address ip link set mac address](http://vcloud-lab.com/files/images/ae868f7c-e385-4c99-825a-6187518258cf.png)
Launch Terminal and enter the ip link command: ip link showĮxample Output: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000Ģ: enp1s0: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 Every PC’s network device should have a unique MAC address. 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.
![ip link set mac address ip link set mac address](https://miro.medium.com/max/2170/1*W-PvLrc_bdoiV4KMRWdVdw.png)
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