Routerboard 1100 PPPoE Route "Unknown" after disconnect

Good morning

I’ve been using the Routerboard for about 4 weeks now with no problems accept i have a PPPoE tunnel that went down this morning which i have a bank of public IP addresses Routed too,

AS XX.XX.XX.XX/29 reachable 1

When the tunnel DC it then comes back in blue with

XX.XX.XX.XX/29 UNKNOWN Unreachable

i then click and can reselect the PPPOECLIENTNAME and it comes back up.

Is there a way of permanently assigning this route so it Automatically comes back up if the tunnel id DC then reconnected

Many Thanks

hmmm you could probably do it with a script that you fire every 5 mins or after a media state change, if you need help with a template i can try and assist you.

Thanks for your quick response

Using a script to do this is a good idea but it isnt something ive done on these devices before, so any help would be much appreciated

But i would have thought there is some functionality within the device to route public IP address of a PPPoE tunnel that doesnt need to be manually configured after every Disconnect

What do you think?

Thanks

if you have this route on pppoe-client, add interface name as gateway. on server side you will have to add static server interface for that client, so when it connects traffic can be routed through that interface.

Hi janisk

Thanks for your response

I Have the route in place and it works fine when the interface is up but when it goes down and comes back up i have to manually add the route again, so im looking for a way for it to automatically put the route back in after it has been disconnected

Does this make sense?

Thanks

i was talking exactly about this scenario:

in router on pppoe-client side you already have static interface that connects to pppoe-server. When PPPoE-client reconnets route becomes active (tried it on 5.0rc11)

on pppoe-server - if no interface is added - dynamic interface is created and that interface has its ID, that is used by route, when new interface is created when client reconnets, new ID is created again, so route holds old ID in place and is inactive. To overcome it you have to add pppoe-out interface for the user you want to assign some routes to, so you can use the interface as route gateway and it would hold its ID no matter of client state.

Im using winbox to configure this device where do i find the option to do this

Thanks for all your help sorry i miss understood

PPP → Interface tab-> new interface → pppoe-server and fill out the fields, so correct user can use that.

I’m using version MT 5.2
You probably have the same problem a few months, every now and then I have to reset the gateway to fix the unknow reachable gateway / ip routes for PPPoE sesion.


Prinscrean the problem with the version 5rc7
Version 5.2 is the same
mt5.0rc7 _2.png
Will there be any solution to this?

Welcome! rickson

Have you solved this problem?

You should not use interface in your static route configuration, instead use an IP address.

So when the PPP disconnected temporarily, the static route/gateway wouldn’t be changed into “Unknown unreachable”, it would be just “xx.xx.xx.xx Unreachable”. When the PPP interface got reconnected, the gateway would be automatically back to “xx.xx.xx.xx reachable through ”