# 创建网卡

网卡 (vNIC) 将您的实例连接到网络，使其能够与其他实例通信。每个实例都有一个默认的主 vNIC，您还可以绑定额外的弹性网卡。

## 操作步骤

1. 前往 **网卡** > **创建弹性网卡**。
2. 选择您希望创建 vNIC 的地域。\
   请注意，您只能将 vNIC 绑定到同一地域的实例。
3. 将您的 vNIC 绑定到一个全球 VPC 和一个子网。
4. 关联一个安全组。
5. 选择您的 vNIC 支持的 IP 堆栈类型。\
   要选择特定的 IP 堆栈类型，前提是关联的子网必须已经支持该类型的 IP 堆栈。
6. 根据您的网络规划设置 IPv4 或 IPv6 地址。
7. 标记您的 vNIC。

## 更多操作

前往 **网卡** > **操作** 执行以下操作。

* 绑定\
  您可以将弹性网卡绑定到同一地域的实例。

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

<mark style="color:blue;">确保您的实例已开机且启用了 QGA。</mark>
{% endhint %}

* 解绑\
  弹性网卡可以解绑。

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

* <mark style="color:blue;">主网卡不能解绑。</mark>

* <mark style="color:blue;">确保您的实例已开机且启用了 QGA。</mark>
  {% endhint %}

* 分配私有 IPv4\
  您可以为网卡分配额外的私有 IPv4 地址。请记得在实例上 [配置私有 IPv4 地址](/welcome/cn/elastic-compute/get-started/manage-instances/activate-an-additional-private-ipv4-address.md) 以使更改生效。

* 更改网卡堆栈类型\
  如果您有一个 IPv4 网卡，可以将其堆栈类型更改为 IPv4 & IPv6。如果网卡已绑定到实例，您需要重启实例以使更改生效。

* 删除\
  主网卡只能随其绑定的实例一起删除。

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

<mark style="color:blue;">无论是绑定、解绑还是删除网卡，记得在新网卡绑定后完成相关的 IP 和路由配置。</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/cn/elastic-compute/get-started/manage-networking/create-a-network-interface.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.
