【实验】华三( H3C )交换机配置 IPv6 地址

如需注册 @ccie.engineer、@ccde.engineer、@ccar.engineer、@hcie.engineer、@rhce.engineer 和 @cissp.engineer 邮箱,请点击这里
更多有关于 “ H3C 实验 ” 的文章,请点击这里

实验环境:

操作系统:Windows 7 专业版(当时最新正式版),模拟器:HCL 2.1.1(当时最新版本)

  • 路由器的型号是:H3C MSR36-20
  • 交换机的型号是:H3C S5820V2-54QS-GE
华三( H3C )交换机配置 IPv6 地址
华三( H3C )交换机配置 IPv6 地址

实验需求:

  • 本实验是在该实验的基础上去做的,具体需求请参见该实验
  • 在原有 IPv4 环境的基础上支持 IPv6 ;
  • 无论是内网还是外网,IPv4 还是 IPv6 ,要求 SERVER1 和 SERVER2 之间能互相 ping 通;
  • 要求 SERVER1 和 SERVER2 能 ping 通 2000::8:8:8:8(如需查看常用的 IPv6 地址汇总请点击这里)。

实验步骤:

请先完成该实验的配置。

我们现在来配置 CORE 和 ISP :

ISP :

interface Ten-GigabitEthernet1/0/49
ipv6 address 2000::1:1:1:1 126

interface Ten-GigabitEthernet1/0/50
ipv6 address 2000::1:1:1:5 126

int LoopBack 8
ipv6 address 2000::8:8:8:8 128

ipv6 route-static 2000::1:1:2:1 112 2000::1:1:1:2
ipv6 route-static 2000::1:1:2:1 112 2000::1:1:1:6
CORE2 :

interface Ten-GigabitEthernet1/0/49
ipv6 address 2000::1:1:1:2 126

int vlan 100
ipv6 address 2000::1:1:1:6 126

ipv6 route-static :: 0 2000::1:1:1:1
ipv6 route-static :: 0 2000::1:1:1:5

int vlan 10
ipv6 address 2000::1:1:2:1 112

int vlan 20
ipv6 address 2000::10:0:0:1 96

现在 CORE2 去 ping ISP 是没有问题的:

[CORE2]ping ipv6 2000::1:1:1:1
Ping6(56 data bytes) 2000::1:1:1:2 --> 2000::1:1:1:1, press CTRL_C to break
56 bytes from 2000::1:1:1:1, icmp_seq=0 hlim=64 time=1.000 ms
56 bytes from 2000::1:1:1:1, icmp_seq=1 hlim=64 time=1.000 ms
56 bytes from 2000::1:1:1:1, icmp_seq=2 hlim=64 time=1.000 ms
56 bytes from 2000::1:1:1:1, icmp_seq=3 hlim=64 time=1.000 ms
56 bytes from 2000::1:1:1:1, icmp_seq=4 hlim=64 time=1.000 ms

--- Ping6 statistics for 2000::1:1:1:1 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.000/1.000/1.000/0.000 ms
[CORE2]%Jul  6 22:01:37:847 2019 CORE2 PING/6/PING_STATISTICS: Ping6 statistics for 2000::1:1:1:1: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.000/1.000/1.000/0.000 ms.

[CORE2]
[CORE2]ping ipv6 2000::1:1:1:5
Ping6(56 data bytes) 2000::1:1:1:6 --> 2000::1:1:1:5, press CTRL_C to break
56 bytes from 2000::1:1:1:5, icmp_seq=0 hlim=64 time=0.000 ms
56 bytes from 2000::1:1:1:5, icmp_seq=1 hlim=64 time=1.000 ms
56 bytes from 2000::1:1:1:5, icmp_seq=2 hlim=64 time=0.000 ms
56 bytes from 2000::1:1:1:5, icmp_seq=3 hlim=64 time=0.000 ms
56 bytes from 2000::1:1:1:5, icmp_seq=4 hlim=64 time=1.000 ms

--- Ping6 statistics for 2000::1:1:1:5 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.000/0.400/1.000/0.490 ms
[CORE2]%Jul  6 22:01:42:785 2019 CORE2 PING/6/PING_STATISTICS: Ping6 statistics for 2000::1:1:1:5: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 0.000/0.400/1.000/0.490 ms.

