(问答题)完成下方实验,书写CSDN博客,关键位置截图和指令,实验步骤书写!

文章描述了一次配置网络拓扑的过程,包括为路由器R1到R5分配IP地址和环回地址,使用RIP协议进行路由,并执行ping测试验证连通性。接着,对R2、R3和R4进行了环回地址的路由汇总。此外,设置了R2和R3之间的密码,并调整了R1的RIP更新时间和老化时间以加速收敛。
摘要由CSDN通过智能技术生成

第一步,新建拓扑图,分配IP:

为R1、R2、R3、R4、R5分配地址以及分配环回地址:

R1:

        R2:

 R3:

R4: 

R5: 

ping一下看看是否可通:

[R5]ping 172.16.1.1
  PING 172.16.1.1: 56  data bytes, press CTRL_C to break
    Reply from 172.16.1.1: bytes=56 Sequence=1 ttl=255 time=190 ms
    Reply from 172.16.1.1: bytes=56 Sequence=2 ttl=255 time=40 ms
    Reply from 172.16.1.1: bytes=56 Sequence=3 ttl=255 time=50 ms
    Reply from 172.16.1.1: bytes=56 Sequence=4 ttl=255 time=50 ms
    Reply from 172.16.1.1: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 172.16.1.1 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 30/72/190 ms

R2,R3,R4环回汇总:

R2环回汇总

[R2]int
[R2]interface g0/0/0
[R2-GigabitEthernet0/0/0]rip sy
[R2-GigabitEthernet0/0/0]rip su
[R2-GigabitEthernet0/0/0]rip summary-address 192.168.1.0 255.255.255.0
[R2-GigabitEthernet0/0/0]q
[R2]int
[R2]interface g0/0/1
[R2-GigabitEthernet0/0/1]rip su
[R2-GigabitEthernet0/0/1]rip summary-address 192.168.1.0 255.255.255.0
[R2-GigabitEthernet0/0/1]q  
[R2]ip rou
[R2]ip route
[R2]ip route-static 192.168.1.0 24 nul.
[R2]ip route-static 192.168.1.0 24 nul 0
[R2]ip route-static 192.168.1.0 24 null 0

R3环回汇总

[R3]int
[R3]interface g0/0/0
[R3-GigabitEthernet0/0/0]ip add 
[R3-GigabitEthernet0/0/0]rip su     
[R3-GigabitEthernet0/0/0]rip summary-address 192.168.2.0 255.255.255.0 
[R3-GigabitEthernet0/0/0]q
[R3]int
[R3]interface g0/0/1
[R3-GigabitEthernet0/0/1]rip su
[R3-GigabitEthernet0/0/1]rip summary-address 192.168.2.0 255.255.255.0
[R3-GigabitEthernet0/0/1]q
[R3]ip rou
[R3]ip route-
[R3]ip route-static 192.168.2.0 24 NULL0

R4环回汇总

[R4]int
[R4]interface g0/0/1
[R4-GigabitEthernet0/0/1]rip
[R4-GigabitEthernet0/0/1]rip su
[R4-GigabitEthernet0/0/1]rip summary-address 192.168.3.0 255.255.255.0
[R4-GigabitEthernet0/0/1]q
[R4]int
[R4]interface g0/0/1
[R4-GigabitEthernet0/0/1]q
[R4]int [R2]int
[R2]interface g0/0/1
[R2-GigabitEthernet0/0/1]rip au
[R2-GigabitEthernet0/0/1]rip authentication-mode md5 u
[R2-GigabitEthernet0/0/1]rip authentication-mode md5 usual huwei
[R4]interface g0/0/0
[R4-GigabitEthernet0/0/0]rip summary-address 192.168.3.0 255.255.255.0
[R4-GigabitEthernet0/0/0]q
[R4]ip rout
[R4]ip route- 
[R4]ip route-static 192.168.3.0 24 NULL 0

环回汇总:

    192.168.1.0/24  RIP     100  1           D   172.16.1.2      GigabitEthernet0/0/0
    192.168.2.0/24  RIP     100  2           D   172.16.1.2      GigabitEthernet0/0/0
    192.168.3.0/24  RIP     100  2           D   172.16.1.3      GigabitEthernet0/0/0

接下来是设置密码,在R2和R3之间设置密码,密码是:5201314

 

最后加快收敛速度:

[R1]rip 1
[R1-rip-1]timers rip 15 90 60
[R1-rip-1]dis rip
Public VPN-instance    
RIP process : 1

 RIP version   : 2
Preference    : 100
Checkzero     : Enabled
Default-cost  : 0
Summary       : Enabled
Host-route    : Enabled

Maximum number of balanced paths : 8
Update time   : 15 sec              Age time : 90 sec 
Garbage-collect time : 60 sec 
Graceful restart  : Disabled
BFD               : Disabled
Silent-interfaces : None 
Default-route : Disabled
Verify-source : Enabled
Networks : 
172.16.0.0                        
Configured peers             : None 
Number of routes in database : 9
Number of interfaces enabled : 1
Triggered updates sent       : 0
Number of route changes      : 54
Number of replies to queries : 2 

R2、R3、R4、R5同理~
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值