Beruflich Dokumente
Kultur Dokumente
/ip dhcp-client
add add-default-route=no dhcp-options=hostname,clientid disabled=no
interface=ether1-gateway use-peer-dns=no use-peer-ntp=no
add add-default-route=no dhcp-options=hostname,clientid disabled=no
interface=ether2-gateway use-peer-dns=no use-peer-ntp=no
/ip address
add address=192.168.88.1/24 interface=ether3 network=192.168.88.0
/ip route
add check-gateway=ping comment="Ether1-Wan routing gateway" distance=1
gateway=192.168.0.1 routing-mark=to_ether1
add check-gateway=ping comment="Ether2-Wan routing gateway" distance=1
gateway=192.168.1.1 routing-mark=to_ether2
add comment=Ether1-Wan distance=1 gateway=192.168.0.1
add comment=Ether2-Wan distance=2 gateway=192.168.1.1
Create New Script with name ChangeGateways and copy below lines.