I have two Gateways.On LAN side, both gateways are always accessible, so the check-gateway=ping doesn't work for me to select right route. What I want to do is to check, if gateway has access to the internet.
Simple solution would be nslookup check on each gateway, how can that be implemented in RouterOS, instead of ping test to gateway's LAN IP.
The situation is:
(Public IP)
ISP1 GW
|
|
(DHCP public IP)
Client/gateway 1
(Fixed LAN1 IP)
|
RouterOS ----- LAN
|
|
(Fixed LAN2 IP)
Client/gateway 2
(DHCP Public IP)
|
|
ISP2 GW
(public IP)
Ping check isn't suitable form me, because each Client/gateway is accessible from RouterOS and each ISP gateway is accessible from the internet.
Out of RouterOS, I want to send nslookup to each client/gateway DNS server, that would solve my case.