Hi All,
I hope someone can help me with the following, I have one static ip address which will be my default route to the internet on ether1, I also have a SXT LTE which is connected to ether2 and providing a dynamic ip, i followed this tutorial: https://www.youtube.com/watch?v=eTmpBAAW_pQ&t=993s.
The issue I am facing is that I know the gateway for ether1 which will remain static but not for ether2, question is how I deal with this, the nature of the LTE connection means the ip/gateway will constantly be changing. I did the following:
add dst-address=1.0.0.1 gateway=192.168.199.1 scope=10
add dst-address=4.2.2.2 gateway=ether2 scope=10
add dst-address=0.0.0.0/0 gateway=1.0.0.1 target scope=11
check-gateway=ping distance=1
add dst-address=0.0.0.0/0 gateway=4.2.2.2 target scope=11
check-gateway=ping distance=2
my config below:
/ip route
add comment="monitor external host via isp2" disabled=no distance=1 \
dst-address=4.2.2.2/32 gateway=ether2 pref-src="" routing-table=main scope=\
10 suppress-hw-offload=no target-scope=10
add comment="monitor external host via isp1" disabled=no distance=1 \
dst-address=1.0.0.1/32 gateway=192.168.199.1 pref-src="" routing-table=main \
scope=10 suppress-hw-offload=no target-scope=10
add check-gateway=ping comment="default main route via isp1" disabled=no \
distance=1 dst-address=0.0.0.0/0 gateway=1.0.0.1 pref-src="" routing-table=\
main scope=30 suppress-hw-offload=no target-scope=11
add check-gateway=ping comment="failover route via isp2" disabled=no distance=2 \
dst-address=0.0.0.0/0 gateway=4.2.2.2 routing-table=main \
suppress-hw-offload=no target-scope=11
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=ether2 pref-src="" \
routing-table=main scope=30 suppress-hw-offload=no target-scope=10
This the result of the config:
download/file.php?mode=view&id=57299
Any help will be greatly appreciated