Readers will learn how to find the EdgeRouter's base MAC address using several different methods.
Determining the Base MAC Address
The base MAC address is the primary address associated with the EdgeRouter. This base MAC address is used as the MAC ID for the device. See the Where is the MAC ID and Date Code? article for more information.
There are three ways to find the base MAC address:
- Found on the label on the back panel or underside of the device (depending on the model). See the article linked above.
- Use the Ubiquiti Device Discovery Tool to find the Hardware Address (MAC address).
- Log into the device using a Console or SSH connection and run the show version command.
The base MAC address is associated with one of the Ethernet interfaces on the EdgeRouter (eth0 for example), but the interface may differ between EdgeRouter models. When using the Ubiquiti Device Discovery Tool to locate the EdgeRouter, the MAC address of the device is shown in the Hardware Address column. Note that the address displayed here is the base MAC address and not necessarily the address associated with the interface that is being connected to.
Another option to find the base MAC address is to log into the router using a Console or SSH connection. See the How to Connect to Serial Console for more information. Follow the steps below to find the MAC address:
Use the show version command to display the device's information.
ubnt@edgerouter:~$ show version
Copyright: 2012-2019 Ubiquiti Networks, Inc.
HW model: EdgeRouter 4
HW S/N: ABCDEFABCDEF
:notation, the HW S/N value (base MAC address) above would be displayed as AB:CD:EF:AB:CD:EF.
The MAC address information of all Ethernet interfaces can be found by using the command below. Note that this will also allow you to determine which interface is associated with the base MAC address.
show interfaces ethernet detail
EdgeRouter - How to Connect to Serial Console