Community discussions

MikroTik App
 
nordex
Member Candidate
Member Candidate
Topic Author
Posts: 103
Joined: Fri Mar 23, 2007 7:46 pm
Location: Croatia

pppoe-client distance

Mon May 14, 2007 1:14 pm

Hello,

on my MT Internet gateway I would like to use pppoe connection to ISP as backup line, but pppoe should be allways connected.

Well, how to change that pppoe connection does not have 'distance' 1 ?

I have dynamic ip from isp on pppoe and static on leased line (primary link)
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Mon May 14, 2007 1:43 pm

If I understand you correctly, you want to use second gateway from PPPoE tunnel. Specify 'add-default-route=no' for the PPPoE client configuration and use static route entry for PPPoE.
 
nordex
Member Candidate
Member Candidate
Topic Author
Posts: 103
Joined: Fri Mar 23, 2007 7:46 pm
Location: Croatia

Mon May 14, 2007 4:59 pm

Yes, I want to use pppoe connection as second gateway.
But, how to manually add it to route list when it gets dynamic ip every time ?

p.s. pppoe is on its separated ethernet card.
 
sten
Forum Veteran
Forum Veteran
Posts: 919
Joined: Tue Jun 01, 2004 12:10 pm

Mon May 14, 2007 6:37 pm

It can be done dynamically with routing-test you can use the filters which will be applied to dynamic-in and/or connected-in.
 
nordex
Member Candidate
Member Candidate
Topic Author
Posts: 103
Joined: Fri Mar 23, 2007 7:46 pm
Location: Croatia

Mon May 14, 2007 9:49 pm

that's it !
tnx

for others who would like to change default distance for dynamic routes :


Routes> filter

add chain=dynamic-in invert-match=no action=passthrough set-distance=20 comment="" disabled=no
 
User avatar
m4rk0
Member Candidate
Member Candidate
Posts: 196
Joined: Sat Feb 16, 2008 8:30 pm
Location: BA
Contact:

Re: pppoe-client distance

Tue Sep 13, 2011 1:40 pm

Hello,

I have the same problem. Do I still need to use routing-test package for this?
 
sten
Forum Veteran
Forum Veteran
Posts: 919
Joined: Tue Jun 01, 2004 12:10 pm

Re: pppoe-client distance

Tue Sep 13, 2011 3:06 pm

No, that routing-test package has long since become the normal routing package. (That was posted in 2007 when regular package didn't have that kind of functionality).
The regular package will do just fine.
 
User avatar
m4rk0
Member Candidate
Member Candidate
Posts: 196
Joined: Sat Feb 16, 2008 8:30 pm
Location: BA
Contact:

Re: pppoe-client distance

Tue Sep 13, 2011 10:15 pm

No, that routing-test package has long since become the normal routing package. (That was posted in 2007 when regular package didn't have that kind of functionality).
The regular package will do just fine.
OK, thanx. I've found it...

[WINBOX] Routing > Filters

Who is online

Users browsing this forum: anav, kleshki and 26 guests