Community discussions

 
danihill
just joined
Topic Author
Posts: 24
Joined: Wed Dec 17, 2014 9:07 pm

Recursive Failover with public IP check

Tue Oct 08, 2019 8:04 pm

Good evening all,

I am about to configure Recursive Failover on my CCR with dual WAN. The reason I am making this configuration is because my primary ISP connection has many hops before the main router and the gateway i use is not the gateway of the main router. This means if any link between my gateway adn the main router fails i do not detect the drop with a standard ping check.

This is what I am planning to do:

/ip route
add dst-address=8.8.4.4/32 gateway=10.0.1.1 scope=10 comment="Validate Primary"
add gateway=8.8.4.4 distance=1 check-gateway=ping comment=Primary
add gateway=10.0.2.1 distance=2 comment=Secondary

By doing this it should check my gateway by checking if the internet is available by doing a ping to Google DNS server.

This is all good, but does anyone know how many pings have to be lost before it disables the gateway? I am worried that sometime you can loose a ping to google and i dont want it to be changing over every time one or two pings are lost to Google DNS...
 
Sob
Forum Guru
Forum Guru
Posts: 4684
Joined: Mon Apr 20, 2009 9:11 pm

Re: Recursive Failover with public IP check

Tue Oct 08, 2019 9:17 pm

check-gateway (arp | ping; Default: "") - Periodically (every 10 seconds) check gateway by sending either ICMP echo request (ping) or ARP request (arp). If no response from gateway is received for 10 seconds, request times out. After two timeouts gateway is considered unreachable. After receiving reply from gateway it is considered reachable and timeout counter is reset.
People who quote full posts should be spanked with ethernet cable. Some exceptions for multi-topic threads may apply.
 
danihill
just joined
Topic Author
Posts: 24
Joined: Wed Dec 17, 2014 9:07 pm

Re: Recursive Failover with public IP check

Wed Oct 09, 2019 10:12 am

Many thanks.

Who is online

Users browsing this forum: No registered users and 12 guests