Hi there,
I have a Proxmox 6.2-4 install and am having an issue with Vlan tagging for one of my VM's.
I have a fairly simple network, and have created a VLAN in pfsense which is attached to the main LAN interface of that router. It works fine, and clients that connect to the relevant untagged port on the switch happily receive an IP address via DHCP on this VLAN subnet.
I have a physical NIC on the Proxmox machine enp6s0 and I have vmbr0 which is the bridge that is bonded to that and is the default bridge. It is attached to the LAN interface on the router, and of course therefore all IP's on guest VMs I create are from the LAN DHCP range of 192.168.1.0/24. Which is what I want for the majority of VMS.
I've set vmbr0 to be 'Vlan Aware' and created a new VM with a NIC attached to vmbr0. I've then added the VLAN tag 110 to this NIC as well.
However, upon booting up the VM ( Centos8 VM - Selinux turned off for now ) I don't get any IP and can't attach to the network. If I remove the VLAN tag, then I get the normal LAN IP just like the other VMs normally do.
Is what I'm trying to do possible? i.e. have vmbr0 carry both the default 192.168.1.0/24 traffic untagged and then also the VLAN 110 traffic - tagged.
The switch network port ( HP Procurve 1810G-24 ) that Proxmox is attached to is configured as Untagged for the Default Network (VLAN 1) and Tagged on VLAN 110 ( i.e. a Trunk? ) So my expectation would be that it carries all traffic, but tags VLAN 110. The Network port that goes to the Pfsense LAN interface is also Untagged on VLAN 1 and Tagged on VLAN 110.
LAN/Default network is 192.168.1.0/24
VLAN is 192.168.110.0/24
my /etc/network/interfaces
Have I missed a step? I'm at a loss on where to look or how to fix this. I've read the documentation, googled, but it seems that this setup should work - I can't figure out what is wrong.
Apologies if this is a silly mistake, I'm not a deep networking expert, but would welcome any advice or guidance.
Kind Regards
Seb
I have a Proxmox 6.2-4 install and am having an issue with Vlan tagging for one of my VM's.
I have a fairly simple network, and have created a VLAN in pfsense which is attached to the main LAN interface of that router. It works fine, and clients that connect to the relevant untagged port on the switch happily receive an IP address via DHCP on this VLAN subnet.
I have a physical NIC on the Proxmox machine enp6s0 and I have vmbr0 which is the bridge that is bonded to that and is the default bridge. It is attached to the LAN interface on the router, and of course therefore all IP's on guest VMs I create are from the LAN DHCP range of 192.168.1.0/24. Which is what I want for the majority of VMS.
I've set vmbr0 to be 'Vlan Aware' and created a new VM with a NIC attached to vmbr0. I've then added the VLAN tag 110 to this NIC as well.
However, upon booting up the VM ( Centos8 VM - Selinux turned off for now ) I don't get any IP and can't attach to the network. If I remove the VLAN tag, then I get the normal LAN IP just like the other VMs normally do.
Is what I'm trying to do possible? i.e. have vmbr0 carry both the default 192.168.1.0/24 traffic untagged and then also the VLAN 110 traffic - tagged.
The switch network port ( HP Procurve 1810G-24 ) that Proxmox is attached to is configured as Untagged for the Default Network (VLAN 1) and Tagged on VLAN 110 ( i.e. a Trunk? ) So my expectation would be that it carries all traffic, but tags VLAN 110. The Network port that goes to the Pfsense LAN interface is also Untagged on VLAN 1 and Tagged on VLAN 110.
LAN/Default network is 192.168.1.0/24
VLAN is 192.168.110.0/24
my /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto enp6s0
iface enp6s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.10/24
gateway 192.168.1.1
bridge-ports enp6s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
Have I missed a step? I'm at a loss on where to look or how to fix this. I've read the documentation, googled, but it seems that this setup should work - I can't figure out what is wrong.
Apologies if this is a silly mistake, I'm not a deep networking expert, but would welcome any advice or guidance.
Kind Regards
Seb