Page 1 of 1
pppoe-client multiple
Posted: Tue Sep 04, 2018 6:16 am
by Cvan
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?
Re: pppoe-client multiple
Posted: Tue Sep 04, 2018 6:25 am
by mducharme
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).
Re: pppoe-client multiple
Posted: Tue Sep 04, 2018 11:40 am
by Cvan
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?