clients seem to see multiple VLAN's

marc_in_lux

New Member
May 1, 2016
4
0
1
44
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?
 
For analyzing the case it is necessary to see the content of

/etc/network/interfaces

and

/etc/pve/qemu-server/<vm-id>.conf
of the "pfense"-VM as well as from the "another guest"-VM
 

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!