EqLlyHJ5w6,694hQRgLWm
华三实验大全之IPv4和IPv6负载均衡华三实验大全之IPv4和IPv6负载均衡 [r1]ip route-static 0.0.0.0 0 192.168.1.2 ? bfd Enable BFD fast detect description Specify route description preference Specify route preference tag Specify route tag track Specify static route track <cr> [r1]ip route-static 0.0.0.0 0 192.168.1.2 [r1]ip route-static 0.0.0.0 0 192.168.2.2 [r2]ipv6 route-static 172.16.1.0 24 192.168.1.1 [r2]ipv6 route-static 172.16.1.0 24 192.168.1.1 [r2]ipv6 [r1]int e0/1/0 [r1-Ethernet0/1/0]ipv6 address 2000::1/64 [r1]int s0/2/0 [r1-Serial0/2/0]ipv6 address 2001::1/64 [r1]int lo0 [r1-LoopBack0]ipv6 address 3000::1/128 [r1]ipv6 route-static :: 0 2000::2 ? preference Specifies route preference <cr> [r1]ipv6 route-static :: 0 2000::2 [r1]ipv6 route-static :: 0 2001::2 [r2]ipv6 [r2]int e0/1/0 [r2-Ethernet0/1/0]ipv6 address 2000::2/64 [r2]int s0/2/2 [r2-Serial0/2/2]ipv6 address 2001::2/64
整个实验就是此处要多注意---在配置lo口掩码问题,在配置lo虽然是128为的,但是在配置静态路由时要配置64位的! [r2]ipv6 route-static 3000:: 128 2000::1 [r2]ping ipv6 3000::1 PING 3000::1 : 56 data bytes, press CTRL_C to break Request time out Request time out Request time out Request time out Request time out --- 3000::1 ping statistics --- 5 packet(s) transmitted 0 packet(s) received 100.00% packet loss round-trip min/avg/max = 0/0/0 ms [r2]ipv6 route-static 3000:: 64 2000::1 [r2]ping ipv6 3000::1 PING 3000::1 : 56 data bytes, press CTRL_C to break Request time out Reply from 3000::1 bytes=56 Sequence=2 hop limit=64 time = 25 ms Reply from 3000::1 bytes=56 Sequence=3 hop limit=64 time = 15 ms Reply from 3000::1 bytes=56 Sequence=4 hop limit=64 time = 5 ms Reply from 3000::1 bytes=56 Sequence=5 hop limit=64 time = 5 ms --- 3000::1 ping statistics --- 5 packet(s) transmitted 4 packet(s) received 20.00% packet loss round-trip min/avg/max = 5/12/25 ms [r2]ipv6 route-static 3000:: 64 2001::1 下面的输出说明了实现了负责分担 备份 [r1]ipv6 route-static :: 0 2000::2 ? preference Specifies route preference <cr> 在设置路由时携带优先级参数就可以实现备份功能
|