当前位置: 代码迷 >> 综合 >> CCNA 实验三 RIP协议
  详细解决方案

CCNA 实验三 RIP协议

热度:70   发布时间:2023-10-18 11:18:51.0

CCNA 实验三 RIP协议

1、PC1在LAN1中,PC2在LAN2 中,配置RIPv2协议实现两个LAN中的PC能够通信;

2、*使用Loopback口模拟LAN内的某一网段,手动汇总,R1和R2关于R3的环回口只

学到一条汇总路由;

 

1、PC1在LAN1中,PC2在LAN2 中,配置RIPv2协议实现两个LAN中的PC能够通信; 
基本配置R-1
Router>enable 
Router#configure terminal 
Router(config)#hostname R-1
R-1(config)#interface f0/1
R-1(config-if)#ip address 10.10.10.254 255.255.255.0
R-1(config-if)#no shutdown
R-1(config-if)#interface f0/0
R-1(config-if)#ip address 12.12.12.1 255.255.255.252
R-1(config-if)#no shutdownR-2
Router>enable 
Router#configure terminal 
Router(config)#hostname R-2
R-2(config)#interface f0/0
R-2(config-if)#ip address 12.12.12.2 255.255.255.252
R-2(config-if)#no shutdown
R-2(config-if)#interface f0/1
R-2(config-if)#ip address 23.23.23.1 255.255.255.252
R-2(config-if)#no shutdownR-3
Router>enable 
Router#configure terminal
Router(config)#hostname R-3
R-3(config)#interface f0/1
R-3(config-if)#ip address 23.23.23.2 255.255.255.252
R-3(config-if)#no shutdown 
R-3(config-if)#interface f0/0
R-3(config-if)#ip address 10.10.20.254 255.255.255.0
R-3(config-if)#no shutdown
R-3(config)#interface loopback 0
R-3(config-if)#ip address 172.16.10.1 255.255.255.0
R-3(config-if)#no shutdown
R-3(config-if)#interface loopback 1
R-3(config-if)#ip address 172.16.20.1 255.255.255.0
R-3(config-if)#no shutdown
R-3(config-if)#interface loopback 2
R-3(config-if)#ip address 172.16.30.1 255.255.255.0
R-3(config-if)#no shutdown
RIP配置
R-1
R-1(config-router)#exit
R-1(config)#router rip
R-1(config-router)#version 2
R-1(config-router)#network 10.0.0.0
R-1(config-router)#network 12.0.0.0
R-1(config-router)#no auto-summaryR-2
R-2(config-if)#exit
R-2(config)#router rip
R-2(config-router)#version 2
R-2(config-router)#network 12.0.0.0
R-2(config-router)#network 23.0.0.0
R-2(config-router)#no auto-summaryR-3
R-3(config-if)#exit
R-3(config)#router rip
R-3(config-router)#version 2
R-3(config-router)#network 23.0.0.0
R-3(config-router)#network 10.0.0.0
R-3(config-router)#network 172.16.0.0
R-3(config-router)#no auto-summary

这里就不展示测试结果了,完成以上步骤,pc1和pc2之间是能够互相ping通的。

2、*使用Loopback口模拟LAN内的某一网段,手动汇总,R1和R2关于R3的环回口只学到一条汇总路由;似乎思科模拟器做不了rip汇总,就先略过吧

华为路由器配置RIP协议请参考:https://blog.csdn.net/qq_34889607/article/details/103860089