pppoe-client distance

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)

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.

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.

It can be done dynamically with routing-test you can use the filters which will be applied to dynamic-in and/or connected-in.

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

Hello,

I have the same problem. Do I still need to use routing-test package for this?

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