How to Configure VLANs for VMware Cloud Hardware Plan

In this article

    If you are a service provider and set up a VMware cloud hardware plan, you must first configure networking for tenants’ VM replicas. The service provider must allocate a range of VLANs to Veeam Cloud Connect. This can be done in the following steps:

    1. Get the ESXi host or VMware vCenter server in the service provider virtualization environment where the tenants’ VM replicas will be registered:
    • For a ESXi host run Get-VBRServer with Type parameter: ESXi.
    • For a VMware vCenter server run Get-VBRServer with Type parameter: VC.
    • Save the result to the $server variable.
    1. Get the array of virtual switches located on ESXi host: run Get-VBRViVirtualSwitch and save the result to the $switcharray variable.
    2. Get the specific virtual switch:
    • Use the properties of the $switcharray object to get the switches located on ESXi host.
    • Select the needed switch.
    • Save the result to the $switch variable.
    1. Allocate a range of VLANs to Veeam Cloud Connect:
    • Run New-VBRCloudVLANConfiguration with the $server and $switch variables.
    • Indicate the range for VLANs with internet connection and the range of VLANs without internet connection.

    How to Configure VLANs for VMware Cloud Hardware Plan Note:

    The total number of VLANs reserved for Veeam Cloud Connect Replication must be equal to or exceed the total number of all tenants' production networks.

    $server = Get-VBRServer -Type ESXi -Name "ESXi Host"

    $switcharray = Get-VBRViVirtualSwitch -Server $server

    $switch = $switcharray[0]

    New-VBRCloudVLANConfiguration –Server $server -ViVirtualSwitch $switch –FirstVLANWithInternet 1 –LastVLANWithInternet 30 –FirstVLANWithoutInternet 31 –LastVLANWithoutInternet 60