测试宣告的 IP 是否可达

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

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

步骤

Route Explorer
  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 地址是否已成功宣告。

BGP 路由测试示例
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 网络。

最后更新于