Network VLAN setup - Node and inside of VM

Discussion in 'Proxmox VE: Networking and Firewall' started by Machi, Aug 13, 2018.

  1. Machi

    Machi New Member

    Joined:
    Aug 2, 2018
    Messages:
    14
    Likes Received:
    0
    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!
     
  2. dcsapak

    dcsapak Proxmox Staff Member
    Staff Member

    Joined:
    Feb 1, 2016
    Messages:
    2,600
    Likes Received:
    235
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Machi likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice