# Create a Subnet

Regional subnets allow you to customize subnet configurations within designated regions to help enhance your network architecture with precise control and improved efficiency.

{% hint style="info" %} <mark style="color:blue;">**Note**</mark>

<mark style="color:blue;">Default subnet cannot be deleted.</mark>
{% endhint %}

## Procedures

1. Go to **Subnet** > **Create Subnet**.

   <div align="left"><figure><img src="/files/7uFYN94kKO0yenyJ1fCT" alt="" width="563"><figcaption></figcaption></figure></div>
2. Select the global VPC and the region that your subnet belongs to.
3. Select the IP stack type of the subnet. **IPv4** and **IPv4 & IPv6** stack types are supported. Once created, the IP stack can only be changed from IPv4 to IPv4 & IPv6, not vice versa.
   * IPv4\
     Configure private IPv4 range of subnet.
   * IPv4 & IPv6\
     Configure the private IPv4 range and the IPv6 range of subnet.\
     If the selected VPC support private IPv6 access, you can select both public and private IPv6 access type. An 'fdxxxxxx:xxxx::/64' network range will be allocated to you.
4. Label your subnet.

## More Actions

Go to **Subnet** > **Actions** to do the following actions.

* Modify IPv4 Range\
  When instances are added into the subnet, you cannot change the IPv4 range. Please remove the instance first and then modify the IP range. You can only change the IP range within the VPC range which the subnet belongs to.
* Assign Private IPv4\
  Assign the private IPv4 addresses in the subnet to your desired instances.
* Change IP Stack Type<br>

  <div align="left"><figure><img src="/files/IBRNeGU2ipyNkgunK6Zg" alt="" width="557"><figcaption></figcaption></figure></div>

{% hint style="info" %} <mark style="color:blue;">**Note**</mark>

<mark style="color:blue;">The IP stack can only be changed from IPv4 to IPv4 & IPv6, not vice versa.</mark>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/elastic-compute/get-started/manage-networking/create-a-subnet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
