Network VLAN setup - Node and inside of VM

Machi

New Member
Aug 2, 2018
14
1
1
50
Hello,

I am trying to config network VLAN setup environment.

Environment setup - Node network config:

iface enp1s0f1 inet manual

iface enp1s0f1.70 inet manual

auto vmbr1
iface vmbr1 inet static
address 10.10.0.3
netmask 255.255.255.0
bridge_ports enp1s0f1
bridge_stp off
bridge_fd 0
bridge-vids 2-4094
bridge_vlan_aware yes

auto vmbr71
iface vmbr71 inet manual
bridge_ports enp1s0f1.71
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes

Question:
1) When I assigning VM with Bridge vmbr71. Does it meaning traffic will running with vlan tag 71?

2) Under each VM hardware config for Network Device. There is one option called VLAN Tag. What is this meaning? Does I still need config its vlan tag?




Thanks!
 
if you just want to put a vm into a vlan of an existing bridge, you do not have to configure that manually
just set the bridge of the vm to vmbr1 and as tag choose 71
 
  • Like
Reactions: Machi

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!