动态路由实验(eNSP)

文章目录

  • 要求
  • 分析
  • 配置

要求

  1. 全网可达
  2. R4 的环回路由不能被宣告
  3. R2 R3 R4 各有两个环回需要汇总
  4. 保证更新安全
  5. 加快收敛速度

分析

全网可达 —> 动态路由实现
环回汇总 —> CIDR
保证更新安全 —> 手工认证
加快收敛速度 —> 修改 rip time

配置

动态路由实验(eNSP)_第1张图片

配置直连及环回

[R2]interface g0/0/0
[R2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
Jan  8 2022 10:39:57-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]interface g0/0/1
[R2-GigabitEthernet0/0/1]ip address 23.1.1.1 24
Jan  8 2022 10:40:22-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]interface LoopBack 0
[R2-LoopBack0]ip address 192.168.1.1 28
[R2-LoopBack0]q
[R2]interface LoopBack 1
[R2-LoopBack1]ip address 192.168.1.17 28

测试
动态路由实验(eNSP)_第2张图片
动态路由实验(eNSP)_第3张图片
动态路由RIP

[R2]rip 1
[R2-rip-1]version 2
[R2-rip-1]network 12.0.0.0
[R2-rip-1]network 23.0.0.0
[R2-rip-1]network 192.168.1.0
[R2-rip-1]quit
[R2]interface g0/0/0
[R2-GigabitEthernet0/0/0]rip summary-address 192.168.0.0 255.255.224.0
[R2-GigabitEthernet0/0/0]quit
[R2]interface g0/0/1
[R2-GigabitEthernet0/0/1]rip summary-address 192.168.0.0 255.255.224.0

手工认证

[R2]interface g0/0/1
[R2-GigabitEthernet0/0/1]rip authentication-mode md5 usual huawei
------------------
[R3]interface g0/0/0
[R3-GigabitEthernet0/0/0]rip authentication-mode md5 usual huawei

测试
动态路由实验(eNSP)_第4张图片
动态路由实验(eNSP)_第5张图片
加快收敛速度

[R1]rip 1
[R1-rip-1]version 2
[R1-rip-1]timers rip 15 90 60

查看

[R1]display 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 : 
       12.0.0.0                          
       Configured peers             : None 
       Number of routes in database : 9
       Number of interfaces enabled : 1
       Triggered updates sent       : 4
       Number of route changes      : 20
       Number of replies to queries : 4
       Number of routes in ADV DB   : 6

  Total count for 1 process : 
       Number of routes in database : 9 
       Number of interfaces enabled : 1 
       Number of routes sendable in a periodic update : 9
       Number of routes sent in last periodic update : 0 

你可能感兴趣的:(HCIA,安全)