# 创建网络

## 前提条件

您最多可以在一个城市创建 2 个网络。创建网络后，您可以创建实例并将其绑定到该网络。

## 操作步骤

1. 登录 [**zenConsole**](https://console.zenlayer.com/)。
2. 转到 **Compute** > **Virtual Machine** > **Network** 并点击 **Create Network**。
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. 配置网络的 IP 地址。支持 10.0.0.0/8、172.16.0.0/12 和 192.168.0.0/16。
6. 在您的网络中添加子网。详细信息请参阅 [**创建子网**](/welcome/cn/virtual-machine/get-started/network-and-security/create-a-subnet.md)。\
   \ <img src="/files/BWTIZWYCb7GnrFL9mThK" alt="" data-size="line"><mark style="color:blue;">**注意**</mark>

   <mark style="color:blue;">您可以参考</mark> [<mark style="color:purple;">**网络规划**</mark>](/welcome/cn/virtual-machine/overview/vpc-and-subnet-planning.md) <mark style="color:blue;">来合理配置您的网络和子网。</mark>
7. 点击 **Create** 以创建网络。
8. *<mark style="color:green;">(可选)</mark>* 转到 **Action** > **Delete**，如果网络中没有添加子网或实例，可以删除该网络。


---

# 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-network.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.
