Hi Guys
My scripting skills on Mikrotik is limited and need some assistance to, hope this is the right place for this if not please feel free to point me in the right direction
I have 2 l2tp tunnels that need to push over 2 different interfaces using 2 different public IP's to force them to go over the right routes i use the SRC address field to force
them to use that IP in that interface to get out and I have a dedicated route to each l2tp server route distance lower than that of default routes
These connect to a controller that manages the WAN connections and monitors if they up or down etc
This seems to work well sofar
My problem is that the 2 interfaces run DHCP so I need a script for DHCP that will change the SRC IP in the client when the IP changes
so that the l2tp clients can connect via the new addresses I cant do this from the controller unfortunately so I need to try do this via the dhcp-client script feature or the scheduler
Is there any easy way to script this and is it even possible and does anyone have a magic script for me to do this