

“ifconfig eth0”) to view the MAC address about a specific interface. You can append the name of the interface to the end of the command (e.g. Related: Solving a Networking Issue on Linux in 20 minutes Find MAC address for a specific interface with ifconfig command in Linux If you receive a message “ifconfig command not found” when you try to use it, you can run the following command to install it.Ĭheck this post to get more info about how to fix ifconfig command not found TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0īy default, the ifconfig command will display information for all the network interfaces on the Linux system. This command will list MAC address, IP address, MTU size and other information about a network interface. The number next to ether is the MAC address. All we need is to open the terminal then type ifconfig -a in the prompt. The best Linux command to find MAC address is using ifconfig command. Related: Step by Step to troubleshoot a network issue in Linux Find MAC address with ifconfig command in Linux

However, it is possible to change the MAC address of a device. MAC addresses are usually assigned by the manufacturer of the network adapter. This allows for better security and more efficient networking. The MAC address can also be found in the BIOS of the computer or device.Ī MAC address can be used to uniquely identify a device on a network. The MAC address is usually printed on the card itself. 00:1B:44:11:3A:B7 is an example of a MAC address. The MAC address consists of six sets of two characters, each separated by a colon. MAC stands for Media Access Control, and each identifier is intended to be unique to a particular device.

The output will display the MAC address for all the network interfaces.įrom Wikipedia, A MAC address is the unique identifier that is assigned by the manufacturer to a piece of network hardware (like a wireless card or an ethernet card).

