Although I would like to understand how RouterOS assigns Mac addresses to newly created bridges, I’d like more to know how I could change the MAC address of at least one bridge AND are there any negative side affects with this sort of change?????
Thank you
Frank
UPDATE:
Details included in this message to hopefully help others that may run into this same issue - No charge!!
Why do I need this change: This change is needed as both bridges currently have the same MAC address assigned, confusion abound.
How I am testing:
I configured 2 bridges named B500 and B600 on hardware platform
RB4011iGS+RM version v6.46.4 in my isolated LAB environment
I used this cli command to change the MAC address of the first bridge:
/interface bridge set B500 admin-mac=11:22:33:AA:BB:CC auto-mac=no
I used this cli command to change the MAC address of the 2nd bridge
/interface bridge set B600 admin-mac=11:22:33:DD:EE:FF auto-mac=no
NOTE: Using the Winbox GUI, I didn't see an option to set the other required option
auto-mac=no so perhaps the CLI is required for this change.
UPDATE 8-18-2021: In the GUI (Graphical User Interface) it turns out the required option --
auto-mac -- is
automatically set to no when you add your own MAC address and save (click ok).
-----
RESULTS:
Strange thing is only bridge B600 will take on and use my newly assigned MAC address. B500 continues to use original MAC and it changes at every reboot.
When bridge B500 is disabled (within Winbox) it shows my manually assigned MAC address (color light gray) but reenabling B500, it reverts back to original MAC assigned to this bridge this time. Rebooting and/or repowering does not make any differences other than dynamically setting a new and different MAC address and of course it just wastes more of my time.
The CLI configurations shows both bridges are configured the same except for different MAC addresses.
[admin@RB02] > /interface bridge print (
other bridge details omitted for clarity)
Flags: X - disabled, R running
0 R name="B500" mac-address=9E:1D:11:EA:78:4F auto-mac=no admin-mac=11:22:33:AA:BB:CC
1 R name="B600" mac-address=11:22:33:DD:EE:FF auto-mac=no admin-mac=11:22:33:DD:EE:FF
[admin@RB02] > export
/interface bridge
add admin-mac=11:22:33:AA:BB:CC auto-mac=no name=B500
add admin-mac=11:22:33:DD:EE:FF auto-mac=no name=B600
-snip--
I tested changing the bridge MAC addresses (as above) on my Cloud Hosted Router version v6.47.10 in my isolated test lab and admin-mac address changed worked as advertised without any problems. Perhaps a RouterOS code bug on the physical infrastructure.
Thanks, more research
Any help would be greatly appreciated
Frank