I followed the wiki instructions and have ecmp set up and working on eth 1 and eth 2.
Eth1 address 10.1.10.150, gateway 10.1.10.1
Eth2 address 10.2.10.152, gateway 10.2.10.1
My ECMP setup is per the wiki.
My Netwatch is set up as such:
#1
Host: (off-network IP address #1)
interval: 00:00:30
timeout: 3000ms
On up: /ip route set [find comment=“Default Route to Internet”] gateway=10.1.10.1
On down: /ip route set [find comment=“Default Route to Internet”] comment=“” gateway=10.2.10.1 disabled=no
#2
Host: (off-network IP address #2)
interval: 00:00:30
timeout: 3000ms
On up: /ip route set [find comment=“SMTP Traffic Out”] gateway=10.2.10.1
On down: /ip route set [find comment=“SMTP Traffic Out”] gateway=10.1.10.1
/System Scripts
ECMP-shutdown
:if ([/ping 4.2.2.2 count=1]=0 || [/ping 208.67.222.222 count=1]=0) do=(:log info “Gateway Down” /ip route set [find routing-mark=“ecmp-http-route” disabled=yes)
ECMP-startup
:if ([/ping 4.2.2.2 count=1]=1 && [/ping 208.67.222.222 count=1]=1 && [/ip route get [find routing-mark=“ecmp-http-route”] disabled]=true) do=(:log info “Both Gateways are up” /ip route set [find routing-mark=“ecmp-http-route”] disable=no)
The scheduler runs the scripts every 30 seconds.
When I unplug Eth2 all traffic goes out eth1 no problem. When I unplug eth1 (with eth2 plugged in) no traffic goes anywhere.
Also, I can not tunnel into the mikrotik via winbox through eth2, even when both are plugged in.
Ideas?
Thanks
-Nate
edit C’mon, it’s not working for me and someone out there can see the hole in it …