Hi all,
i need some help,i have an RB-433AH,at ether1 i have connected my adsl router,i also have 2 vpn clients (pptp) that if my adsl not working to have internet from one or the other vpn’s.
My question is how can i do to change gateway from my adsl router to one or the other vpn if i do not have internet from my provider but my adsl router is still connected to my routerboard. I think that they have to ping something like google but how can i do that?
Thanks for your time!
How can your VPN’s connect if you don’t have a connection from your provider?
Edit your /IP routes
Remove the Dynamic PPPoE ADSL remove and add it as static use the check gateway option (distance 1). If the route fails it is removed.
Add a new route to your VPN at distance 2 (route will only be used if dsl goes down)
This is all assuming you can each the VPN on some alternate medium.
Exactly. With only one connection I am not sure how this is going to work.
Let me explain,
Adsl comes form ether1 to my routerboard,the other 2 vpn’s come for 2 different wan connections.
in the /ip routes i have my adsl distance 1 and the onter 2 vpn distance 2 and 3 but my problem is that if my provider has problem with internet my adsl router is beeing connected but there is not internet so the routes does not change as my router is still conected to my ether,only on AC loss it will change to second or third wan vpn,thats why i ask if there is a way to ping for example google and if there is not ping to change to vpn2 and if also vpn2 does not ping yahoo to change to vpn3.
you can use netwatch (Tool - Netwatch).
P
And can it be done? Because i have no idea! ![]()
Take a look at this thread.
http://forum.mikrotik.com/t/how-to-check-the-second-next-hop-to-see-if-a-route-is-up/55148/1
Does this help?