EdgeRouter - How to Find the Base MAC Address


Readers will learn how to find the EdgeRouter's base MAC address using several different methods.

Applicable to the latest EdgeOS firmware on all EdgeRouter models. Please see the Related Articles below for more information.
Devices and products used in this article:

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:

CLI: Access the Command Line Interface.You can do this using the CLI button in the GUI or by using a program such as PuTTY.

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
NOTE:Using the : 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

Related Articles

Back to Top

EdgeRouter - SSH Recovery

EdgeRouter - How to Connect to Serial Console

EdgeRouter - Access the CLI from the Web UI

Was this article helpful?
36 out of 63 found this helpful