# 创建子网

## 前提条件

您可以在一个网络中创建 3 个子网。创建子网后，您可以创建实例并将其绑定到子网。

## 操作步骤

1. 登录到 [**zenConsole**](https://console.zenlayer.com/)。
2. 转到 **计算** > **虚拟机** > **子网**，并点击 **创建子网**。
3. 确定您的子网。\
   \ <img src="/files/BWTIZWYCb7GnrFL9mThK" alt="" data-size="line"><mark style="color:blue;">**注意**</mark>\ <mark style="color:blue;">名称必须为 2 到 128 个字符，只能包含字母、数字、连字符（-）和点（.）。名称必须以字母开头，但不能以 http\:// 或 https\:// 开头。</mark>
4. 选择您需要创建子网的地域。
5. 选择您需要分离的网络。
6. 配置您的子网 IP 地址。
7. 点击 **创建** 以创建子网。
8. *<mark style="color:green;">（可选）</mark>* 转到 **操作** > **删除**，在子网中没有添加实例时删除子网。


---

# 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/cn/virtual-machine/get-started/network-and-security/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.
