Mac Address is a network address used to layer 2 network traffic. The communication is done between network nodes with the mac address. It is important part of computer networking. In this tutorial, we will look at different ways to get mac addresses practically.
Getmac command is a simple command used to get mac related information. We will use this command to get all interfaces mac addresses. We will provide
list parameters to the getmac command.
$ getmac /v /fo list
There are two network interfaces in the system.
Connection Nameprovides the name or identifier of the interface
Network Adapterprovides Manufacturer and model information
Physical Addressprovides mac address information
Ipconfig command has a lot of features used to get detailed network information. We can get mac address information with this command too.
$ ipconfig /all