看不清图片,清单击图片查看清晰图
 
一直在练习EIGRP、OSPF协议,今天没事做做RIP,却发现了一个大问题!具体问题如下:
 
 
 
由RIP的等价负载均衡想到的......_CCNA
按照上图做好基础配置,测试时发现:
 
R1#ping 23.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 23.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/57/152 ms
R1#
*Mar  1 00:12:55.019: ICMP: echo reply rcvd, src 23.1.1.2, dst 13.1.1.1
*Mar  1 00:12:55.087: ICMP: echo reply rcvd, src 23.1.1.2, dst 13.1.1.1
*Mar  1 00:12:55.123: ICMP: echo reply rcvd, src 23.1.1.2, dst 13.1.1.1
*Mar  1 00:12:55.139: ICMP: echo reply rcvd, src 23.1.1.2,
dst 13.1.1.1
*Mar  1 00:12:55.155: ICMP: echo reply rcvd, src 23.1.1.2, dst 13.1.1.1

并没有执行负载均衡,这是为什么呢,开始以为是配置错误,查看配置信息,发现并无错误,于是想到,是不是模拟器出错了,OK!~重新启动,可问题依旧存在......
 
晕!~
 
后来查看资料,终于得知原因,现告知大家:
 
因为思科的IOS软件提供两种负载均衡
1.基于每个分组的负载均衡----进程交换
2.基于每个目的的负载均衡----快速交换

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#no ip cef (关闭快速交换)
R1(config)#do ping 23.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 23.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/59/104 ms
R1(config)#
*Mar  1 00:21:03.799: ICMP: echo reply rcvd, src 23.1.1.2, dst 12.1.1.1
*Mar  1 00:21:03.903: ICMP: echo reply rcvd, src 23.1.1.2,
dst 13.1.1.1
*Mar  1 00:21:03.927: ICMP: echo reply rcvd, src 23.1.1.2, dst 12.1.1.1
*Mar  1 00:21:04.019: ICMP: echo reply rcvd, src 23.1.1.2,
dst 13.1.1.1
*Mar  1 00:21:04.039: ICMP: echo reply rcvd, src 23.1.1.2, dst 12.1.1.1
 
实现了负载均衡