I discovered recently that using backup and restore to copy router configurations between devices is not a good idea. It works, but having twin devices in a subnet that differ only in identity name causes issues.
I recently had reason to expand wireless access points. I used backup and restore to copy the configuration from one mANTBox ax 15s to another. I changed the identity on the copy and proceeded with the installation.
I had worked so hard on perfecting the mANTBox configuration that I wanted the same on a second device. My journey in MikroTik started last year. I have moved a company network from a single residential router to a company network separated by VLANs over a fibre backbone using MikroTik routers and switches. The MikroTik knowledge shared by members in this community made it possible.
If you recall in network theory, there are some values that must be unique in a network if it is to function properly. Two in my example are MAC address and IP address. The backup command copies over to the second device MAC addresses without change.
What happened in my case is that both devices tried to secure the same IP address from the DHCP server. Their existence in the network was short-lived. They kept appearing and disappearing in the DHCP server leases. DHCP screen showed two devices sharing one IP momentarily. Then they both were gone.
The backup and restore is ideal for moving configurations. The backup carries all the tweaks that perfect the installation. Unfortunately, it doesn’t work. Now for the fix.
I discovered through these two commands interface details that are causing me issues.
/interface print detail
/interface bridge print detail
I then completed this set of commands to re-align the MAC address with the values provided on the equipment label.
/interface bridge set bridge auto-mac=yes
reboot
/interface ethernet set sfp1 mac-address=XX:XX:XX:XX:XX:XX
/interface wifi set wifi1_2G configuration.mode=ap mac-address=XX:XX:XX:XX:XX:XY
/interface wifi set wifi2_5G configuration.mode=ap mac-address=XX:XX:XX:XX:XX:XZ
/interface wifi set wifi1_2G mac-address=XX:XX:XX:XX:XX:XY
/interface wifi set wifi2_5G mac-address=XX:XX:XX:XX:XX:XZ
/interface ethernet set ether1 mac-address=XX:XX:XX:XX:XX:XW
/interface bridge set defconf admin-mac=XX:XX:XX:XX:XX:XW auto-mac=no
What am I missing?
I started over and tried the import file-name but not all the configuration imports worked error-free. I also tried starting over and building the device from scratch. So much learning occurred during this first configuration, I worry I will miss some.
What is the community's advice? Will my plan work?