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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!