Hi!
The provider requires that we give him two different mac-addresses through one WAN, and set up them VLAN connection via DHCP (vlan=942) and PPPoE (vlan=302)
How can we do it? I read about virtual interfaces, but they are not available on ARM architecture and as I understand, VRRP is not designed for this task.
At the moment I have set up a connection only via PPPoE, but I have encountered the problem that the network is missing on some devices. They get the network settings, but have no access to the Internet, the same problem is observed on the cable through the switch and on WI-FI. Clearing ARP/Lease/DNS Cache helps temporarily.
In addition, sometimes there are empty MACs in Lease. I tried to find the source of the flood, but to no avail.
Config:
I am no expert when it comes to funky providers LOL but wil take a stab..
/interface vlan
add interface=ether1 name=vlanPPP vlan-id=302
add interface=ether1 name=vlanDHCP vlan=id=942
ON the PPP Menu, select PPPOE client-
For interface select vlanPPP, ensure default route is selected
add in your username and password on dial out tab.
ON IP DHCP CLIENT Menu,
Select for interface=vlanDHCP
Select as well the checkbox for default route.
As for two mac addresses for one etherport, beyond my skills.
/interface list members
add interface=pppoe-out1 list=WAN
add interface=vlanDHCP list=WAN
add interface=ether1 list=WAN
Correct me if I’m wrong, but in this case, would it be the same mac for both types of connections? My ISP requires me to have a different mac for these connections. He mentioned that they have to be bridged, and the second channel (in my case it’s DHCP) has to broadcast to the second port of the bridge, but I have no idea how that’s supposed to look and work. Unfortunately, I couldn’t find a solution on the forum or in the wiki.
Do you also have any idea what could be causing the connectivity problem on devices in the network? Could it be ISP related? We used to be connected to another one and there were no such problems. I took a different Mikrotik for the test, but the problems were similar. With tp-link, this situation is not observed
Apparently there is a way to do want you want but its very complicated. The requirement for two separate mac addresses is the killer. Blows my simple config out of the water.
The config below makes use of the fact that we do have one mac address already, and can use the mac address of ether1 for the easier DHCP setting.
Then we have to create the bridge so as to be able to assign a different mac address ( the bridge is just being used for that purpose) for the pppoe connection.
We do have to use another interfaces mac address on the router for the Bridge we are making for the PPPOE connection.
On bridge settings we make use of the admin mac option to add this mac address. You should also note we make use of default route in the IP DHCP settings. It may seem a bit counter-intuitive it being the easier interface or at least less complex, but the pppoe interface is actually easier because we can identify the gateway by the pppoe-name.
It feels weird because we slotting in the PPPOE vlan between ( or viewed as connecting ) ether1 and the Bridge. Normally we connect ether1 to the PPPOE interface, and in this case the PPPOE interface is connected to the bridge.
We are stealing port5s mac address LOL. Since this is only for the ISPs viewing/needs, it wont affect any traffic on port 5 itself.