ProxMox VLAN configuration

Argo-BJ

Active Member
I am trying to configure my VMs to use VLANs.

My environment looks like this:

Datacenter root node: 10.0.0.0/24 VLAN 0
Client 105: 10.0.105.0/24 VLAN 105
Client 114: 10.0.114.0/24 VLAN 114

Router
10.0.0.1/8
10.0.105.254/24 VLAN 105
10.0.114.254/24 VLAN 114

VMHost1
bond0 eth0-eth3 slaves
bond0.105 vlan-raw-device bond0
bond0.114 vlan-raw-device bond0
vmbr0 10.0.0.101
vmbr105 bridge bond0.105
vmbr114 bridge bond0.114

I have read as much documentation as I can find on the ProxMox wiki, OpenVZ wiki, and google. I've tried lots of different configurations.

Is bond0.XXX the correct way to set the VLAN?

Do my vmbrXXX interfaces need IP addresses?

When creating containers, do my containers have to have veth adapters, or can I use venet?
 
Last edited:
you have the same network for all the vlans because you use /8 netmask. Maybe you want /24 assignment for each vlan?
 
I am trying to configure my VMs to use VLANs.

My environment looks like this:

Datacenter root node: 10.0.0.0/24 VLAN 0
Client 105: 10.0.105.0/24 VLAN 105
Client 114: 10.0.114.0/24 VLAN 114

Router
10.0.0.1/8
10.0.105.254/24 VLAN 105
10.0.114.254/24 VLAN 114

VMHost1
bond0 eth0-eth3 slaves
bond0.105 vlan-raw-device bond0
bond0.114 vlan-raw-device bond0
vmbr0 10.0.0.101
vmbr105 bridge bond0.105
vmbr114 bridge bond0.114

I have read as much documentation as I can find on the ProxMox wiki, OpenVZ wiki, and google. I've tried lots of different configurations.
Hi!
Is bond0.XXX the correct way to set the VLAN?
Yes
Do my vmbrXXX interfaces need IP addresses?
No
When creating containers, do my containers have to have veth adapters, or can I use venet?
venet makes no sense for me (only nat access over vmbr0). veth are like real nics inside the CT (the isp must allowed multible MAC address).

Aboud mixed mode (vlan tagging and not) see also here: http://forum.proxmox.com/threads/17504-Yet-another-confused-VLAN-user?p=89059#post89059

Udo