---
title: "Validate Subnets on Azure"
slug: "validate-subnets-on-azure"
updated: 2025-12-19T20:01:57Z
published: 2025-12-19T20:01:57Z
canonical: "docs.swxtch.io/validate-subnets-on-azure"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swxtch.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate Subnets on Azure

**WHAT TO EXPECT**

A virtual network (VNet) in the Resource Group must be created before deploying a cloudSwXtch instance.

- It must contain *at least* one subnet that's used for both the control and data plane communication, but it can use two, one subnet for each.
  - It is recommended that it be **private-facing**and **not auto-assign public IPs**.
  - This single subnet will be used for xNIC installation.

The subnets will also be used for xNIC installations.

**In this section,** users will learn how to validate whether a subnet exists to be used as both the control and the data plane for their virtual network. This is in preparation for cloudSwXtch installation on Azure. We will also walk through an alternative method of using 2 subnets, separating the control and data plane.

To validate:

1. **Go** to the Azure Console.
2. **Search** for "vnet" or “Virtual networks”.
3. **Select** Virtual Networks.
4. **Check** that the vnet to be used for cloudSwXtch exists.

![Azure_cloudSwXtch_Vnet](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/Azure_cloudSwXtch_Vnet.png)

If there are no available subnets, one must be created (read below).

If a second subnet is needed, check that it exists, or create a new one:

- **It is recommended to name** the second one "data" to distinguish between them when creating a VM. Using two subnets will require them to be in the same Region (for example, East US). This enables a single VM instance to have two NICs connected to both subnets at the same time.

In the event that a subnet must be created:

1. **Create** it by selecting "+ Subnet."

![Azure_cloudSwXtch-Add-Subnet](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/Azure_cloudSwXtch-Add-Subnet.png)
2. **Enter** data as needed.

![Azure add subnet2](https://cdn.document360.io/84c5db44-f675-4f33-a980-5d3fc63073ca/Images/Documentation/Azure%20add%20subnet2.png)