[CORE2]
[CORE2]ping ipv6 2000::8:8:8:8
Ping6(56 data bytes) 2000::1:1:1:2 --> 2000::8:8:8:8, press CTRL_C to break
56 bytes from 2000::8:8:8:8, icmp_seq=0 hlim=64 time=1.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=1 hlim=64 time=1.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=2 hlim=64 time=1.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=3 hlim=64 time=1.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=4 hlim=64 time=1.000 ms

--- Ping6 statistics for 2000::8:8:8:8 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.000/1.000/1.000/0.000 ms
[CORE2]%Jul  6 22:01:46:693 2019 CORE2 PING/6/PING_STATISTICS: Ping6 statistics for 2000::8:8:8:8: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.000/1.000/1.000/0.000 ms.

[CORE2]

接下来我们配置 SERVER :

SERVER1 :

int g 0/0
ipv6 address 2000::1:1:2:2 112

int g 0/1
ipv6 address FC::10:0:0:2 96

ipv6 route-static :: 0 2000::1:1:2:1
SERVER2 :

int g 0/0
ipv6 address 2000::1:1:2:3 112

int g 0/1
ipv6 address FC::10:0:0:3 96

ipv6 route-static :: 0 2000::1:1:2:1

测试:

SERVER1 和 SERVER2 ping 内网和外网均没有问题:

[SERVER1]ping ipv6 2000::1:1:2:3
Ping6(56 data bytes) 2000::1:1:2:2 --> 2000::1:1:2:3, press CTRL_C to break
56 bytes from 2000::1:1:2:3, icmp_seq=0 hlim=64 time=3.000 ms
56 bytes from 2000::1:1:2:3, icmp_seq=1 hlim=64 time=8.000 ms
56 bytes from 2000::1:1:2:3, icmp_seq=2 hlim=64 time=6.000 ms
56 bytes from 2000::1:1:2:3, icmp_seq=3 hlim=64 time=6.000 ms
56 bytes from 2000::1:1:2:3, icmp_seq=4 hlim=64 time=6.000 ms

--- Ping6 statistics for 2000::1:1:2:3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.000/5.800/8.000/1.600 ms
[SERVER1]%Jul  6 22:07:40:678 2019 SERVER1 PING/6/PING_STATISTICS: Ping6 statistics for 2000::1:1:2:3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 3.000/5.800/8.000/1.600 ms.

[SERVER1]
[SERVER1]ping ipv6 FC::10:0:0:3
Ping6(56 data bytes) FC::10:0:0:2 --> FC::10:0:0:3, press CTRL_C to break
56 bytes from FC::10:0:0:3, icmp_seq=0 hlim=64 time=14.000 ms
56 bytes from FC::10:0:0:3, icmp_seq=1 hlim=64 time=5.000 ms
56 bytes from FC::10:0:0:3, icmp_seq=2 hlim=64 time=6.000 ms
56 bytes from FC::10:0:0:3, icmp_seq=3 hlim=64 time=4.000 ms
56 bytes from FC::10:0:0:3, icmp_seq=4 hlim=64 time=8.000 ms

--- Ping6 statistics for FC::10:0:0:3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 4.000/7.400/14.000/3.555 ms
[SERVER1]%Jul  6 22:07:44:136 2019 SERVER1 PING/6/PING_STATISTICS: Ping6 statistics for FC::10:0:0:3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 4.000/7.400/14.000/3.555 ms.

[SERVER1]
[SERVER1]ping ipv6 2000::8:8:8:8
Ping6(56 data bytes) 2000::1:1:2:2 --> 2000::8:8:8:8, press CTRL_C to break
56 bytes from 2000::8:8:8:8, icmp_seq=0 hlim=63 time=3.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=1 hlim=63 time=1.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=2 hlim=63 time=1.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=3 hlim=63 time=1.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=4 hlim=63 time=2.000 ms

--- Ping6 statistics for 2000::8:8:8:8 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.000/1.600/3.000/0.800 ms
[SERVER1]%Jul  6 22:07:49:859 2019 SERVER1 PING/6/PING_STATISTICS: Ping6 statistics for 2000::8:8:8:8: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.000/1.600/3.000/0.800 ms.

