Community discussions

MikroTik App
 
marko1303
newbie
Topic Author
Posts: 33
Joined: Mon Apr 23, 2012 10:51 am

DSL over PPPoE + backup 3G

Wed Dec 12, 2012 7:39 pm

Is it possible on MikroTik OS to set up 3G (over USB) connection as an automatic backup if internet connection via PPPoE connection breaks.
 
rjscomms
Member Candidate
Member Candidate
Posts: 132
Joined: Fri Jan 28, 2011 12:22 pm

Re: DSL over PPPoE + backup 3G

Wed Dec 12, 2012 10:43 pm

Howdy,

yes it is possible. I set this up quickly as a test on our office router recently.

Basically you assign a default route using, for example ppp-out1 as the 3G connection, and assign a larger distance than the pppoe connection.

For example:

/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=aaa.bbb.ccc.ddd scope=30 target-scope=10
add disabled=yes distance=2 dst-address=0.0.0.0/0 gateway=ppp-out1 scope=30 target-scope=10

The second entry is disabled as I an not actually using it now. The distance is set to 2 which is larger than 1 so this route will be used as a backup.

Of course your gateway will be different.

Hope this helps.
 
marko1303
newbie
Topic Author
Posts: 33
Joined: Mon Apr 23, 2012 10:51 am

Re: DSL over PPPoE + backup 3G

Tue Dec 18, 2012 10:55 pm

Thanks. It is working well.
 
miahac
Long time Member
Long time Member
Posts: 516
Joined: Wed Dec 14, 2005 5:04 pm
Location: Wichita, KS

Re: DSL over PPPoE + backup 3G

Tue Aug 06, 2013 2:12 am

Hi I am trying to do this but I have a problem with this scenario. The routes are assigned dynamically.
Any ideas.
 
naskoblg
just joined
Posts: 6
Joined: Sun Apr 03, 2011 11:57 pm

Re: DSL over PPPoE + backup 3G

Mon Oct 19, 2015 3:02 am

Hi I am trying to do this but I have a problem with this scenario. The routes are assigned dynamically.
Any ideas.
Hi
I had same issues, but I figured out that the dynamic routes for ppp-out connections are managed on the interface dialog.

You can set the default-rout distance (for dynamically associated route) from the PPP menu under your ppp-out1 interface settings.

Good luck