Sorry for asking a stupid question that's probably been answered before (but I want to get this finished tomorrow)... I'm mostly just after confirmation on my logic to save me some time tomorrow.
I currently have a KVM Linux VM acting as a router. It has a tagged VLAN interface inside it (eth0.2). This is the only place VLANs are used at all on this machine.
I need to add another VLAN which will have this router and a OpenVZ container to act as a DHCP server for a new network.
My 2 points I want to confirm -
* I gather the only way to get VLANs into VZ containers is by creating a new bridge interface on the host and adding the tagged interface into this. Correct?
* Since the host now has the 802.1q module loaded, I am guessing this stops any tagging making it through to the KVM guest. So the fix there would be to add a new network interface and attach it to the same tagged vmbr interface as the VZ container. Does that sound right?
I currently have a KVM Linux VM acting as a router. It has a tagged VLAN interface inside it (eth0.2). This is the only place VLANs are used at all on this machine.
I need to add another VLAN which will have this router and a OpenVZ container to act as a DHCP server for a new network.
My 2 points I want to confirm -
* I gather the only way to get VLANs into VZ containers is by creating a new bridge interface on the host and adding the tagged interface into this. Correct?
* Since the host now has the 802.1q module loaded, I am guessing this stops any tagging making it through to the KVM guest. So the fix there would be to add a new network interface and attach it to the same tagged vmbr interface as the VZ container. Does that sound right?