Community discussions

MikroTik App
 
rickson
just joined
Topic Author
Posts: 9
Joined: Thu Feb 17, 2011 1:37 pm

Routerboard 1100 PPPoE Route "Unknown" after disconnect

Wed Mar 09, 2011 12:21 pm

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 <PPPOECLIENTNAME> 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
 
CyberT
Member Candidate
Member Candidate
Posts: 172
Joined: Tue Feb 01, 2011 1:39 pm
Location: Johannesburg, South Africa
Contact:

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Wed Mar 09, 2011 12:47 pm

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.
 
rickson
just joined
Topic Author
Posts: 9
Joined: Thu Feb 17, 2011 1:37 pm

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Wed Mar 09, 2011 2:50 pm

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
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Thu Mar 10, 2011 1:53 pm

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.
 
rickson
just joined
Topic Author
Posts: 9
Joined: Thu Feb 17, 2011 1:37 pm

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Thu Mar 10, 2011 2:44 pm

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
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Thu Mar 10, 2011 4:14 pm

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.
 
rickson
just joined
Topic Author
Posts: 9
Joined: Thu Feb 17, 2011 1:37 pm

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Thu Mar 10, 2011 4:48 pm

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
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Fri Mar 11, 2011 2:44 pm

PPP -> Interface tab-> new interface -> pppoe-server and fill out the fields, so correct user can use that.
 
michall53
just joined
Posts: 9
Joined: Tue Jan 25, 2011 4:22 pm

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Sat May 28, 2011 2:32 pm

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?
You do not have the required permissions to view the files attached to this post.
 
michall53
just joined
Posts: 9
Joined: Tue Jan 25, 2011 4:22 pm

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Mon Jul 25, 2011 11:24 am

When the tunnel DC it then comes back in blue with

XX.XX.XX.XX/29 UNKNOWN Unreachable

Many Thanks
Welcome! rickson

Have you solved this problem?
 
hasrule
just joined
Posts: 1
Joined: Thu Aug 20, 2015 9:57 am

Re: Routerboard 1100 PPPoE Route "Unknown" after disconnect

Thu Aug 20, 2015 10:02 am

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 <your-ppp-name>"