Community discussions

MikroTik App
 
gnuttisch
Member
Member
Topic Author
Posts: 308
Joined: Fri Sep 10, 2010 3:49 pm

feature request PPP

Mon Feb 06, 2012 6:43 pm

Hi

In our case we have two separate internet supplier, if one fails the other will run as backup.
Our customers have ppp connection to us, one on each internet access. So that they can reach us if one of the internet connections fails.

Under ppp/secrets we add the login data and the route to the customor. We would love that we also could edit the distance.

Because the two ppp connections to our customer have the same distance 1. And the traffic is then hard to handle if it should run only on one ppp and the other if the first fails.
Often the traffic sends on one link and receive on the other one.

Image
 
gnuttisch
Member
Member
Topic Author
Posts: 308
Joined: Fri Sep 10, 2010 3:49 pm

Re: feature request PPP

Tue Feb 07, 2012 5:57 pm

any respons?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: feature request PPP

Wed Feb 08, 2012 6:26 pm

so, what's question?..
 
gnuttisch
Member
Member
Topic Author
Posts: 308
Joined: Fri Sep 10, 2010 3:49 pm

feature request PPP

Wed Feb 08, 2012 6:36 pm

If mikrotik will add distance to ppp connections.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: feature request PPP

Wed Feb 08, 2012 7:59 pm

uncheck 'Add Default Route' in PPP Client, add default route manually, setting gateway=interface_name

then you will be able to set any distance you want
 
gnuttisch
Member
Member
Topic Author
Posts: 308
Joined: Fri Sep 10, 2010 3:49 pm

Re: feature request PPP

Thu Feb 09, 2012 11:14 am

Hi and thanks for the replay, but I'm afraid that you are wrong.

The Default Route has never been enabled. AND it is very important that the client runs internet traffic locally, not true the ppp connection and uses the internet at us.


On the client side I have two ppp connections.
In the route list i add for example:

172.29.80.0/24 via 10.10.1.1 ppp-connection-1 distance 10
172.29.80.0/24 via 10.10.2.1 ppp-connection-2 distance 11

The traffic on the client site will run via ppp-connection-1

BUT, in our end. When I set up the secret I also edit the route. So that the connections automatically adds the route to the client when connected.
It will shows like this.

172.30.1.0/24 via 10.10.1.254 ppp-connection-1 distance 1
172.30.1.0/24 via 10.10.2.254 ppp-connection-2 distance 1

The traffic will receive on ppp-connection1 but will sometimes send on the ppp-connection2.

To some it up, I would love to that mikrotik would add distance under Routes in Secrets. Otherwise I have to ad the route manually in our site as well.

May by someone at mikrotik could comment this, Normis?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: feature request PPP

Thu Feb 09, 2012 11:23 am

well, I don't think they will add this feature in near future, so just add static routes on your site...
 
gnuttisch
Member
Member
Topic Author
Posts: 308
Joined: Fri Sep 10, 2010 3:49 pm

Re: feature request PPP

Thu Feb 09, 2012 11:35 am

Thanks for the reply, hope that you understand my dilemma.

And I hope that someone at mikrotik reads this, They can add a SMB feature. So do edit the route code in secret cant be to hard for them =)
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: feature request PPP

Thu Feb 09, 2012 11:48 am

It is already posible. In ppp settings routes can be listed as <dst> <gateway> <metric>.

Please read documentation
http://wiki.mikrotik.com/wiki/Manual:PP ... r_Database
 
gnuttisch
Member
Member
Topic Author
Posts: 308
Joined: Fri Sep 10, 2010 3:49 pm

Re: feature request PPP

Thu Feb 09, 2012 11:54 am

Sorry but i'm not following, where can I set the distance of the route that I added in the secret?

Sorry! Found it in manual, but witch release should i use?
 
gnuttisch
Member
Member
Topic Author
Posts: 308
Joined: Fri Sep 10, 2010 3:49 pm

Re: feature request PPP

Thu Feb 09, 2012 12:11 pm

From the manual:
"Routes that appear on the server when the client is connected. The route format is: dst-address gateway metric (for example, 10.1.0.0/ 24 10.0.0.1 1). Several routes may be specified separated with commas. This parameter will be ignored for OpenVPN."

Dont really understand this.
How do i know the gateway adress? that one is dynamic if I don't manually put it in there, under Remote Address. Otherwise it will take on of the pool.

Cant i Just write: 10.1.0.0/24 10
Where 10 is the distance?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: feature request PPP

Thu Feb 09, 2012 12:46 pm

They can add a SMB feature. So do edit the route code in secret cant be to hard for them =)
[offtop]I'm waiting for DHCP Options from RADIUS response for a few years already xD[/offtop]
 
gnuttisch
Member
Member
Topic Author
Posts: 308
Joined: Fri Sep 10, 2010 3:49 pm

Re: feature request PPP

Thu Feb 09, 2012 1:05 pm

maybe they thought that SMB was more important :)

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 110 guests