Community discussions

MikroTik App
 
sogorman
just joined
Topic Author
Posts: 4
Joined: Wed Mar 30, 2022 11:43 pm

Update Static Route from DHCP value

Wed Mar 30, 2022 11:46 pm

Good afternoon, sorry fort the noob scripting question but I am trying to write a script to update some dynamic routes with values from some interface DHCP gateways.

In general..

SET ROUTE GATEWAY [WHERE COMMENT="SOMECOMMENT"] gateway=[FIND DHCP GATEWAY WHERE SOME INTERFACE COMMENT = ""]

I have looked around but can't find a usable solution.

Sean

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], infabo, thomassocz and 73 guests