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
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 /v
, /fo
and list
parameters to the getmac command.
$ getmac /v /fo list

There are two network interfaces in the system.
Connection Name
provides the name or identifier of the interfaceNetwork Adapter
provides Manufacturer and model informationPhysical Address
provides mac address information
Ipconfig Command
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

Your ipconfig example doesn’t show the MAC/physical address, which makes sense because ipconfig won’t show that, at least not on any recent version of windows I’ve seen lately.
Try ipconfig /all