# 网关模式配置

**Gateway Mode** 是一种交付模式，客户通过服务提供商管理的指定网关设备访问 IPT 服务。在这种模式下：

* 客户**无需**管理自己的 IP 地址。
* 网关处理路由和网络转换功能。
* 适用于具有**更简单网络架构**且不需要动态路由的客户。
* 可以在没有复杂配置的情况下轻松访问公网 IP 资源。
* 服务提供商管理骨干连接和路由。

<figure><img src="/files/itJASi5e4omrOWr6W1me" alt=""><figcaption><p>IPT Gateway Mode</p></figcaption></figure>

在 Gateway Mode 场景中，您需要配置公网 IP 类型和数量。

## 公网 IP 类型

#### **BGP IP**

BGP IP 是通过边界网关协议（BGP）实现的弹性 IP 地址。它使用户能够以高度的灵活性和可靠性自动管理网络路由。BGP IP 适用于需要可扩展性和高可用性的网络应用场景。

#### **本地线**

本地线由本地 ISP 提供，其注册地点与服务器数据中心所在的国家匹配。它适用于对 IP 地址有严格要求的应用场景，例如跨境电子商务，本地线可以使注册和运营更加顺畅。

## 公网 IP 数量

默认情况下，将配置一个包含 13 个可用 IP 的 IPv4/28 网段，不包括预留的 3 个 IP 地址（网关地址、网络地址和广播地址）。您可以根据业务需求选择 IPv4 网段大小。

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

<mark style="color:blue;">交付时间可能因地理位置而异。实际界面显示为准。</mark> <mark style="color:blue;">感谢您的耐心等待。</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/ip-transit/create-ip-transit/gateway-mode-configuration.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.
