# 测试宣告的 IP 是否可达

宣告 BYOIP 后，您可以使用 BGP 测试工具或 traceroute/ping 命令来测试您的 IP 地址是否已成功宣告。

这里以 Zenlayer Route Explorer 为例，测试宣告的 IP 是否可达。

## 步骤

<div align="left"><figure><img src="/files/VBbkZO1Nhvcl7zPLEHsh" alt=""><figcaption><p>Route Explorer</p></figcaption></figure></div>

1. 在 zenConsole 仪表板上，导航至 **Looking Glass** > **Route Explorer**。
2. 从下拉列表中选择您的 BYOIP 所在的数据中心。
3. 选择 "BGP 路由" 作为测试类型。
4. 输入您的 BYOIP 地址作为目标 IP 地址。
5. 点击 **Test**。

## 结果

Route Explorer 将显示您的 BYOIP 的 BGP 路由信息。如果查询结果显示您的 IP 地址有路由，这意味着您的 IP 地址已成功宣告。

## 示例

假设您有一个 ASN 为 `65000`，并且您的 BYOIP 位于美国洛杉矶，IP 地址为 `10.0.0.1`。您希望使用 Zenlayer Route Explorer 检查您的 IP 地址是否已成功宣告。

<div align="left"><figure><img src="/files/THaG62tCmmigS3lgHyM1" alt=""><figcaption><p>BGP 路由测试示例</p></figcaption></figure></div>

```
10.0.0.1/32 的 BGP 路由表
Network       Next Hop        AS Path
10.0.0.1/32   192.168.1.1     65000 21859
```

查询结果显示您的 IP 地址 `10.0.0.1` 有路由，下一跳为 `192.168.1.1`，AS 路径为 `65000 21859`。其中，`21859` 是 Zenlayer 的 ASN。这表明您的 IP 地址已成功宣告到 Zenlayer 网络。


---

# 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/global-bgp/advertise-byoip/test-advertised-ip-reachable-or-not.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.
