I want to add the following in batches in the add list:
list=user_1
address=172.16.1.1-172.16.1.5
list=user_2
address=172.16.1.6-172.16.1.10
......
list=user_50
address=172.16.1.246-172.16.1.250
I failed to add with the following script, can you help me modify it?
:for i from=1 to 50 do={/ip firewall address-list add list=("user_".$i) address=(("172.16.1.".$i*5-4)"-"( "172.16.1.".$i*5))}