【无标题】

 1.建拓扑图,分IP

 

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

 

 

 

 

 

 

 3.ping一下进行查看是否通

4.环路汇总

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
5.设置密码

 

 6.加快收敛速度

[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 

其他同理

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值