Hi
supernew to mikrotik - got a CCR1009-7G-S-S+-PC (used peplink balance one core before that, till i hit the 400mbps limitation)
setting up single WAN with NAT surprisingly required some time but i am past that and happy.
really love CLI over SSH (not a fan of Winbox especially given my main laptop is mac)
so want to set up dualWAN (and play with different ways of load balancing it PCC, firewall marking etc trying to understand what are the pros/cons and how can i configure it for my needs with weighted/priority outbound rules and not break any sensitive protocols like https,udp+voip,etc)
but as a first basic step want to test simple failover: use WAN1 and if it fails fallback to WAN2, but once WAN1 is back online switch to it
so couple of questions
1) is there a ping only method to check if connection is alive, i am used to dns query check - like it more
2) so lot of different instructions are rather simple but all have explicit gateway commands like
/ip route add gateway=192.168.1.1 check-gateway=ping
/ip route add gateway=192.168.2.1 distance=2
but both my connections are dynamic public IP:
WAN1: /ip dhcp-client add interface=ether1 disabled=no
WAN2: /interface pppoe-client add disabled=no interface=combo1 user=xxxxxxx password=xxxxxxx add-default-route=yes use-peer-dns=yes
so how should i proceed if i want to add those properties into dhcp WAN(check-gateway=ping) and distance=2 into pppoe obtained gateway