There are two WAN. For static I know how to set rules and by changing the Distance to make walking traffic from specific IP to specific WAN.
But as one of WANов we get the IP address via DHCP, the route in the IP Route List is generated automatically and there is written record with a Distance 0, respectively, the traffic goes through this route.
If I give them static for all WANов, then everything works. But I can't leave the statics as provider may change the settings and to start issuing a different IP via DHCP.
How can I change the Distance for dynamic route?
p.s. With scripts in Mikrotik I did not understand and they do not understand.