Community discussions

MikroTik App
 
moham96
newbie
Topic Author
Posts: 33
Joined: Thu Dec 21, 2017 3:08 pm

Run different PPPoE clients on the same eth port with different mac address

Mon Nov 22, 2021 1:29 am

Hello,
I have 8 PPPoE accounts, all from the same ISP, I want to add these PPPoE clients and let them run on the same interface, unfortunately the PPPoE server doesn't like multiple PPPoE connection with the same mac address, a workaround is to make a bridge over the interface and then i can change the mac address of the bridge and set the PPPoE client interface to the bridge, unfortunately it is not possible to add multiple bridges on a single interface so we're back to square on.

Another workaround that i tried is connect a cable between two interfaces and run VLANS on between these interface, then bridge everything to the ISP interface, i tried it now i can connect as many clients as i like, but the solution is not clean and i get warning about a possible loop.

An ideal solution would be to run 8 cables to a switch and the switch is connected to the ISP cable, it would definitely work without a problem and every client will have it's own mac, but i'm trying to keep the solution to one router, and also not waste 8 interfaces if possible.

any other solutions/ideas/workarounds ?

Regards
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Run different PPPoE clients on the same eth port with different mac address  [SOLVED]

Mon Nov 22, 2021 4:05 am

It's not exactly clean either, but it looks like VRRP can be misused not only for multiple DHCP clients, but also for multiple PPPoE clients:
/interface vrrp
add interface=wan name=vrrp10 v3-protocol=ipv6 vrid=10
add interface=wan name=vrrp11 v3-protocol=ipv6 vrid=11
add interface=wan name=vrrp12 v3-protocol=ipv6 vrid=12
...
/interface pppoe-client
add interface=vrrp10 name=pppoe-out10
add interface=vrrp11 name=pppoe-out11
add interface=vrrp12 name=pppoe-out12
...
Server then sees VRRP MAC addresses 00:00:5E:00:02:0A, 00:00:5E:00:02:0B, 00:00:5E:00:02:0C, ...
 
moham96
newbie
Topic Author
Posts: 33
Joined: Thu Dec 21, 2017 3:08 pm

Re: Run different PPPoE clients on the same eth port with different mac address

Tue Oct 25, 2022 12:57 pm

It's not exactly clean either, but it looks like VRRP can be misused not only for multiple DHCP clients, but also for multiple PPPoE clients:
/interface vrrp
add interface=wan name=vrrp10 v3-protocol=ipv6 vrid=10
add interface=wan name=vrrp11 v3-protocol=ipv6 vrid=11
add interface=wan name=vrrp12 v3-protocol=ipv6 vrid=12
...
/interface pppoe-client
add interface=vrrp10 name=pppoe-out10
add interface=vrrp11 name=pppoe-out11
add interface=vrrp12 name=pppoe-out12
...
Server then sees VRRP MAC addresses 00:00:5E:00:02:0A, 00:00:5E:00:02:0B, 00:00:5E:00:02:0C, ...
Hi,
I've been using this trick for some time now it works perfectly, but recently I've been getting an "invalid" flag when adding an ipv6 VRRP interface, sometimes it works after rebooting the device, but now it always stays invalid, why is that?
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: Run different PPPoE clients on the same eth port with different mac address

Wed Oct 26, 2022 2:49 am

I can't say. Does it happen even when you just add it, before you do anything else with it? I don't know what could cause that. Perhaps disabled IPv6 (I can't test it right now)?

Who is online

Users browsing this forum: abbio90 and 103 guests