Muokkaa

Jaa


Manage tenant virtual networks

Applies to: Azure Local, versions 23H2 and 22H2; Windows Server 2022, Windows Server 2019, Windows Server 2016

This topic provides step-by-step instructions on how to use Windows Admin Center to create, update, and delete Hyper-V Network Virtualization (HNV) virtual networks after you have deployed Software Defined Networking (SDN).

HNV helps you isolate tenant networks so that each tenant network is a separate entity. Each entity has no cross-connection possibility, unless you either configure public access workloads or peering between virtual networks.

Create a virtual network

Use the following steps in Windows Admin Center to create a virtual network.

Screenshot of Windows Admin Center home screen showing pane in which to create a Virtual network name and address prefix.

  1. On the Windows Admin Center home screen, under All connections, select the system that you want to create the virtual network on.

  2. Under Tools, scroll down to the Networking area, and select Virtual networks.

  3. Under Virtual networks, select the Inventory tab, and then select New.

  4. In the Virtual networks pane, type a name for the virtual network.

  5. Under Address Prefixes select Add, and then type an address prefix in Classless Interdomain Routing (CIDR) notation. You can optionally add more address prefixes.

  6. Under Subnets, select Add, type a name for the subnet, and then provide an address prefix in CIDR notation.

    Note

    The subnet address prefix must be within the address prefix range that you defined in Address Prefixes of the virtual network.

  7. Select Submit or optionally add more subnets and then select Submit.

  8. In the Virtual networks list, verify that the state of the virtual network is Healthy.

Get a list of virtual networks

You can easily see all the virtual networks in your system.

Screenshot of Windows Admin Center showing list of virtual networks.

  1. On the Windows Admin Center home screen, under All connections, select the system on which you want to view virtual networks.
  2. Under Tools, scroll down to the Networking area, and select Virtual networks.
  3. The Inventory tab lists all virtual networks available on the system, and provides commands to manage individual virtual networks. You can:
    • View the list of virtual networks.
    • View virtual network settings, the state of each virtual network, and the number of virtual machines (VMs) connected to each virtual network.
    • Change the settings of a virtual network.
    • Delete a virtual network.

View virtual network details

You can view detailed information for a specific virtual network from its dedicated page.

Screenshot of Windows Admin Center showing the details view of a virtual network.

  1. Under Tools, scroll down to the Networking area, and select Virtual networks.
  2. Select the Inventory tab, and then select the virtual network that you want to view details on. On the subsequent page, you can:
    • View the Provisioning State of the virtual network (Succeeded, Failed).
    • View the Configuration State of the virtual network (Healthy, Error, Warning, Unknown).
    • View the underlying Logical Network of the virtual network.
    • View the Address Space of the virtual network.
    • Add new subnets, delete existing subnets, and modify the settings of a virtual network subnet.
    • View Virtual machine connections to the virtual network.

Change virtual network settings

You can update virtual network address prefixes, manage virtual network peering, and configure a Border Gateway Protocol (BGP) router and peers for the virtual network.

Screenshot of Windows Admin Center showing the Settings view of a virtual network.

  1. Under Tools, scroll down to the Networking area, and select Virtual networks.
  2. Select the Inventory tab, select a virtual network, and then select Settings.
  3. On the General tab, you can:
    • Remove existing address prefixes or add new ones.
    • Configure peering with another virtual network.
    • Add a BGP router to the virtual network. To do so, you need to provide the BGP router name and Autonomous System Number (ASN) number.
    • Add one or more BGP peers for the BGP router. To do so, you need to provide each BGP peer name, and the ASN number for each BGP peer.

Delete a virtual network

You can delete a virtual network if you no longer need it.

Screenshot of Windows Admin Center showing the Delete virtual network confirmation prompt.

  1. Under Tools, scroll down to the Networking area, and select Virtual networks.
  2. Select the Inventory tab, select a virtual network, and then select Delete.
  3. On the Delete virtual network confirmation prompt, select Delete.
  4. Next to the Virtual networks search box, select Refresh to ensure that the virtual network has been deleted.

Next steps

For more information, see also: