Community discussions

MikroTik App
 
Rivera
Member Candidate
Member Candidate
Topic Author
Posts: 105
Joined: Thu Jul 21, 2011 7:42 pm

[Request] Ping via specific gateway in netwatch

Thu Oct 04, 2012 1:37 pm

Should be easy to implement and will be useful, for example enabling ADSL/3G interface and switching routes if 8.8.8.8 is not pingable from main uplink.
 
andriys
Forum Guru
Forum Guru
Posts: 1527
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: [Request] Ping via specific gateway in netwatch

Thu Oct 04, 2012 1:55 pm

Should be easy to implement and will be useful, for example enabling ADSL/3G interface and switching routes if 8.8.8.8 is not pingable from main uplink.
This is what you seem to be looking for: http://wiki.mikrotik.com/wiki/Advanced_ ... _Scripting
 
Rivera
Member Candidate
Member Candidate
Topic Author
Posts: 105
Joined: Thu Jul 21, 2011 7:42 pm

Re: [Request] Ping via specific gateway in netwatch

Thu Oct 04, 2012 2:13 pm

Should be easy to implement and will be useful, for example enabling ADSL/3G interface and switching routes if 8.8.8.8 is not pingable from main uplink.
This is what you seem to be looking for: http://wiki.mikrotik.com/wiki/Advanced_ ... _Scripting
Non exactly that. Example:
We have fallback ADSL provider who charges us based on if we connecting to them in certain day or not. If not, charge will be small, if yes - pretty high. If i use routing failover, i need to keep interface up all time, meaning i should pay for fallback channel more than for primary :)
And there is no way in routing fallback to notify me that primary uplink went down. Or i don't know how.
 
hedele
Member
Member
Posts: 338
Joined: Tue Feb 24, 2009 11:23 pm

Re: [Request] Ping via specific gateway in netwatch

Thu Oct 04, 2012 2:48 pm

I would just create a /32 route for the destination you intend to ping, pointing to your main gateway.
8.8.4.4 would be better for that, since a lot of people may actually use 8.8.8.8 as primary dns.
 
Rivera
Member Candidate
Member Candidate
Topic Author
Posts: 105
Joined: Thu Jul 21, 2011 7:42 pm

Re: [Request] Ping via specific gateway in netwatch

Mon Oct 08, 2012 12:23 am

I would just create a /32 route for the destination you intend to ping, pointing to your main gateway.
8.8.4.4 would be better for that, since a lot of people may actually use 8.8.8.8 as primary dns.
Thanks, good idea. Gotta find some useless IPs for it. But gw option will be way easier.

Who is online

Users browsing this forum: astronomicz, Google [Bot], haung05, jaclaz, raiser and 87 guests