[SERVER1]
[SERVER2]ping ipv6 2000::1:1:2:2
Ping6(56 data bytes) 2000::1:1:2:3 --> 2000::1:1:2:2, press CTRL_C to break
56 bytes from 2000::1:1:2:2, icmp_seq=0 hlim=64 time=6.000 ms
56 bytes from 2000::1:1:2:2, icmp_seq=1 hlim=64 time=2.000 ms
56 bytes from 2000::1:1:2:2, icmp_seq=2 hlim=64 time=2.000 ms
56 bytes from 2000::1:1:2:2, icmp_seq=3 hlim=64 time=2.000 ms
56 bytes from 2000::1:1:2:2, icmp_seq=4 hlim=64 time=2.000 ms

--- Ping6 statistics for 2000::1:1:2:2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/2.800/6.000/1.600 ms
[SERVER2]%Jul  6 22:08:23:108 2019 SERVER2 PING/6/PING_STATISTICS: Ping6 statistics for 2000::1:1:2:2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/2.800/6.000/1.600 ms.

[SERVER2]
[SERVER2]ping ipv6 FC::10:0:0:2
Ping6(56 data bytes) FC::10:0:0:3 --> FC::10:0:0:2, press CTRL_C to break
56 bytes from FC::10:0:0:2, icmp_seq=0 hlim=64 time=5.000 ms
56 bytes from FC::10:0:0:2, icmp_seq=1 hlim=64 time=4.000 ms
56 bytes from FC::10:0:0:2, icmp_seq=2 hlim=64 time=4.000 ms
56 bytes from FC::10:0:0:2, icmp_seq=3 hlim=64 time=3.000 ms
56 bytes from FC::10:0:0:2, icmp_seq=4 hlim=64 time=5.000 ms

--- Ping6 statistics for FC::10:0:0:2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.000/4.200/5.000/0.748 ms
[SERVER2]%Jul  6 22:08:38:723 2019 SERVER2 PING/6/PING_STATISTICS: Ping6 statistics for FC::10:0:0:2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 3.000/4.200/5.000/0.748 ms.

[SERVER2]
[SERVER2]ping ipv6 2000::8:8:8:8
Ping6(56 data bytes) 2000::1:1:2:3 --> 2000::8:8:8:8, press CTRL_C to break
56 bytes from 2000::8:8:8:8, icmp_seq=0 hlim=63 time=4.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=1 hlim=63 time=3.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=2 hlim=63 time=3.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=3 hlim=63 time=3.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=4 hlim=63 time=2.000 ms

--- Ping6 statistics for 2000::8:8:8:8 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/3.000/4.000/0.632 ms
[SERVER2]%Jul  6 22:08:58:991 2019 SERVER2 PING/6/PING_STATISTICS: Ping6 statistics for 2000::8:8:8:8: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/3.000/4.000/0.632 ms.

[SERVER2]

IPv4 的连通性也是没有问题的:

[SERVER1]ping 1.1.2.3
Ping 1.1.2.3 (1.1.2.3): 56 data bytes, press CTRL_C to break
56 bytes from 1.1.2.3: icmp_seq=0 ttl=255 time=3.000 ms
56 bytes from 1.1.2.3: icmp_seq=1 ttl=255 time=3.000 ms
56 bytes from 1.1.2.3: icmp_seq=2 ttl=255 time=3.000 ms
56 bytes from 1.1.2.3: icmp_seq=3 ttl=255 time=2.000 ms
56 bytes from 1.1.2.3: icmp_seq=4 ttl=255 time=6.000 ms

--- Ping statistics for 1.1.2.3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/3.400/6.000/1.356 ms
[SERVER1]%Jul  6 22:15:10:965 2019 SERVER1 PING/6/PING_STATISTICS: Ping statistics for 1.1.2.3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/3.400/6.000/1.356 ms.

[SERVER1]
[SERVER1]ping 10.0.0.3
Ping 10.0.0.3 (10.0.0.3): 56 data bytes, press CTRL_C to break
56 bytes from 10.0.0.3: icmp_seq=0 ttl=255 time=3.000 ms
56 bytes from 10.0.0.3: icmp_seq=1 ttl=255 time=3.000 ms
56 bytes from 10.0.0.3: icmp_seq=2 ttl=255 time=3.000 ms
56 bytes from 10.0.0.3: icmp_seq=3 ttl=255 time=3.000 ms
56 bytes from 10.0.0.3: icmp_seq=4 ttl=255 time=2.000 ms

