RIP实验

该实验旨在配置路由器接口和环回地址,并通过RIP协议实现12.1.1.0/24,23.1.1.0/24,192.168.1.0/24,192.168.2.0/24网段的全网可达。配置步骤包括设置路由器接口IP,配置环回接口,以及在R1,R2,R3上启用RIP版本1并宣告相关网络。最后,通过PC1的PING测试验证了所有设备间的连通性。
摘要由CSDN通过智能技术生成

一.实验需求

1.路由器上分别配置环回

2.连接路由器得网段分别为12.1.1.0/24,23.1.1.0/24

3.R1和R3连接的网址分别为192.168.1.0/24,192.168.2.0/24

4.整个网段实验RIP达到全网可达

二.实验过程

1.搭建拓扑图

 2.配置各PC

 

 

 

3.配置路由器IP以及各路由器环回

[r1]int g 0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.1.254 24
May  2 2023 17:16:05-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r1-GigabitEthernet0/0/0]q
[r1]int g 0/0/1
[r1-GigabitEthernet0/0/1]ip add 12.1.1.1 24
May  2 2023 17:16:17-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r1-GigabitEthernet0/0/1]q
[r1]int l 0
[r1-LoopBack0]ip add 1.1.1.1 32
[r1-LoopBack0]q

 

[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ip add 12.1.1.2 24
May  2 2023 17:17:34-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r2-GigabitEthernet0/0/0]q
[r2]int g 0/0/1
[r2-GigabitEthernet0/0/1]ip add 23.1.1.1 24
May  2 2023 17:18:01-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r2-GigabitEthernet0/0/1]q
[r2]int l 0
[r2-LoopBack0]ip add 2.2.2.2 32
[r2-LoopBack0]q
[r3]int g 0/0/0
[r3-GigabitEthernet0/0/0]ip add 23.1.1.2 24
May  2 2023 17:18:55-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r3-GigabitEthernet0/0/0]q
[r3]int g 0/0/1
[r3-GigabitEthernet0/0/1]ip add 192.168.2.254 24
May  2 2023 17:19:18-08:00 r3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r3-GigabitEthernet0/0/1]q
[r3]int l 0
[r3-LoopBack0]ip add 3.3.3.3 32
[r3-LoopBack0]q

4.配置RIP协议

[r1]rip 1
[r1-rip-1]ver 1
[r1-rip-1]net	
[r1-rip-1]network 192.168.1.0
[r1-rip-1]net	
[r1-rip-1]network 1.0.0.0
[r1-rip-1]net	
[r1-rip-1]network 12.0.0.0
[r1-rip-1]q
[r2]rip 1
[r2-rip-1]ver 1
[r2-rip-1]ne	
[r2-rip-1]network 12.0.0.0
[r2-rip-1]ne	
[r2-rip-1]network 23.0.0.0
[r2-rip-1]q
[r3]rip 1
[r3-rip-1]ver 1
[r3-rip-1]ne	
[r3-rip-1]network 23.0.0.0
[r3-rip-1]net	
[r3-rip-1]network 192.168.2.0
[r3-rip-1]q

三.检测实验结果

以PC1为例分别PING其他设备

 

 

结论:经过检测各设备均互通实验完成。 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值