[BCMSN]试验19 配置VRRP负载均衡冗余试验



R1配置
r1(config)#int lo0
r1(config-if)#ip ad 1.1.1.1 255.255.255.0
r1(config-if)#int f0/0
r1(config-if)#ip ad 192.168.0.1 255.255.255.0
r1(config-if)#no sh
r1(config-if)#^Z

R2配置
r2(config)#int lo0
r2(config-if)#ip ad 2.2.2.2 255.255.255.0
r2(config-if)#int f0/0
r2(config-if)#ip ad 192.168.0.2 255.255.255.0
r2(config-if)#no sh
r2(config-if)#^Z

R3配置
r3(config)#int f0/0
r3(config-if)#ip ad 192.168.0.3 255.255.255.0
r3(config-if)#no sh
r3(config-if)#^Z

R4配置
r4(config)#int f0/0
r4(config-if)#ip ad 192.168.0.4 255.255.255.0
r4(config-if)#no sh
r4(config)#no ip routing
r4(config)#ip default-gateway 192.168.0.20
r4(config)#^Z

R1配置vrrp
r1#config t
r1(config)#int f0/0
r1(config-if)#vrrp 10 ip 192.168.0.10
r1(config-if)#vrrp 20 ip 192.168.0.20
r1(config-if)#vrrp 100 priority 150

R2配置vrrp
r2#config t
r2(config)#int f0/0
r2(config-if)#vrrp 10 ip 192.168.0.10
r2(config-if)#vrrp 20 ip 192.168.0.20
r2(config-if)#vrrp 20 priority 150
R3 ping
r3#ping
Protocol [ip]:
Target IP address: 192.168.0.10
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
r4#ping
Protocol [ip]:
Target IP address: 192.168.0.20
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.

在R2上关闭接口模拟故障
r2(config)#int f0/0
r2(config-if)#sh

R3现象
Sending 10000, 100-byte ICMP Echos to 192.168.0.10, timeout is 2 seconds:
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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