先完成R1的基本IP配置<>
##R1
R1>en
R1#conf
R1#configure t
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#rou
R1(config)#router rip --------------------配置RIP传播默认路由需要进入路由配置模式
R1(config-router)#ver 2-------------------按照课题要求,我们需要配置的是RIPv2版本
R1(config-router)#net
R1(config-router)#network 192.168.0.0---------------对所连接的动态路由进行配置
R1(config-router)#network 192.168.1.0---------------对所连接的动态路由进行配置
2. R1,R2,R3配置RIPv2动态路由,且3个路由器都设置为禁用自动汇
##R1
R1>en
R1#conf
R1#configure t
R1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#rou
R1(config)#router rip --------------------配置RIP传播默认路由需要进入路由配置模式
R1(config-router)#ver 2-------------------按照课题要求,我们需要配置的是RIPv2版本
R1(config-router)#net
R1(config-router)#network 192.168.0.0---------------对所连接的动态路由进行配置
R1(config-router)#network 192.168.1.0---------------对所连接的动态路由进行配置
R1(config-router)#no auto-summary-------------------设置自动汇总
R2
R2>en
R2#conf
R2#configure t
R2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ro
R2(config)#router rip
R2(config-router)#ver 2
R2(config-router)#net 192.168.1.0
R2(config-router)#net 192.168.2.0
R2(config-router)#net 172.16.0.0
R2(config-router)#no auto-summary
R3
R3>en
R3#conf
R3#configure t
R3#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#rou
R3(config)#router rip
R3(config-router)#ver 2
R3(config-router)#net 172.16.0.0
R3(config-router)#net 172.16.1.0
R3(config-router)#no auto-summary
3. R1,R2,R3的fa0/0都设置为被动接口。
R1(config-router)#passive-interface f0/0
R2(config-router)#passive-interface f0/0
R3(config-router)#passive-interface f0/0