Hello,
I'm currently trying to figure out to settle vmbr0 to support VLANS for my VMs.
I'm using the latest version of proxmox v4.4 via no-pve-subscription.
eth0 and eth1 are slaves of bond0 (active/backup mode).
eth0 and eth1 are connected on 2 stacked cisco 2960S, each port is configured in trunk mode.
My /etc/network/interfaces :
And then when configuring VM network interface putting the ID of the VLAN expected cf screenshot.
Is it the right way to configure VLAN on VMs ?
Thanks in advanced !
I'm currently trying to figure out to settle vmbr0 to support VLANS for my VMs.
I'm using the latest version of proxmox v4.4 via no-pve-subscription.
eth0 and eth1 are slaves of bond0 (active/backup mode).
eth0 and eth1 are connected on 2 stacked cisco 2960S, each port is configured in trunk mode.
My /etc/network/interfaces :
Code:
auto lo
iface lo inet loopback
iface eth0 inet manual
iface eth1 inet manual
auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond_miimon 100
bond_mode active-backup
auto vmbr0
iface vmbr0 inet static
address 10.192.5.36
netmask 255.255.255.224
gateway 10.192.5.33
bridge_ports bond0
bridge_stp off
bridge_fd 0
And then when configuring VM network interface putting the ID of the VLAN expected cf screenshot.
Is it the right way to configure VLAN on VMs ?
Thanks in advanced !