Proxmox setup with Multiple VLAN DHCP VM Centos 7 server and Cisco switch

Aug 25, 2020
1
0
1
40
Hi people,

I am trying to configure proxmox in a way I am able to use DHCP server virtual machine with multiple VLANs. I tried to enable on vmbr0 vlan support :

iface vmbr0 inet static
address 192.168.1.156/24
gateway 192.168.1.1
bridge-ports enp2s0f1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 1-4094

On VM network device I have not defined VLAN in order to receive all VLAN frames


On Cisco switch I have configured Trunk

I don't know if I am going on right direction. One of my other ideas is to attach another network physical interface directly to DHCP server VM and connect to switch trunk port

Thank you very much in advance
 
your first solution should work,with your vlan-aware bridge without define vlan on proxmox.
(so all vlans wil be see inside your vms, but you need to created tagged interfaces inside your vm for each vlan + 1 ip for each vlan for your dhcp server)
 

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!