Community discussions

MikroTik App
 
tom8823
just joined
Topic Author
Posts: 16
Joined: Tue Nov 04, 2014 2:06 pm

Muliple PPPoE, only one should be default

Fri Aug 21, 2015 10:32 am

Hi, I have 6 PPPoE connections from my ISP.

I only want to use first one as default connection.

The other 5 should be only used to serve different websites on ports 80.

So we want to masquerade all traffic through PPPoE-OUT1 and use NAT to port forward

PPPoE-OUT2:80 to 192.168.1.2:80
PPPoE-OUT3:80 to 192.168.1.3:80
etc...

Traffic from LAN should NEVER go through PPPOE2-5 as it has different public IP.

I don't know how to do that. I watched many tutorials on Youtube and I see everybody is masquerading all traffic through all WANs and they are using marking.

Please show me sample config to stay with PPPoe1 as default WAN and only use PPPoe2-5 as gateway for some IP's

My problem is that as soon as I enable PPPoe2 it removes default route for PPPoe1 and my Internet stops working so right now my interfaces PPPoe2-5 are disabled
 
leonset
Member Candidate
Member Candidate
Posts: 256
Joined: Wed Apr 01, 2009 9:09 pm

Re: Muliple PPPoE, only one should be default

Mon Aug 24, 2015 1:03 pm

In the pppoe client, in the Dial out tab, uncheck "add default route" for PPPoE-out2 to 5, and leave it ticked only for PPPoE-out1. Then add routes/nat manually to route things on your PPPoE2 to 5 connections, otherwise they wont be used for anything.
 
tom8823
just joined
Topic Author
Posts: 16
Joined: Tue Nov 04, 2014 2:06 pm

Re: Muliple PPPoE, only one should be default

Mon Aug 24, 2015 1:35 pm

The problem is I already unticked that and it still adds default route.

I have PPPoe1 and PPPoe2. I enabled only PPPoe1 and it added route 0.0.0.0

Now when I enable PPPoe2 it replaces route 0.0.0.0 reacheble IP for PPPoe2

Latest firmware 6.3.1

Is this a bug?
 
Ape
Member Candidate
Member Candidate
Posts: 177
Joined: Sun Oct 06, 2013 3:32 pm
Location: Freiburg, Germany
Contact:

Re: Muliple PPPoE, only one should be default

Mon Aug 24, 2015 1:40 pm

Hi,

if you unchecked "Add default route" in the PPPoE client's configuration and it still adds a default route for this PPPoE client then yes, it's a bug.

Ape

Who is online

Users browsing this forum: No registered users and 18 guests