# 创建子网

## **步骤 1 - 登录 zenConsole**

1. 使用您的电子邮件地址和密码登录 [**zenConsole**](https://console.zenlayer.com/dashboard)。
2. 在 zenConsole 的左上角，依次选择 **产品** > **裸机** > **子网** > **创建子网**。

## **步骤 2 - 配置子网的基本信息**

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

* <mark style="color:blue;">配置后，内网 IP 范围不可更改。建议您提前规划网络。</mark>
* <mark style="color:blue;">子网标签名称只能包含字母数字字符、连字符和点。</mark>
  {% endhint %}

1. 选择您要添加子网的虚拟私有云。\
   如果您未找到所需的虚拟私有云，请点击 **新建** 创建一个新的。\
   详情请参阅 [**创建虚拟私有云**](/welcome/cn/bare-metal/get-started/create-a-virtual-private-cloud.md)。
2. 选择您需要创建子网的地域。
3. 配置内网 IP 范围。\
   配置子网的内网 IP 范围后，该子网中的资源将被分配内网 IP 地址，以实现在指定 IP 范围内的安全通信。
4. 标记您的子网。
5. 点击 **确认** 创建子网。

## **下一步操作**

您可以在 **裸机** > **子网** 中查看和管理您的子网。

* 点击虚拟私有云名称查看详细信息
* 点击 <img src="/files/sTrWTRuItGd1cjBk06JI" alt="" data-size="line"> 将实例添加到子网


---

# 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/bare-metal/get-started/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.