--- Ping statistics for 10.0.0.3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/2.800/3.000/0.400 ms
[SERVER1]%Jul  6 22:15:14:503 2019 SERVER1 PING/6/PING_STATISTICS: Ping statistics for 10.0.0.3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/2.800/3.000/0.400 ms.

[SERVER1]
[SERVER1]ping 8.8.8.8
Ping 8.8.8.8 (8.8.8.8): 56 data bytes, press CTRL_C to break
56 bytes from 8.8.8.8: icmp_seq=0 ttl=254 time=2.000 ms
56 bytes from 8.8.8.8: icmp_seq=1 ttl=254 time=2.000 ms
56 bytes from 8.8.8.8: icmp_seq=2 ttl=254 time=2.000 ms
56 bytes from 8.8.8.8: icmp_seq=3 ttl=254 time=1.000 ms
56 bytes from 8.8.8.8: icmp_seq=4 ttl=254 time=3.000 ms

--- Ping statistics for 8.8.8.8 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.000/2.000/3.000/0.632 ms
[SERVER1]%Jul  6 22:15:19:824 2019 SERVER1 PING/6/PING_STATISTICS: Ping statistics for 8.8.8.8: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.000/2.000/3.000/0.632 ms.

[SERVER1]
[SERVER2]ping 1.1.2.2
Ping 1.1.2.2 (1.1.2.2): 56 data bytes, press CTRL_C to break
56 bytes from 1.1.2.2: icmp_seq=0 ttl=255 time=3.000 ms
56 bytes from 1.1.2.2: icmp_seq=1 ttl=255 time=4.000 ms
56 bytes from 1.1.2.2: icmp_seq=2 ttl=255 time=2.000 ms
56 bytes from 1.1.2.2: icmp_seq=3 ttl=255 time=3.000 ms
56 bytes from 1.1.2.2: icmp_seq=4 ttl=255 time=3.000 ms

--- Ping statistics for 1.1.2.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/3.000/4.000/0.632 ms
[SERVER2]%Jul  6 22:11:56:346 2019 SERVER2 PING/6/PING_STATISTICS: Ping statistics for 1.1.2.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/3.000/4.000/0.632 ms.

[SERVER2]
[SERVER2]ping 10.0.0.2
Ping 10.0.0.2 (10.0.0.2): 56 data bytes, press CTRL_C to break
56 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=4.000 ms
56 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=3.000 ms
56 bytes from 10.0.0.2: icmp_seq=2 ttl=255 time=2.000 ms
56 bytes from 10.0.0.2: icmp_seq=3 ttl=255 time=2.000 ms
56 bytes from 10.0.0.2: icmp_seq=4 ttl=255 time=3.000 ms

--- Ping statistics for 10.0.0.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/2.800/4.000/0.748 ms
[SERVER2]%Jul  6 22:12:00:589 2019 SERVER2 PING/6/PING_STATISTICS: Ping statistics for 10.0.0.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/2.800/4.000/0.748 ms.

[SERVER2]
[SERVER2]ping 8.8.8.8
Ping 8.8.8.8 (8.8.8.8): 56 data bytes, press CTRL_C to break
56 bytes from 8.8.8.8: icmp_seq=0 ttl=254 time=4.000 ms
56 bytes from 8.8.8.8: icmp_seq=1 ttl=254 time=3.000 ms
56 bytes from 8.8.8.8: icmp_seq=2 ttl=254 time=4.000 ms
56 bytes from 8.8.8.8: icmp_seq=3 ttl=254 time=3.000 ms
56 bytes from 8.8.8.8: icmp_seq=4 ttl=254 time=3.000 ms

--- Ping statistics for 8.8.8.8 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.000/3.400/4.000/0.490 ms
[SERVER2]%Jul  6 22:12:04:820 2019 SERVER2 PING/6/PING_STATISTICS: Ping statistics for 8.8.8.8: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 3.000/3.400/4.000/0.490 ms.

[SERVER2]

我们现在可以看到 CORE2 是 IRF 中的 master :

