For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/hosted-private-cloud/vmware/create-vlan.md.
  • English

How to Create a VLAN

View as Markdown

OVHcloud sets up a base of 11 VLANs on your vRack.

This guide explains how to create additional VLANs.

Requirements

Instructions

In the Hosted Private Cloud solutions, VLANs can be used to isolate private communications between different OVHcloud services that are vRack-compatible (Dedicated Server, Public Cloud instance, etc.).

First, go to your vSphere client's Networking view. Deploy the vrack folder then right-click on the dVS ending in -vrack and finally click on New Distributed Port Group.

VLAN - Create - step 1

 

Choose a name for your Port Group, then click NEXT.

VLAN - Create - step 2

 

Then configure the settings recommended by OVHcloud:

  • Port binding: Static (reserving and assigning the port to a virtual machine)
  • Port allocation: Elastic (allows the number of ports to be hot-wired)
  • Number of ports: 24
  • VLAN type: VLAN (the others are PVLAN and Trunk)
  • VLAN ID: 21 (knowing that the ID can be configured from 1 to 4096)
  • Check the option Customize default policies configuration.

When you have made your selections, click NEXT.

VLAN - Create - step 3

You have three security settings that can be activated according to your needs:

  • Promiscuous mode: eliminates any filtering that the VM adapter can perform so that the guest operating system receives all observed traffic on the network.
  • MAC address changes: when set to Accept, ESXi will accept requests to change the effective MAC address to an address other than the initial MAC address.
  • Forged transmits: affects traffic transmitted from a virtual machine. When set to Accept, ESXi does not compare the source and effective MAC addresses.

When you have made your selections, click NEXT.

Info

NOTE: The most frequent use of these three parameters is the CARP, especially used on pfSense.

VLAN - Create - step 4

 

Leave Traffic shaping disabled, then click NEXT.

VLAN - Create - step 5

 

In terms of load balancing, select Route Based on IP hash, which is the best method for redundancy and load balancing.

Warning

NOTE: Be careful when configuring the failover order: It is necessary to set the lag1 uplink to Active (connection between the virtual network and the physical network), otherwise no communication between the hosts will be possible.

When you have made your selections, click NEXT.

VLAN - Create - step 6

 

Set NetFlow to disabled (traffic flow activity report), then click NEXT.

VLAN - Create - step 7

 

Leave the Block All Ports value at "No" and click NEXT.

VLAN - Create - step 8

 

You will then be presented with a summary of the changes. Click FINISH to confirm the creation.

VLAN - Create - step 9

 

Here we can see that VLAN21 is available and functional.

VLAN - Create - step 10

 

Go further

Browse all the VMware on OVHcloud guides.

Browse the rest of the OVHcloud US documentation for guides on our other products and services.

Learn more about VMware on OVHcloud on the OVHcloud US website.