Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

How to Configure VLANs for Hyper-V Cloud Hardware Plan

If you are a service provider and set up a Hyper-V 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 Hyper-V host or cluster in the service provider virtualization environment where the tenants’ VM replicas will be registered:
  • For a standalone Hyper-V host run Get-VBRServer with Type parameter: HvServer.
  • For a Hyper-V cluster run Get-VBRServer with Type parameter: HvCluster.
  • Save the result to the $server variable.
  1. Get the array of virtual switches located on Hyper-V host: run Get-VBRHvServerNetworkInfo 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 Hyper-V host.
  • Select the virtual switch for VLANs.
  • 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 Hyper-V 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.

PS C:\PS> $server = Get-VBRServer -Type HvServer -Name "Hyper-VHost"

PS C:\PS> $switcharray = Get-VBRHvServerNetworkInfo -Server $server

PS C:\PS> $switch = $switcharray[0]

PS C:\PS> New-VBRCloudVLANConfiguration –Server $server -HvNetworkInfo $switch –FirstVLANWithInternet 1 –LastVLANWithInternet 30 –FirstVLANWithoutInternet 31 –LastVLANWithoutInternet 60

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation