Since I have several gateways (one without routing mark and others with routing marked for routing policy), I need to change them in a script. Using the exact example in docs (below), it changes all my default gateways. /ip route set [/ip route find dst-address="0.0.0.0/0"] gateway 10.0.0....