Hello --
I've searched around a bit, but since the entire topic is quite new to me, I am not sure if I am actually using the right key words. If this is a dumb question, I'd be grateful for a quick pointer.
So.
My Proxmox host (set up two months ago) has two separate network cards, and I run a pfsense router/firewall as one of the guests on it. The outside world is connected to eth1, while the LAN is on eth0. Works so far using vbmr0 and vbmr1 bridge devices.
A while ago I got a unifi WAP that allows to create multiple networks associated to VLAN's. I configured the managed switch accordingly, made my internal vmbr0 vlan aware, and added an additional network device on the pfsense VM, tagged with a vlan ID. While my internal network stays on the 192.168.4.x range, I now have a guest network on 192.168.5.x. Seems to work nicely so far.
Now I added another guest on proxmox, gave it a network device on vmbr0 without a VLAN and configured it to DHCP. I was confused when it received a 192.168.5.x IP address.
I configured it manually on a 192.168.4.x address, and that worked. Switching back to DHCP put it back into the 5 network.
Looking at pfsense's log, it seems dhcp requests come in on both network devices, the 'open' one and the vlan tagged one. Seems to me like there's no distinction when it comes to the vlan tagging within vmbr0.
That's not what I would have expected to see. Where am I wrong?
I've searched around a bit, but since the entire topic is quite new to me, I am not sure if I am actually using the right key words. If this is a dumb question, I'd be grateful for a quick pointer.
So.
My Proxmox host (set up two months ago) has two separate network cards, and I run a pfsense router/firewall as one of the guests on it. The outside world is connected to eth1, while the LAN is on eth0. Works so far using vbmr0 and vbmr1 bridge devices.
A while ago I got a unifi WAP that allows to create multiple networks associated to VLAN's. I configured the managed switch accordingly, made my internal vmbr0 vlan aware, and added an additional network device on the pfsense VM, tagged with a vlan ID. While my internal network stays on the 192.168.4.x range, I now have a guest network on 192.168.5.x. Seems to work nicely so far.
Now I added another guest on proxmox, gave it a network device on vmbr0 without a VLAN and configured it to DHCP. I was confused when it received a 192.168.5.x IP address.
I configured it manually on a 192.168.4.x address, and that worked. Switching back to DHCP put it back into the 5 network.
Looking at pfsense's log, it seems dhcp requests come in on both network devices, the 'open' one and the vlan tagged one. Seems to me like there's no distinction when it comes to the vlan tagging within vmbr0.
That's not what I would have expected to see. Where am I wrong?