[CORE2]dis irf
MemberID    Role    Priority  CPU-Mac         Description
   1        Standby 1         1e84-3682-0204  ---
 *+2        Master  2         1e84-4489-0304  ---
--------------------------------------------------
 * indicates the device is the master.
 + indicates the device through which the user logs in.

 The bridge MAC of the IRF is: 1e84-4489-0300
 Auto upgrade                : yes
 Mac persistent              : 6 min
 Domain ID                   : 10
[CORE2]

现在我们假设 CORE2 宕机了,看看 SERVER1 和 SERVER2 的网络通信是否受到影响。

如下图所示,此时我们直接在 HCL 模拟器里停止掉 CORE2 :

在 HCL 模拟器里停止掉 CORE2
在 HCL 模拟器里停止掉 CORE2

此时 SERVER1 和 SERVER2 ping 内网和外网依旧没有问题:

[SERVER1]ping 10.0.0.3
Ping 10.0.0.3 (10.0.0.3): 56 data bytes, press CTRL_C to break
56 bytes from 10.0.0.3: icmp_seq=0 ttl=255 time=4.000 ms
56 bytes from 10.0.0.3: icmp_seq=1 ttl=255 time=2.000 ms
56 bytes from 10.0.0.3: icmp_seq=2 ttl=255 time=2.000 ms
56 bytes from 10.0.0.3: icmp_seq=3 ttl=255 time=4.000 ms
56 bytes from 10.0.0.3: icmp_seq=4 ttl=255 time=2.000 ms

--- Ping statistics for 10.0.0.3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/2.800/4.000/0.980 ms
[SERVER1]%Jul  6 22:37:26:783 2019 SERVER1 PING/6/PING_STATISTICS: Ping statistics for 10.0.0.3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/2.800/4.000/0.980 ms.

[SERVER1]
[SERVER1]ping ipv6 FC::10:0:0:3
Ping6(56 data bytes) FC::10:0:0:2 --> FC::10:0:0:3, press CTRL_C to break
56 bytes from FC::10:0:0:3, icmp_seq=0 hlim=64 time=3.000 ms
56 bytes from FC::10:0:0:3, icmp_seq=1 hlim=64 time=4.000 ms
56 bytes from FC::10:0:0:3, icmp_seq=2 hlim=64 time=4.000 ms
56 bytes from FC::10:0:0:3, icmp_seq=3 hlim=64 time=3.000 ms
56 bytes from FC::10:0:0:3, icmp_seq=4 hlim=64 time=3.000 ms

--- Ping6 statistics for FC::10:0:0:3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.000/3.400/4.000/0.490 ms
[SERVER1]%Jul  6 22:37:52:772 2019 SERVER1 PING/6/PING_STATISTICS: Ping6 statistics for FC::10:0:0:3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 3.000/3.400/4.000/0.490 ms.

[SERVER1]
[SERVER1]ping 1.1.2.3
Ping 1.1.2.3 (1.1.2.3): 56 data bytes, press CTRL_C to break
56 bytes from 1.1.2.3: icmp_seq=0 ttl=255 time=4.000 ms
56 bytes from 1.1.2.3: icmp_seq=1 ttl=255 time=2.000 ms
56 bytes from 1.1.2.3: icmp_seq=2 ttl=255 time=3.000 ms
56 bytes from 1.1.2.3: icmp_seq=3 ttl=255 time=2.000 ms
56 bytes from 1.1.2.3: icmp_seq=4 ttl=255 time=2.000 ms

--- Ping statistics for 1.1.2.3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/2.600/4.000/0.800 ms
[SERVER1]%Jul  6 22:39:13:078 2019 SERVER1 PING/6/PING_STATISTICS: Ping statistics for 1.1.2.3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/2.600/4.000/0.800 ms.

[SERVER1]
[SERVER1]ping ipv6 2000::1:1:2:3
Ping6(56 data bytes) 2000::1:1:2:2 --> 2000::1:1:2:3, press CTRL_C to break
56 bytes from 2000::1:1:2:3, icmp_seq=0 hlim=64 time=3.000 ms
56 bytes from 2000::1:1:2:3, icmp_seq=1 hlim=64 time=6.000 ms
56 bytes from 2000::1:1:2:3, icmp_seq=2 hlim=64 time=3.000 ms
56 bytes from 2000::1:1:2:3, icmp_seq=3 hlim=64 time=3.000 ms
56 bytes from 2000::1:1:2:3, icmp_seq=4 hlim=64 time=3.000 ms

