亚洲综合日韩无码久久,超高清欧美videosseⅹo,精品国产免费第一区二区三区日韩,午夜国产精品久久影院,亚洲国产中文精品无码久久一线北

您好,歡迎來到江浙滬招生考試網(wǎng) !

設(shè)為首頁|加入收藏|聯(lián)系我們|網(wǎng)站地圖|

江浙滬招生考試網(wǎng)

您現(xiàn)在的位置: test4exam >> 計(jì)算機(jī)考試 >> CISCO認(rèn)證 >> 正文

RIP動態(tài)路由的配置

日期:2009/10/6 13:32:16 來源:本站原創(chuàng) 訪問量:

實(shí)驗(yàn)介紹:

本實(shí)驗(yàn)所用的設(shè)備為:三臺帶有2S0口和一個E0口的路由器,三臺PC

 

實(shí)驗(yàn)?zāi)康模?/SPAN>

靈活掌握RIP的動態(tài)路由的配置。

實(shí)驗(yàn)步驟:

1.         R1上的配置:

Router>

Router>en

Router#conf t

Router(config)#host r1

r1(config)#int e0

r1(config-if)#ip add 172.16.1.1 255.255.255.0

r1(config-if)#no shutdown

r1(config-if)#exit

r1(config)#int s0

r1(config-if)#ip add 172.16.2.1 255.255.255.0

r1(config-if)#no shutdown

r1(config-if)#clock rate 56000

r1(config-if)#no shutdown

r1(config-if)#exit

r1(config)#router rip

r1(config-router)#net 172.16.0.0

r1(config-router)#^Z

RIP協(xié)議啟用前的路由表

r1#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

       U - per-user static route

Gateway of last resort is not set

C      172.16.1.0/24 is directly connected, Ethernet0

C      172.16.2.0/24 is directly connected, Serial0

RIP協(xié)議啟用后的路由表

r1#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

       U - per-user static route

Gateway of last resort is not set

C      172.16.1.0/24 is directly connected, Ethernet0

C      172.16.2.0/24 is directly connected, Serial0

R      172.16.3.0/24 [120/1] via 172.16.2.2, 00:01:37, Serial0

R      172.16.4.0/24 [120/1] via 172.16.2.2, 00:07:21, Serial0

R      172.16.5.0/24 [120/2] via 172.16.2.2, 00:05:21, Serial0

 

2.         R2上的配置:

Router>

Router>en

Router#conf t

Router(config)#host r2

r2(config)#int s1

r2(config-if)#ip add 172.16.2.2 255.255.255.0

r2(config-if)#no shutdown

r2(config-if)#exit

r2(config)#int s0

r2(config-if)#ip add 172.16.4.0 255.255.255.0

r2(config-if)#ip add 172.16.4.1 255.255.255.0

r2(config-if)#clock rate 56000

r2(config-if)#no shutdown

r2(config-if)#exit

r2(config)#int e0

r2(config-if)#ip add 172.16.3.1 255.255.255.0

r2(config-if)#no shutdown

r2(config-if)#exit

r2(config)#router rip

r2(config-router)#net 172.16.0.0

r2(config-router)#^Z

r2#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

       U - per-user static route

Gateway of last resort is not set

C      172.16.2.0/24 is directly connected, Serial1

C      172.16.3.0/24 is directly connected, Ethernet0

C      172.16.4.0/24 is directly connected, Serial0

R      172.16.1.0/24 [120/1] via 172.16.2.1, 00:09:13, Serial1

R      172.16.5.0/24 [120/1] via 172.16.4.2, 00:09:13, Serial0

 

3.         R3上的配置:

Router>

Router>en

Router#conf t

Router(config)#int s1

Router(config-if)#ip add 172.16.4.2 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#int e0

Router(config-if)#ip add 172.16.5.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

Router(config)#host r3

r3(config)#

r3(config)#router rip

r3(config-router)#net 172.16.0.0

r3(config-router)#^Z

r3#show ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default

       U - per-user static route

Gateway of last resort is not set

C      172.16.4.0/24 is directly connected, Serial1

C      172.16.5.0/24 is directly connected, Ethernet0

R      172.16.1.0/24 [120/1] via 172.16.4.1, 00:05:32, Serial1

R      172.16.2.0/24 [120/1] via 172.16.4.1, 00:08:19, Serial1

R      172.16.3.0/24 [120/1] via 172.16.4.1, 00:05:32, Serial1

 

4.         測試:

r1#

r1#ping

Protocol [ip]:

Target IP address: 172.16.5.2

Repeat count [5]:

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]:

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.5.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

PC 上的配置為:

PC1IP172.16.1.2 網(wǎng)關(guān):172.16.1.1

PC2IP172.16.3.2 網(wǎng)關(guān):172.16.3.1

PC3IP172.16.5.2 網(wǎng)關(guān):172.16.5.1

相關(guān)閱讀
·推薦文章

Copyright ©2013-2015 江浙滬招生考試網(wǎng) All Rights Reserved.
地址: 蘇州市姑蘇區(qū)閶胥路483號(工投創(chuàng)業(yè)園)  電話:0512-85551931 郵編: 214000
郵箱: [email protected] 版權(quán)所有:蘇州邁峰教育科技有限公司 蘇ICP備15050684號-2