# 创建 IP Transit

## 前提条件

* IP Transit 服务基于 Zenlayer 骨干网络，因此您必须拥有对骨干网络的活动端口访问权限才能创建此服务。详情请参阅 [创建端口](/welcome/cn/cloud-networking/get-started/create-a-port.md)。
* 对于 BGP 路由模式，请先 [授权 ASN 或 AS-SET](/welcome/cn/global-bgp/authorize-asn.md)，这是建立 BGP 互联所必需的。

## 操作步骤

{% stepper %}
{% step %}
**IP Transit 基本配置**

<figure><img src="/files/LrwCi3xIqatXSKE8qCZP" alt=""><figcaption></figcaption></figure>

1. 选择数据中心端口\
   选择位于您希望访问公共互联网的数据中心的端口。
2. 配置 VLAN ID\
   VLAN ID 用于访问您端口与 IP Transit 之间建立的二层网络连接。
3. *(可选)* 启用远程 IP Transit\
   如果您不希望在目标公共互联网访问地点购买新的端口，可以通过我们的骨干网络启用远程 IP Transit 以在该地区访问互联网。

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

<mark style="color:blue;">在远程 IP Transit 场景中，将根据配置的带宽收取骨干带宽费用。</mark>
{% endhint %}
{% endstep %}

{% step %}
**IP 地址配置**

选择所需的交付模式。

* [**网关模式**](/welcome/cn/ip-transit/create-ip-transit/gateway-mode-configuration.md)\
  您没有自己的 IP 地址，网关处理路由和网络转换功能。适用于 **网络架构较简单** 且不需动态路由的客户。
* [**路由模式 - 静态**](/welcome/cn/ip-transit/create-ip-transit/static-routing-mode-configuration.md)\
  您没有自己的 IP 地址，且操作 **相对简单或稳定的网络架构**，无需动态路由学习。
* [**路由模式 - BGP**](/welcome/cn/ip-transit/create-ip-transit/bgp-routing-mode-configuration.md)\
  您拥有自己的 IP 地址，且操作 **复杂且频繁变化的网络架构**，需要支持动态路由。

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

* <mark style="color:blue;">创建 IP Transit 后，交付模式将无法更改。请谨慎操作。</mark>
* <mark style="color:blue;">详细比较每种模式的特点，请参阅</mark> [<mark style="color:purple;">IP Transit 交付模式比较</mark>](/welcome/cn/ip-transit/create-ip-transit/comparison-of-ip-transit-delivery-modes.md)。
  {% endhint %}
  {% endstep %}

{% step %}
**网络带宽配置**

<figure><img src="/files/QvTkDhEckQB1i9G9KCKz" alt=""><figcaption></figcaption></figure>

配置 IP Transit 的带宽。

* [固定带宽计费](/welcome/cn/pricing/network-billing/flat-rate.md)的固定带宽
* [突发 95 计费](/welcome/cn/pricing/network-billing/aggregated-burstable-95th.md)的承诺带宽和突发容量

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

<mark style="color:blue;">在远程 IP Transit 场景中，配置的网络计费模式适用于骨干带宽和 IP Transit 带宽。</mark>
{% endhint %}
{% endstep %}

{% step %}
**IP Transit 网络名称和资源组**

为您的 IP Transit 标签示并选择资源组，以便更好地管理资源。
{% endstep %}
{% endstepper %}

## 下一步操作

创建 IP Transit 后，您将在 IP Transit 列表页面上查看客户和提供商的 IPv4 地址用于互联。请根据这些信息配置您的客户端设备。

<figure><img src="/files/UuZp0zvvAm9moZGFRaZo" alt=""><figcaption></figcaption></figure>


---

# 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/ip-transit/create-ip-transit.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.
