feature request PPP

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.

any respons?

so, what’s question?..

If mikrotik will add distance to ppp connections.

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

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?

well, I don’t think they will add this feature in near future, so just add static routes on your site…

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 =)

It is already posible. In ppp settings routes can be listed as .

Please read documentation
http://wiki.mikrotik.com/wiki/Manual:PPP_AAA#User_Database

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?

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?

[offtop]I’m waiting for DHCP Options from RADIUS response for a few years already xD[/offtop]

maybe they thought that SMB was more important :slight_smile: