I want to deploy a configuration to a bunch of Mikrotik routers (> 30). The routers are used as follows: In a laboratory environment each router is used for a small, separated network. Inside of the separated networks there usually is a PC and some measurement equipment (connected via IP to the PC). The router "WAN" port is connected to the labratory LAN. The PC in the separated network should reach a file server via the Mikrotik router, other connections are blocked via firewall.
Therefore the routers should all share the same config, except for:
- MAC adresses
- IP address of the WAN interface
- system name
- export config on a device (https://wiki.mikrotik.com/wiki/Manual:C ... figuration)
- use a shell script to create a copy of the exported config for every router, change WAN IP address and system name in the copies
- upload the config copies to destination routers via sftp
- run /system reset-configuration keep-user no-defaults run-after-reset=new-config.rsc on the destination routers
Any better ideas?
Thanks