How to create a V(x)LAN
Find out how to create VLANs (vRack) and VxLANs (NSX)
Find out how to create VLANs (vRack) and VxLANs (NSX)
Last updated 12th October 2020
In a Hosted Private Cloud infrastructure, you have a base of 10 VxLANs provided by NSX, and 11 VLANs provided with the vRack.
This guide shows how to create additional V(x)LANs.
In the Hosted Private Cloud solutions, you get two virtual distributed switches (vDS).
These vDS have several different portGroups, each with their own purpose.
The first vDS common to both solutions has two portGroup types:
The second vDS has only one type of portGroup:
In the Hosted Private Cloud solutions, you get a first virtual switch.
On this switch, 10 VxLANs are created as standard. By giving the NSX
permission in the users management tab of your Control Panel, you can access the NSX interface and thus create additional VxLANs.
First, go to the Networking and security
view of your vSphere client, then click Logical Switches
.
Click the +
button to start the creation:
The first step is to name your portGroup:
Then choose the transport zone:
The transport area controls which hosts a logical switch can reach. In a Hosted Private Cloud infrastructure, OVHcloud creates a transport zone per virtual data centre. You can create a common transport zone for different virtual data centres, or you can extend existing data centres.
The control plan mode for a transport area is unicast, allowing communication between hosts to be managed using NSX controllers.
IP address discovery limits the saturation of ARP traffic in individual VxLAN segments, that is, between virtual machines connected to the same logical switch.
MAC learning builds a VLAN/MAC learning table on each vNIC. This table is stored with dvfilter data. In vMotion, dvfilter saves and restores the table to the new location. Then, the switch generates RARPs for all VLAN/MAC entries in the table. You may want to enable MAC learning if you are using virtual network adapters that are performing VLAN trunking.
OVHcloud recommends using only IP address discovery.
Once you have entered all of this information, you can confirm that you want to create it:
Your portGroup is now created and functional, you will find it in the Logical Switches view:
But also in the Networking view
You also have an additional virtual distributed switch (vDS).
On this switch, 11 VLANs are created as standard (VLAN10 to VLAN20). By giving the administrator
right on Access to the V(x)LAN
in the users management tab of your Control Panel, you can create additional VLANs.
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
.
The next step is to name your PortGroup:
Then configure the settings recommended by OVHcloud:
You have 3 security settings that can be activated according to your need:
The most frequent use of these 3 parameters is the CARP, especially used on pfSense.
We leave Traffic shaping disabled.
In terms of load balancing, select Route Based on IP hash, which is the best method for redundancy and load balancing.
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.
The NetFlow
is disabled (traffic flow activity report).
Leave the Block All Ports
value at "No".
You will then be presented with a summary of the changes. Click Finish
to confirm the creation.
Here we can see that VLAN21 is available and functional.
Join our community of users on https://community.ovh.com/en/.
Please feel free to give any suggestions in order to improve this documentation.
Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.
Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.
Thank you. Your feedback has been received.
Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.
Discuss with the OVHcloud community