企业路由器 ER-验证跨区域网络的通信情况

时间:2023-11-03 15:22:39

验证跨区域网络的通信情况

  1. 登录弹性云服务器。

    弹性云服务器有多种登录方法,具体请参见登录弹性云服务器

    本示例是通过管理控制台远程登录(VNC方式)。

  2. 在弹性云服务器的远程登录窗口,执行以下命令,验证网络互通情况。

    1. 执行以下命令,验证跨区域VPC网络互通情况。

      ping 弹性云服务器IP地址

      以登录ECS-A,验证VPC-A与VPC-B的网络互通情况为例:

      ping 192.168.0.5

      回显类似如下信息,表示VPC-A与VPC-B通信正常。
      [root@ECS-A ~]# ping 192.168.0.5
      PING 192.168.0.5 (192.168.0.5) 56(84) bytes of data.
      64 bytes from 192.168.0.5: icmp_seq=1 ttl=62 time=30.6 ms
      64 bytes from 192.168.0.5: icmp_seq=2 ttl=62 time=30.2 ms
      64 bytes from 192.168.0.5: icmp_seq=3 ttl=62 time=30.1 ms
      64 bytes from 192.168.0.5: icmp_seq=4 ttl=62 time=30.1 ms
      ...
      --- 192.168.0.5 ping statistics ---
    2. 执行以下命令,验证跨区域VPC网络互通情况。

      ping 弹性云服务器IP地址

      以登录ECS-A,验证VPC-A与VPC-C的网络互通情况为例:

      ping 10.0.0.29

      回显类似如下信息,表示VPC-A与VPC-C通信正常。
      [root@ECS-A ~]# ping 10.0.0.29
      PING 10.0.0.29 (10.0.0.29) 56(84) bytes of data.
      64 bytes from 10.0.0.29: icmp_seq=1 ttl=62 time=27.4 ms
      64 bytes from 10.0.0.29: icmp_seq=2 ttl=62 time=27.0 ms
      64 bytes from 10.0.0.29: icmp_seq=3 ttl=62 time=26.10 ms
      64 bytes from 10.0.0.29: icmp_seq=4 ttl=62 time=26.9 ms
      ...
      --- 10.0.0.29 ping statistics ---

  3. 重复执行1~2,验证其他VPC之间的网络互通情况。
support.huaweicloud.com/bestpractice-er/er_03_0026.html