Community discussions

MikroTik App
 
Cvan
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Sat Jun 09, 2018 3:32 am

pppoe-client multiple

Tue Sep 04, 2018 6:16 am

I have two static IPs from ISP - A and B

Can I have them both public IPs connected at the same time via pppoe-client connection through a single interface (ether1)?
Then can I separate the traffic; say for example have all IO traffic for vlan2 routed through IP (A) and all IO traffic for vlan3 routed through B?
 
mducharme
Trainer
Trainer
Posts: 1777
Joined: Tue Jul 19, 2016 6:45 pm
Location: Vancouver, BC, Canada

Re: pppoe-client multiple

Tue Sep 04, 2018 6:25 am

Yes, you can do this with policy routing. You need to apply routing marks (using firewall->mangle) for the traffic that should go out connection #2. That will need a corresponding default route added with the appropriate routing mark. When using policy routing, connected subnets are not included, so make sure that you are only marking routing for traffic that should go out connection #2, not for traffic that is coming in connection #2 (otherwise you will be sending it back out again in a loop).
 
Cvan
Member Candidate
Member Candidate
Topic Author
Posts: 129
Joined: Sat Jun 09, 2018 3:32 am

Re: pppoe-client multiple

Tue Sep 04, 2018 11:40 am

Okay, Thanks for that bit of info.

But before I get to that configuration part, I first need to setup the two pppoe client connections on ether1. I have read some posts and it sounds like
I need to create a WAN bridge and assign it as the interface for pppoe-cl1 and pppoe-cl2 and assign each IP to the profile for each client connection..?
And maybe turn off dial on demand? I tried a few variations but have not had any success using both connections at the same time.
I only use the one account from the ISP to connect with both pppoe connections. How do I configure them to be connected at the same time?