VLAN setup

ghido

New Member
Nov 5, 2010
12
0
1
Hi all, i have 3 proxmox hosts (HP Blade BL460C gen 7) in a cluster.
Untill now i used only one VLAN but today i need to add a segregation for a ip cam system.
I need to have 1 VLAN for all VM (with default VLAN ID 1) and one VLAN for the ipcam (id 200).
The switch ports are already configured for tagged traffic on VLAN 200.
this is my configuration but doesn't function it:

auto lo
iface lo inet loopback

iface enp2s0f0 inet manual

iface enp2s0f1 inet manual

iface ens1f1 inet manual

iface ens1f0 inet manual

auto bond0
iface bond0 inet manual
bond-slaves enp2s0f0 enp2s0f1 ens1f0 ens1f1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer3+4

auto vmbr0
iface vmbr0 inet static
address 192.168.133.204
netmask 255.255.255.0
gateway 192.168.133.254
bridge-ports bond0
bridge-stp off
bridge-fd 0

auto vmbr200
iface vmbr200 inet manual
bridge-ports bond0.200
bridge-stp off
bridge-fd 0

Can someone help me please?
Thank you

Ghido
 
proxmox configuration seem to be ok

>>The switch ports are already configured for tagged traffic on VLAN 200.

I don't known what is your switch hardware, but on cisco, you should have a trunk (to allowed tagged packets from vmbr200), and a default vlan1 for untagged packets (vmbr0)
 
Hi, i have an Hp 4208 VL with a trunk LACP on 2 ports.
On this port i have untagged vlan 1 and tagged vlan 200
 

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!