Are you confusing MAC-based vlans with MACVLAN? MACVLAN is to allow you to emulate two (or more) ethernet adapters, each with their own MAC address, but using the same physical port. Vyos/vyatta/edgeos calls this feature psuedo-ethernet, which I think is less confusing than MACVLAN, but MACVLAN is the linux name for the feature. Wilmer Almazan / The Network Trip has a youtube video MACVLAN Mikrotik - Multiple MACs, One Interface that discusses the use cases for MACVLAN, and it is worth watching.After successfully configuring my network with VLANs, I had to change the topology, and now I have a situation where one ethernet port has to serve two machines that are in different VLANs. I tried enabling the MACVLAN, untagging the ethernet port and allowing all traffic and setting DHCP on the macvlan1, but no machine was detected in the port, even before the DHCP server had a chance to connect to it. What is the correct way to change the "standard" VLAN configuration for one port being trunk with MACVLAN on it?
So if you really want two distinct broadcast domains, you should be using a vlans to send at two virtual LANs to the far end. You will need something that is vlan-aware at the far end to untag if both machines are not vlan-aware. A MikroTik RB260 (CSS106-5G-1S) would work, as would a hap ax lite. Or even cheaper a 5 or 8 port "smart switch" that is vlan aware (e.g. TL-SG105E, or netgear GS305, etc.) It seems to me you are going to need to use a switch at the far end anyway, so spend a bit more and get a switch that is vlan-aware. I would probably get an 8 port instead of a 5 port, since you can then support up to 7 devices at the far end, instead of just 4. And using "standard" IEEE802.1Q tagged vlans is a much better emulation of separate LANs, and they are supported by cheaper devices than switches that support MAC-based vlans.
Statistics: Posted by Buckeye — Thu Mar 21, 2024 11:45 am