--- Ping6 statistics for 2000::1:1:2:3 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.000/3.600/6.000/1.200 ms
[SERVER1]%Jul  6 22:39:29:082 2019 SERVER1 PING/6/PING_STATISTICS: Ping6 statistics for 2000::1:1:2:3: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 3.000/3.600/6.000/1.200 ms.

[SERVER1]
[SERVER1]ping 8.8.8.8
Ping 8.8.8.8 (8.8.8.8): 56 data bytes, press CTRL_C to break
56 bytes from 8.8.8.8: icmp_seq=0 ttl=254 time=3.000 ms
56 bytes from 8.8.8.8: icmp_seq=1 ttl=254 time=2.000 ms
56 bytes from 8.8.8.8: icmp_seq=2 ttl=254 time=2.000 ms
56 bytes from 8.8.8.8: icmp_seq=3 ttl=254 time=2.000 ms
56 bytes from 8.8.8.8: icmp_seq=4 ttl=254 time=2.000 ms

--- Ping statistics for 8.8.8.8 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/2.200/3.000/0.400 ms
[SERVER1]%Jul  6 22:39:35:643 2019 SERVER1 PING/6/PING_STATISTICS: Ping statistics for 8.8.8.8: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/2.200/3.000/0.400 ms.

[SERVER1]
[SERVER1]ping ipv6 2000::8:8:8:8
Ping6(56 data bytes) 2000::1:1:2:2 --> 2000::8:8:8:8, press CTRL_C to break
56 bytes from 2000::8:8:8:8, icmp_seq=0 hlim=63 time=4.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=1 hlim=63 time=4.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=2 hlim=63 time=3.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=3 hlim=63 time=2.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=4 hlim=63 time=2.000 ms

--- Ping6 statistics for 2000::8:8:8:8 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/3.000/4.000/0.894 ms
[SERVER1]%Jul  6 22:39:49:098 2019 SERVER1 PING/6/PING_STATISTICS: Ping6 statistics for 2000::8:8:8:8: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/3.000/4.000/0.894 ms.

[SERVER1]
[SERVER2]ping 10.0.0.2
Ping 10.0.0.2 (10.0.0.2): 56 data bytes, press CTRL_C to break
56 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=15.000 ms
56 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=3.000 ms
56 bytes from 10.0.0.2: icmp_seq=2 ttl=255 time=4.000 ms
56 bytes from 10.0.0.2: icmp_seq=3 ttl=255 time=5.000 ms
56 bytes from 10.0.0.2: icmp_seq=4 ttl=255 time=3.000 ms

--- Ping statistics for 10.0.0.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.000/6.000/15.000/4.561 ms
[SERVER2]%Jul  6 22:37:13:887 2019 SERVER2 PING/6/PING_STATISTICS: Ping statistics for 10.0.0.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 3.000/6.000/15.000/4.561 ms.

[SERVER2]
[SERVER2]ping ipv6 FC::10:0:0:2
Ping6(56 data bytes) FC::10:0:0:3 --> FC::10:0:0:2, press CTRL_C to break
56 bytes from FC::10:0:0:2, icmp_seq=0 hlim=64 time=3.000 ms
56 bytes from FC::10:0:0:2, icmp_seq=1 hlim=64 time=9.000 ms
56 bytes from FC::10:0:0:2, icmp_seq=2 hlim=64 time=3.000 ms
56 bytes from FC::10:0:0:2, icmp_seq=3 hlim=64 time=4.000 ms
56 bytes from FC::10:0:0:2, icmp_seq=4 hlim=64 time=3.000 ms

--- Ping6 statistics for FC::10:0:0:2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.000/4.400/9.000/2.332 ms
[SERVER2]%Jul  6 22:37:37:185 2019 SERVER2 PING/6/PING_STATISTICS: Ping6 statistics for FC::10:0:0:2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 3.000/4.400/9.000/2.332 ms.

