内容摘要:在本实验中演示使用RIP协议处理不连续的子网和VLSM的情况。
R1: S1 172.16.123.5 255.255.255.252
R2, E0 172.18.2.2 255.255.255.240
R2, S0 172.16.123.2 255.255.255.252
R2: S1 172.16.123.9 255.255.255.252
R3: E0 172.18.3.3 255.255.255.0
R3: S0 172.16.123.6 255.255.255.252
R3: S1 172.16.123.10 255.255.255.252
网段划分和拓扑结构如图5-3所示。
首先把IP地址按要求配置到各接口上,并且启动RIP路由协议并声明网络,接下来的实验操作见监测清单5-2。

首先把IP地址按要求配置到各接口上,并且启动RIP路由协议并声明网络,接下来的实验操作见监测清单5-2。
监测清单5-2使用RIP协议处理VLSM和配置被动接口
第1段:RIPv1配置下的路由表
R3#sh ip route rip
172.16.0.0/30 is subnetted, 3 subnets
R 172.16.123.0 [120/1] via l72.16.123.5,00:00:12,Serial0
[120/1] via l72.16.123.9,00:00:12,Serial1
第2段:配置RIPv2和no summary
R3#conft
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#router rip
R3(config-router)#ver 2
R3 (config-router)#no auto-summary
Term_Server>2
[Resuming connection 2 to R2 ... ]
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router rip
R2(config-router)#ver 2
R2(config-router)#no auto-summary
责编:豆豆技术应用