VLANs and ESXi, is there a specific order of creation?

Discussion in 'VMware, VirtualBox, Citrix' started by crazyj, Sep 17, 2018.

  1. crazyj

    crazyj Member

    Joined:
    Nov 19, 2015
    Messages:
    39
    Likes Received:
    0
    I'm maybe being overly cautious, but I need to ask a few questions that hopefully someone can answer.

    I have an all-in-one napp-it setup on ESXi, with the 2 NICs teamed to a VLAN capable switch.

    I would like to seggregate and build some VLANs: internal/private VLAN, management VLAN and a VLAN for a security camera.

    Is there any way I can lock myself out of esxi or my switch if I create VLANs / tagging in the wrong order? specifically the management network has me a bit worried. I can assign a VLAN ID in esxi console. I assume I need to include my teamed-port "trunk", and any ports that I need to access the MGMT network from, like my router and my PC.

    Any words of wisdom?
     
    #1
  2. CreoleLakerFan

    CreoleLakerFan Active Member

    Joined:
    Oct 29, 2013
    Messages:
    461
    Likes Received:
    168
    Order of VLAN creation will not impact operation. Once you have your trunk port(s) configured and ESXi accessible, the process is as follows:
    • SWITCH: Create a VLAN on the switch
    • SWITCH: Tag the trunk with the new VLAN ID(s)
    • ESXi: Create a port group on the virtual switch to which the trunk is attached.
    You can only assign a physical NIC to a single vSwitch (although you can assign multiple NICs to single vSwitch); with your setup consisting of 2 NICs teamed chances are you only have one vSwitch. In your case, there will be a port-group on vSwitch0 (default) for the management network, so you will be adding port groups to vSwitch0 for your other VLANs, and assigning your host VMs to the appropriate port-group once you have gotten things configured.

    If for some reason you hose things up, you can always reset the network configuration from the ESXi console, via either IPMI or good ole MKbM.
     
    #2
  3. crazyj

    crazyj Member

    Joined:
    Nov 19, 2015
    Messages:
    39
    Likes Received:
    0
    Thanks.

    There are 2 vSwitches, though only one is connected with the teamed NICs. The other is purely virtual to allow the VMs to access the ZFS storage through NFS.
     
    #3
Similar Threads: VLANs ESXi
Forum Title Date
VMware, VirtualBox, Citrix Vsphere: VLANs & Distributed Switch Port Groups Jan 8, 2017
VMware, VirtualBox, Citrix VLANs in Workstation 12 Feb 10, 2016
VMware, VirtualBox, Citrix VMware vSphere Hypervisor (ESXi) and vCenter Server 6.7U1 released Tuesday at 2:51 PM
VMware, VirtualBox, Citrix Chrome update prevents esxi web interface access Oct 7, 2018
VMware, VirtualBox, Citrix ESXI 6.5, Windows 10 HTPC sleep mode or idle? Oct 6, 2018

Share This Page