Hi
I'm trying to setup VLANs for my Proxmox 5.0 server.
Looking at https://www.reddit.com/r/homelab/comments/5zt504/proxmox_vlans/ I have made the following /etc/network/interfaces:
In my HP switch I have tagged both VLAN 2 + 4 on my BAGG2 (LACP LAGG) and set it to trunk (Just like my pfSense LAGG, which works just fine!)
After a reboot, 172.16.1.1 is down and no VMs are starting. Looking at ip addr, I can't see the IP (172.16.1.1) only lo,enp5s0 and enp6s0 (vlan2 and vmbr0 should be there right??)
What am I missing here?
I tried various things (removing the bond0, and only using one NIC with tagged VLAN2) and other things, none seem to work
Please help.
I'm trying to setup VLANs for my Proxmox 5.0 server.
Looking at https://www.reddit.com/r/homelab/comments/5zt504/proxmox_vlans/ I have made the following /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
auto enp6s0
iface enp6s0 inet manual
auto enp5s0
iface enp5s0 inet manual
allow-vmbr0 bond0
iface bond0 inet manual
ovs_bonds enp6s0 enp5s0
ovs_type OVSBond
ovs_bridge vmbr0
ovs_options lacp=active bond_mode=balance-tcp other_config:lacp-time=fast
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan2
allow-vmbr0 vlan2
iface vlan2 inet static
address 172.16.1.1
netmask 255.255.0.0
gateway 172.16.0.1
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=2
In my HP switch I have tagged both VLAN 2 + 4 on my BAGG2 (LACP LAGG) and set it to trunk (Just like my pfSense LAGG, which works just fine!)
After a reboot, 172.16.1.1 is down and no VMs are starting. Looking at ip addr, I can't see the IP (172.16.1.1) only lo,enp5s0 and enp6s0 (vlan2 and vmbr0 should be there right??)
What am I missing here?
I tried various things (removing the bond0, and only using one NIC with tagged VLAN2) and other things, none seem to work
Please help.