Rip路由實驗配置

2021-10-16 17:13:39 字數 4537 閱讀 4462

要求:

全網可達

r4的環迴不能被宣告

r2 r3 r4各有兩個環迴需要彙總

保證更新安全

加快收斂速度

r1:[r1]inte***ce g0/0/0

[r1-gigabitethernet0/0/0]ip address 123.1.1.1 24

r2;r2]inte***ce g0/0/0

[r2-gigabitethernet0/0/0]ip address 123.1.1.2 24

[r2]inte***ce g0/0/1

[r2-gigabitethernet0/0/1]ip address 23.1.1.2 24

r3:r2]inte***ce g0/0/0

[r2-gigabitethernet0/0/0]ip address 123.1.1.2 24

[r2]inte***ce g0/0/1

[r2-gigabitethernet0/0/1]ip address 23.1.1.2 24

r4:r2]inte***ce g0/0/0

[r2-gigabitethernet0/0/0]ip address 123.1.1.2 24

[r2]inte***ce g0/0/1

[r2-gigabitethernet0/0/1]ip address 23.1.1.2 24

r5r2]inte***ce g0/0/0

[r2-gigabitethernet0/0/0]ip address 123.1.1.2 24

[r2]inte***ce g0/0/1

[r2-gigabitethernet0/0/1]ip address 23.1.1.2 24

r2:[r2]inte***ce loopback 0

[r2-loopback0]ip address 192.168.1.1 25

[r2]inte***ce loopback 1

[r2-loopback1]ip address 192.168.1.129 25

r3:[r3]inte***ce loopback 0

[r3-loopback0]ip address 192.168.2.1 25

[r3]inte***ce loopback 1

[r3-loopback1]ip address 192.168.2.129 25

r4:[r4]inte***ce loopback 0

[r4-loopback0]ip address 192.168.3.1 25

[r4]inte***ce loopback 1

[r4-loopback1]ip address 192.168.3.129 25

[r4]inte***ce loopback 2

[r4-loopback2]ip address 100.1.1.1 24

rip協議配置:

r1:[r1]rip 1

[r1-rip-1]version 2

[r1-rip-1]network 123.0.0.0

r2:[r2]rip 1

[r2-rip-1]version 2

[r2-rip-1]network 123.0.0.0

[r2-rip-1]network 23.0.0.0

[r2-rip-1]network 192.168.1.0

r3:[r3]rip 1

[r3-rip-1]version 2

[r3-rip-1]network 23.0.0.0

[r3-rip-1]network 34.0.0.0

[r3-rip-1]network 192.168.2.0

r4:[r4]rip 1

[r4-rip-1]version 2

[r4-rip-1]network 34.0.0.0

[r4-rip-1]network 45.0.0.0

[r4-rip-1]network 192.168.3.0

r5:[r5]rip 1

[r5-rip-1]version 2

[r5-rip-1]network 45.0.0.0

[r5-rip-1]network 123.0.0.0

r4不能被宣告,則配置預設:

[r4]rip 1

[r4-rip-1]version 2

[r4-rip-1]default-route originate

環迴路由彙總:

r2:[r2]inte***ce g0/0/0

[r2-gigabitethernet0/0/0]rip summary-address 192.168.1.0 255.255.255.0

[r2]inte***ce g0/0/1

[r2-gigabitethernet0/0/1]rip summary-address 192.168.1.0 255.255.255.0

r3:[r3]inte***ce g0/0/0

[r3-gigabitethernet0/0/0]rip summary-address 192.168.2.0 255.255.255.0

[r3]inte***ce g0/0/1

[r3-gigabitethernet0/0/1]rip summary-address 192.168.2.0 255.255.255.0

r4:[r4]inte***ce g0/0/0

[r4-gigabitethernet0/0/0]rip summary-address 192.168.3.0 255.255.255.0

[r4]inte***ce g0/0/1

[r4-gigabitethernet0/0/1]rip summary-address 192.168.3.0 255.255.255.0

空介面防環路由:

r2:[r2]ip route-static 192.168.1.0 24 null 0

r3:[r3]ip route-static 192.168.2.0 24 null 0

r4:[r4]ip route-static 192.168.3.0 24 null 0

手工認證:

r1:[r1]inte***ce g0/0/0

[r1-gigabitethernet0/0/0]rip authentication-mode ****** huaweir2:

r2:[r2]inte***ce g0/0/0

[r2-gigabitethernet0/0/0]rip authentication-mode ****** huawei

[r2]inte***ce g0/0/1

[r2-gigabitethernet0/0/1]rip authentication-mode ****** huawei

r3:[r3]inte***ce g0/0/0

[r3-gigabitethernet0/0/0]rip authentication-mode ****** huawei

[r3]inte***ce g0/0/1

[r3-gigabitethernet0/0/1]rip authentication-mode ****** huawei

r4:[r4]inte***ce g0/0/0

[r4-gigabitethernet0/0/0]rip authentication-mode ****** huawei

[r4]inte***ce g0/0/1

[r4-gigabitethernet0/0/1]rip authentication-mode ****** huawei

r5:[r5]inte***ce g0/0/0

[r5-gigabitethernet0/0/0]rip authentication-mode ****** huawei

[r5]inte***ce g0/0/1

[r5-gigabitethernet0/0/1]rip authentication-mode ****** huawei

加快收斂配置:

r1:[r1]rip 1

[r1-rip-1]version 2

[r1-rip-1]timers rip 15 90 60

r2:[r2]rip 1

[r2-rip-1]version 2

[r2-rip-1]timers rip 15 90 60

r3:[r3]rip 1

[r3-rip-1]version 2

[r3-rip-1]timers rip 15 90 60

r4:[r4]rip 1

[r4-rip-1]version 2

[r4-rip-1]timers rip 15 90 60

r5:[r5]rip 1

[r5-rip-1]version 2

[r5-rip-1]timers rip 15 90 60

RIP 路由配置實驗指令碼

一 實驗拓撲 二 實驗配置過程 1 路由器基本配置 1 路由器r1的基本配置 zxr10 config hostname cgt01 cgt01 config inte ce gei 2 1 cgt01 config if ip address 10.51.1.1 255.255.255.252 c...

配置 RIP 路由協議實驗

實驗名稱 rip v2 配置 實驗目的 掌握在路由器上配置 rip v2 背景描述 技術原理 實現功能 實現網路的互連互通,從而實現資訊的共享和傳遞 實驗裝置 s3760 交換機 1 臺 rsr10 路由器 兩台 v35 線纜 1 根 直通線或交叉線 1條 實驗拓撲 注 路由器和主機直連時,需要使用...

靜態路由配置及RIP配置實驗

實驗環境 packet trace 5.3 模擬軟體。實驗步驟 1 首先要進行ip位址規劃。例如下圖格式 網路名網路位址 子網掩碼 閘道器主機ip vlan1 10.10.1.0 255.255.255.0 10.10.1.1 10.10.1.2 vlan10 192.168.10.0 255.25...