RIP 實驗部分配置

2021-08-29 18:52:43 字數 4567 閱讀 5047

ccnp之rip實驗

實驗拓撲圖

#基本配置略:

#3.要求r3使用r2訪問r1環迴:

##r1上環回為172.16.1.1; 172.16.2.1; 172.16.3.1;環迴太多,考慮彙總後進行選路;

rip在進行路由彙總時,建議在明細路由的出界面上。相關配置

如下 :

#配置彙總路由前:

在r4上檢視路由表:

r4(config-router)#do show ip rou

codes: c - connected, s - static, r - rip, m - mobile, b - bgp

d - eigrp, ex - eigrp external, o - ospf, ia - ospf inter area

n1 - ospf nssa external type 1, n2 - ospf nssa external type 2

e1 - ospf external type 1, e2 - ospf external type 2

i - is-is, su - is-is summary, l1 - is-is level-1, l2 - is-is level-2

ia - is-is inter area, * - candidate default, u - per-user static route

o - odr, p - periodic downloaded static route

gateway of last resort is not set

34.0.0.0/24 is subnetted, 1 subnets
c 34.1.1.0 is directly connected, serial1/0

1.0.0.0/24 is subnetted, 1 subnets

r 1.1.1.0 [120/1] via 14.1.1.2, 00:00:11, serial1/1

2.0.0.0/24 is subnetted, 1 subnets

r 2.2.2.0 [120/2] via 34.1.1.1, 00:00:01, serial1/0

[120/2] via 14.1.1.2, 00:00:11, serial1/1

3.0.0.0/24 is subnetted, 1 subnets

r 3.3.3.0 [120/1] via 34.1.1.1, 00:00:01, serial1/0

4.0.0.0/24 is subnetted, 1 subnets

c 4.4.4.0 is directly connected, loopback0

23.0.0.0/24 is subnetted, 1 subnets

r 23.1.1.0 [120/1] via 34.1.1.1, 00:00:01, serial1/0

172.16.0.0/24 is subnetted, 3 subnets

r 172.16.1.0 [120/1] via 14.1.1.2, 00:00:11, serial1/1

r 172.16.2.0 [120/1] via 14.1.1.2, 00:00:11, serial1/1

r 172.16.3.0 [120/1] via 14.1.1.2, 00:00:11, serial1/1

12.0.0.0/24 is subnetted, 1 subnets

r 12.1.1.0 [120/1] via 14.1.1.2, 00:00:11, serial1/1

46.0.0.0/24 is subnetted, 1 subnets

c 46.1.1.0 is directly connected, serial1/3

14.0.0.0/24 is subnetted, 1 subnets

c 14.1.1.0 is directly connected, serial1/1

45.0.0.0/24 is subnetted, 1 subnets

c 45.1.1.0 is directly connected, serial1/2

r1(config)#int s1/1

r1(config-if)#ip summary-address rip 172.16.0.0 255.255.252.0

r1(config-if)#int s1/0

r1(config-if)#ip summary-address rip 172.16.0.0 255.255.252.0

#在r4上檢視彙總後的路由:

r4(config-router)# do show ip rou

codes: c - connected, s - static, r - rip, m - mobile, b - bgp

d - eigrp, ex - eigrp external, o - ospf, ia - ospf inter area

n1 - ospf nssa external type 1, n2 - ospf nssa external type 2

e1 - ospf external type 1, e2 - ospf external type 2

i - is-is, su - is-is summary, l1 - is-is level-1, l2 - is-is level-2

ia - is-is inter area, * - candidate default, u - per-user static route

o - odr, p - periodic downloaded static route

gateway of last resort is not set

34.0.0.0/24 is subnetted, 1 subnets
c 34.1.1.0 is directly connected, serial1/0

1.0.0.0/24 is subnetted, 1 subnets

r 1.1.1.0 [120/1] via 14.1.1.2, 00:00:08, serial1/1

2.0.0.0/24 is subnetted, 1 subnets

r 2.2.2.0 [120/2] via 34.1.1.1, 00:00:23, serial1/0

[120/2] via 14.1.1.2, 00:00:08, serial1/1

3.0.0.0/24 is subnetted, 1 subnets

r 3.3.3.0 [120/1] via 34.1.1.1, 00:00:23, serial1/0

4.0.0.0/24 is subnetted, 1 subnets

c 4.4.4.0 is directly connected, loopback0

r 6.0.0.0/8 [120/1] via 46.1.1.2, 00:00:20, serial1/3

23.0.0.0/24 is subnetted, 1 subnets

r 23.1.1.0 [120/1] via 34.1.1.1, 00:00:26, serial1/0

172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks

r 172.16.0.0/22 [120/1] via 14.1.1.2, 00:00:11, serial1/1

r 172.16.1.0/24 [120/1] via 14.1.1.2, 00:00:37, serial1/1

r 172.16.2.0/24 [120/1] via 14.1.1.2, 00:00:37, serial1/1

r 172.16.3.0/24 [120/1] via 14.1.1.2, 00:00:37, serial1/1

r 67.0.0.0/8 [120/1] via 46.1.1.2, 00:00:23, serial1/3

r 7.0.0.0/8 [120/2] via 46.1.1.2, 00:00:23, serial1/3

12.0.0.0/24 is subnetted, 1 subnets

r 12.1.1.0 [120/1] via 14.1.1.2, 00:00:11, serial1/1

46.0.0.0/24 is subnetted, 1 subnets

c 46.1.1.0 is directly connected, serial1/3

14.0.0.0/24 is subnetted, 1 subnets

c 14.1.1.0 is directly connected, serial1/1

45.0.0.0/24 is subnetted, 1 subnets

c 45.1.1.0 is directly connected, serial1/2

明細路由將會超時

Rip路由實驗配置

要求 全網可達 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 gigab...

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條 實驗拓撲 注 路由器和主機直連時,需要使用...