When we work with network devices, configuring it and make
some changes, sometimes we need to change MAC address of different ports or
whole devices. With Mikrotik devices this is very simple task. For change MAC
address to port of Mikrotik device, we need few steps. When I write this article
I assume, you know how to use Winbox and basics of networking and Mikrotik, if
no then you can see What is Winbox and how to use it article.
First step open Winbox and connect to Mikrotik
router or switch, that where you need to change port Mac address. (Pic 1)
Pic 1 |
On left panel find New Terminal and open it.
(Pic 2)
Pic 2 |
In terminal windows write - /interface ethernet set
ether1 mac-address=xx:xx:xx:xx:xx:xx and press enter. In this command ether1 is
name of port, you want to change MAC address, you can change it ith your port
name. xx:xx:xx:xx:xx:xx – here you need to enter new MAC address. (Pic 3)
Pic 3 |
That’s all, MAC if you write everything correctly, MAC
address is already changed. You can check it via Winbox, in left panel find Interfaces
and open it, then find port, you changed MAC address, open it and in General
tab look for MAC Address, it there is what you entered, then everything is OK. (Pic 4)
Pic 4 |
If you want check MAC address from terminal window, then open
terminal and enter – interface ethernet print and you’ll get list of ports with
MAC address and few more info.
That’s all for this post, if you have some question or note,
please don’t hesitate, write comment.
0 Comments