Page 1 of 1

Ping same IP via two gateways

Posted: Tue Mar 05, 2019 12:31 pm
by wojciechbogacz
Hi Everyone !

I'm new here though I've been using the forum for some time now to search for information :)

I'm monitoring my company network using Dude and have a little dilemma.

We have two independent ISP's and they're both connected to the same Mikrotik (which is our gateway and main router).

I want to monitor a couple IP's (in the Internet) using two different gateways - I want two have to objects in my dude map. For example one object will be monitoring IP via ISP #1 and second via ISP #2.

I believe it can be done - I have one idea how to achieve this but I'd like to know you opinion on the topic. For the moment I can't change anything in configuration of main router - just the one dude server runs on.

Re: Ping same IP via two gateways

Posted: Wed Mar 06, 2019 3:22 am
by vecernik87
If you really have two physical gateways, you can use them as Dude Agents:
https://wiki.mikrotik.com/wiki/Manual:T ... _v6/Agents

That way, you can select for each monitored IP, which Agent (in your case gateway/ISP) should monitor it. You can even monitor the same IP from multiple different agents at the same time (I am doing it to compare performance of several sites connected with VPN and monitored with single Dude Server)


(yay! 500 posts!)

Re: Ping same IP via two gateways

Posted: Thu Mar 07, 2019 9:02 am
by wojciechbogacz
But - there are two ISP's connected to one router - and there's no dude installed on it (it's a company router - If they agree for the installation I'll figure something out but if not then I will have to think of some workaround.

Re: Ping same IP via two gateways

Posted: Thu Mar 07, 2019 12:17 pm
by buvarbeno
But - there are two ISP's connected to one router - and there's no dude installed on it (it's a company router - If they agree for the installation I'll figure something out but if not then I will have to think of some workaround.
With NAT and/or routing marks the problem can be solved.
- NAT: you hide the external ip-s of the monitoring program, it looks like, the router try to connect from the internal network,
- Routing mark: the router knows where the connection is originated and it can follow and route back the package to the right ISP.