RIP大实验都是以大实验背景为基础,在其上进行的实验,拓扑图是相同的。

CCNA笔记之第二十节:RIP协议(大实验4)_联科教育

4. RIP大实验4: 边界自动汇总

1) 删除R1上重分布到RIP的缺省路由,R1和R4上通告回环口,但发现R1的回环口:192.168.1.92和 R4的回环口:192.168.1.33却不能互相访问:

R1(config-router)#no redistribute static

R1(config-router)#net 192.168.1.0

R4(config-router)#net 192.168.1.0

2) R4 ping R1的回环口:结果不通

R4#ping 192.168.1.92

Sending 5, 100-byte ICMP Echos to 192.168.1.92, timeout is 2 seconds:

.....

原因是边界自动汇总:R1和R4之间是10.1.134.0网段的,会执行边界汇总,若在同一个主网,就不会自动汇总。

 

3) 查看R1、R4路由信息,只有直连网段的路由:

R4#sh ip rou

R 3.0.0.0/8 [120/1] via 10.1.134.1, 00:00:10, FastEthernet0/0

10.0.0.0/24 is subnetted, 1 subnets

C 10.1.134.0 is directly connected, FastEthernet0/0

192.168.1.0/27 is subnetted, 1 subnets

C 192.168.1.32 is directly connected, Loopback0

 

4) R1和R4间配置辅助地址:

R1(config)#int f0/0

R1(config-if)#ip add 192.168.1.1 255.255.255.224 secondary

R4(config)#int f0/0

R4(config-if)#ip add 192.168.1.2 255.255.255.224 secondary

5) R1回环口ping R4回环口:结果通

R1#ping 192.168.1.33 source 192.168.1.92

Sending 5, 100-byte ICMP Echos to 192.168.1.33, timeout is 2 seconds:

Packet sent with a source address of 192.168.1.92

!!!!!

6) R1、R4查看路由表,出现相互的网段信息:

R4#sh ip rou

R 3.0.0.0/8 [120/1] via 192.168.1.1, 00:00:02, FastEthernet0/0

[120/1] via 10.1.134.1, 00:00:02, FastEthernet0/0

10.0.0.0/24 is subnetted, 2 subnets

R 10.0.0.0 [120/1] via 192.168.1.1, 00:00:02, FastEthernet0/0

C 10.1.134.0 is directly connected, FastEthernet0/0

192.168.1.0/27 is subnetted, 3 subnets

R 192.168.1.64 [120/1] via 192.168.1.1, 00:00:02, FastEthernet0/0

C 192.168.1.32 is directly connected, Loopback0

C 192.168.1.0 is directly connected, FastEthernet0/0

 

本文档由联科教育www.ilync.cn 提供,转载请注明出处!!