Community discussions

 
User avatar
sjoram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 98
Joined: Sun Feb 10, 2013 8:47 pm
Location: Essex, UK

Update interface address, DHCP server configuration in bulk

Thu Nov 29, 2018 12:39 pm

I have a RB750 that we occasionally use to pre-build a LAN environment simulating certain functions of the WAN router.

I have no experience of scripting in RouterOS but would like to find a way of entering a new list of subnets which would then automatically update the following:

7 x VLAN interface address
7 x DHCP server networks (incl gateway)
7 x Address Pool

Is there an easy way to achieve this?
RouterBOARD RB750 - Xilo ADSL2+ (Annex M)
RouterBOARD RB750GL - Xilo FTTC (VDSL)
 
User avatar
grusu
Frequent Visitor
Frequent Visitor
Posts: 94
Joined: Tue Aug 13, 2013 7:35 am
Location: Bucharest, Romania

Re: Update interface address, DHCP server configuration in bulk

Thu Nov 29, 2018 12:53 pm

Hi,

You can set up everything in a router after which you export the configuration.
If you look into the exported file you will see that it contains all the commands that generate the settings made.

https://wiki.mikrotik.com/wiki/Manual:C ... Management

Best regards,
Geo

Who is online

Users browsing this forum: No registered users and 9 guests