Vlan in openvz containers

ndm

New Member
Apr 7, 2013
3
0
1
Caen
I must use openvz on a cluster with nic on vlan.

As i have a kvm with the same vlan if use this command line :

Code:
vzctl set 500 --netif_add adm10,,,,vmbr0v10 --save

I reboot the ovz container and it works, the adm10 interface in the container is on the vlan10 for the vmbr0.

I think the vlan configuration could be integrate easily in the web interface as it works as the kvm parameter and this should discard side effects like:
  • on boot the vmbr vlan interface doesn't exist
  • on migration too

Following previous posts, this use case interest people : http://forum.proxmox.com/threads/10...Z-containers?highlight=Vlan+openvz+containers and others
 
Can you please explain what this command means? I have tried the same and it doesn't work for me. What should be the settings of the ifcfg-eth0.4000 file for example? I am using vlan tag id 4000

vzctl set 500 --netif_add adm10,,,,vmbr0v10 --save
 
Can you please explain what this command means? I have tried the same and it doesn't work for me. What should be the settings of the ifcfg-eth0.4000 file for example? I am using vlan tag id 4000

vzctl set 500 --netif_add adm10,,,,vmbr0v10 --save

proxmox 3.4 support vlan management in gui, I think it'll be simplier for you to use it.