I'm configuring a Mikrotik CSS-class switch (SwitchOS) for use with a Proxmox node.
One of the options on the switch is whether I want Independent VLAN lookup or Shared VLAN lookup. None of my other switches have asked me this; I'm not sure what they default to.
After communing with the switch docs, I've figured out this much:
So, VM and LXC vNICs all get their own MACs by default. But on the PVE host, every defined VLAN on a VMBR bridge shares the VMBR bridge MAC.
One of the options on the switch is whether I want Independent VLAN lookup or Shared VLAN lookup. None of my other switches have asked me this; I'm not sure what they default to.
After communing with the switch docs, I've figured out this much:
Code:
Independent VLAN Lookup.
Enable or disable independent VLAN lookup in the Host table for packet forwarding.
Default: Off.
Notes
When to enable: "Will you have the SAME interface on the same device accessing multiple VLANs with the same MAC address?"
N.B.: "hypervisors will ensure every vnic should have a unique MAC..."
Only turn this on if something isn't working downstream.
So, VM and LXC vNICs all get their own MACs by default. But on the PVE host, every defined VLAN on a VMBR bridge shares the VMBR bridge MAC.
- I'm running VM and LXC containers on multiple VLANs.
- Two of my VLANs on VMBR1 each have different IPs on them that can reach the Proxmox host (management and storage networks), using the same MAC.
- Given that the VLAN virtual interfaces themselves share the same MAC, should I turn on independent VLAN lookup?
- What happens if I don't? Do things break, or just not perform as well?