Network VLAN setup - Node and inside of VM

Machi

New Member
Aug 2, 2018
14
1
1
51
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