[SERVER2]
[SERVER2]ping 1.1.2.2
Ping 1.1.2.2 (1.1.2.2): 56 data bytes, press CTRL_C to break
56 bytes from 1.1.2.2: icmp_seq=0 ttl=255 time=10.000 ms
56 bytes from 1.1.2.2: icmp_seq=1 ttl=255 time=3.000 ms
56 bytes from 1.1.2.2: icmp_seq=2 ttl=255 time=4.000 ms
56 bytes from 1.1.2.2: icmp_seq=3 ttl=255 time=5.000 ms
56 bytes from 1.1.2.2: icmp_seq=4 ttl=255 time=4.000 ms

--- Ping statistics for 1.1.2.2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 3.000/5.200/10.000/2.482 ms
[SERVER2]%Jul  6 22:37:42:337 2019 SERVER2 PING/6/PING_STATISTICS: Ping statistics for 1.1.2.2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 3.000/5.200/10.000/2.482 ms.

[SERVER2]
[SERVER2]ping ipv6 2000::1:1:2:2
Ping6(56 data bytes) 2000::1:1:2:3 --> 2000::1:1:2:2, press CTRL_C to break
56 bytes from 2000::1:1:2:2, icmp_seq=0 hlim=64 time=6.000 ms
56 bytes from 2000::1:1:2:2, icmp_seq=1 hlim=64 time=3.000 ms
56 bytes from 2000::1:1:2:2, icmp_seq=2 hlim=64 time=2.000 ms
56 bytes from 2000::1:1:2:2, icmp_seq=3 hlim=64 time=3.000 ms
56 bytes from 2000::1:1:2:2, icmp_seq=4 hlim=64 time=2.000 ms

--- Ping6 statistics for 2000::1:1:2:2 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/3.200/6.000/1.470 ms
[SERVER2]%Jul  6 22:37:53:991 2019 SERVER2 PING/6/PING_STATISTICS: Ping6 statistics for 2000::1:1:2:2: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/3.200/6.000/1.470 ms.

[SERVER2]
[SERVER2]ping 8.8.8.8
Ping 8.8.8.8 (8.8.8.8): 56 data bytes, press CTRL_C to break
56 bytes from 8.8.8.8: icmp_seq=0 ttl=254 time=3.000 ms
56 bytes from 8.8.8.8: icmp_seq=1 ttl=254 time=2.000 ms
56 bytes from 8.8.8.8: icmp_seq=2 ttl=254 time=2.000 ms
56 bytes from 8.8.8.8: icmp_seq=3 ttl=254 time=2.000 ms
56 bytes from 8.8.8.8: icmp_seq=4 ttl=254 time=2.000 ms

--- Ping statistics for 8.8.8.8 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 2.000/2.200/3.000/0.400 ms
[SERVER2]%Jul  6 22:37:58:863 2019 SERVER2 PING/6/PING_STATISTICS: Ping statistics for 8.8.8.8: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 2.000/2.200/3.000/0.400 ms.

[SERVER2]
[SERVER2]ping ipv6 2000::8:8:8:8
Ping6(56 data bytes) 2000::1:1:2:3 --> 2000::8:8:8:8, press CTRL_C to break
56 bytes from 2000::8:8:8:8, icmp_seq=0 hlim=63 time=3.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=1 hlim=63 time=1.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=2 hlim=63 time=2.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=3 hlim=63 time=2.000 ms
56 bytes from 2000::8:8:8:8, icmp_seq=4 hlim=63 time=2.000 ms

--- Ping6 statistics for 2000::8:8:8:8 ---
5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss
round-trip min/avg/max/std-dev = 1.000/2.000/3.000/0.632 ms
[SERVER2]%Jul  6 22:38:23:413 2019 SERVER2 PING/6/PING_STATISTICS: Ping6 statistics for 2000::8:8:8:8: 5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss, round-trip min/avg/max/std-dev = 1.000/2.000/3.000/0.632 ms.

[SERVER2]

至此,实验完成。

 

本文完。如有疑问,欢迎在下方留言;如本文有什么错误,欢迎在下方留言指正,谢谢。

打赏 赞(0)
比特币钱包
以太坊钱包
比特币钱包二维码图片

比特币钱包扫描二维码打赏

以太坊钱包二维码图片

以太坊钱包扫描二维码打赏

Was this article helpful?

Related Articles

Leave A Comment?

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据