計算機網(wǎng)絡(luò)試驗四-路由器的配置_第1頁
計算機網(wǎng)絡(luò)試驗四-路由器的配置_第2頁
計算機網(wǎng)絡(luò)試驗四-路由器的配置_第3頁
計算機網(wǎng)絡(luò)試驗四-路由器的配置_第4頁
計算機網(wǎng)絡(luò)試驗四-路由器的配置_第5頁
已閱讀5頁,還剩4頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、理工大學(xué)實驗報告學(xué)院(系)名稱: 計算機與通信工程學(xué)院學(xué)號專業(yè)計算機科學(xué)與技術(shù)(中加)班級教學(xué)2班實驗項目實驗四:路由器的配置課程名稱計算機網(wǎng)絡(luò)課程代碼0662016實驗時間2015年6月25日第7、8節(jié)實驗地點7-219批改意見成績教師簽字:(一) 實驗?zāi)康模赫莆绽贸壗K端配置路由器時的連接和參數(shù)設(shè)置;掌握路由器的常見模式及其轉(zhuǎn)換命令;掌握用配置向?qū)渲寐酚善鞯牟襟E和方法;掌握檢查路由器配置和狀態(tài)的路由器命令。掌握路由器配置文件管理方 法,掌握靜態(tài)路由和動態(tài)路由的配置方法。(二)實驗環(huán)境:軟件環(huán)境: Windows 2000 /XP硬件環(huán)境:舊M PC或兼容機局域網(wǎng)、PC機連入Intern

2、et(三)實驗學(xué)時:2學(xué)時,必做.(四)實驗要求:利用超級終端進行路由器的配置,記錄配置過程,在實驗報告中注明各種命令的功能。進行網(wǎng)絡(luò)地址 規(guī)劃,配置路由器;檢查路由器配置。掌握路由協(xié)議的種類和特點。掌握靜態(tài)路由、默認路由的配置方法。 掌握查看路由條目的方法,并驗證路由的作用。(六)實驗步驟:.設(shè)計法連接網(wǎng)絡(luò)。.連接主機與路由器。.配置各個接口。.最后配置路由表。配置RIP:#rip 1version 2 network 0.0.0.0#路由表:r1display ip routing-tableRouting Tables: PublicDestinations : 10Routes : 1

3、0Destination/MaskProtoPreCostNextHopInterface20.0.1.0/24Direct 0020.0.1.1Eth0/020.0.1.1/32Direct 00127.0.0.1InLoop020.0.2.0/24Direct 0020.0.2.1S2/020.0.2.1/32Direct 00127.0.0.1InLoop020.0.2.2/32Direct 0020.0.2.2S2/020.0.3.0/24RIP100120.0.2.2S2/020.0.4.0/24RIP100120.0.2.2S2/020.0.5.0/24RIP100220.0.2.

4、2S2/0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.0.1/32Direct 00127.0.0.1InLoop0接口信息:r1display ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP Address DescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.1.1Ethernet0.Eth0/1downd

5、ownunassignedEthernet。.S1/0downdownunassignedSerial1/0.S2/0upup20.0.2.1Serial2/0.測試連通性:C:Documents and Settingsstudping 20.0.5.2Pinging 20.0.5.2 with 32 bytes of data:Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms

6、 TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Ping statistics for 20.0.5.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 36ms, Maximum = 36ms, Average = 36ms配置IP:#interface Ethernet0/0 port link-mode route ip address 20.0.1.1 2

7、55.255.255.0#interface Ethernet0/1 port link-mode route#interface Serial1/0 link-protocol ppp#interface Serial2/0 link-protocol ppp ip address 20.0.2.1 255.255.255.0#配置OSPF:#ospf 1area 0.0.0.0network 0.0.0.0 255.255.255.255#路由表:r1display ip routing-tableRouting Tables: PublicDestinations : 10 Routes

8、 : 10Destination/MaskProto Pre CostNextHopInterface20.0.1.0/24Direct 0020.0.1.1Eth0/020.0.1.1/32Direct 00127.0.0.1InLoop020.0.2.0/24Direct 0020.0.2.1S2/020.0.2.1/32Direct 00127.0.0.1InLoop020.0.2.2/32Direct 0020.0.2.2S2/020.0.3.0/24OSPF 10157220.0.2.2S2/020.0.4.0/24OSPF 10312420.0.2.2S2/020.0.5.0/24

9、OSPF 10312520.0.2.2S2/0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.0.1/32Direct 00127.0.0.1InLoop0接口信息:redisplay ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP Address DescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.1.1Eth

10、ernet0.Eth0/1downdownunassignedEthernet0.S1/0downdownunassignedSerial1/0.S2/0upup20.0.2.1Serial2/0.測試連通性:C:Documents and Settingsstudping 20.0.5.2Pinging 20.0.5.2 with 32 bytes of data:Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2:

11、bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Ping statistics for 20.0.5.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置靜態(tài)路由:R1ip routR1ip route-static 20.0.3.0 255.255.255

12、.0 20.0.2.2R1ip routR1ip route-static 20.0.4.0 255.255.255.0 20.0.2.2R1ip routR1ip route-static 20.0.5.0 255.255.255 .0 20.0.2.2測試連通性:R1ping 20.0.5.2PING 20.0.1.1: 56 data bytes, press CTRL_C to breakReply from 20.0.1.1: bytes=56 Sequence=1 ttl=255 time=25 msReply from 20.0.1.1: bytes=56 Sequence=2

13、ttl=255 time=24 msReply from 20.0.1.1: bytes=56 Sequence=3 ttl=255 time=25 msReply from 20.0.1.1: bytes=56 Sequence=4 ttl=255 time=25 msReply from 20.0.1.1: bytes=56 Sequence=5 ttl=255 time=24 ms-20.0.1.1 ping statistics -5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg

14、/max = 24/24/25 msR2:配置RIP:#rip 1version 2network 0.0.0.0 #路由表:H3C-rip-1display ip routing-table Routing Tables: PublicDestinations : 12Routes : 12Destination/MaskProto 1PreCostNextHopInterface20.0.1.0/24RIP100120.0.2.1S2/020.0.2.0/24Direct 0020.0.2.2S2/020.0.2.1/32Direct 0020.0.2.1S2/020.0.2.2/32Di

15、rect 00127.0.0.1InLoop020.0.3.0/24Direct 0020.0.3.1Eth0/020.0.3.1/32Direct 00127.0.0.1InLoop020.0.4.0/24Direct 0020.0.4.1S1/020.0.4.1/32Direct 00127.0.0.1InLoop020.0.4.2/32Direct 0020.0.4.2S1/020.0.5.0/24RIP100120.0.4.2S1/0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.0.1/32Direct 00127.0.0.1InLoop0接口信息

16、:H3C-rip-1display ip int b *down: administratively down (s): spoofingInterfacePhysical Protocol IP AddressDescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.3.1Ethernet0.Eth0/1downdownunassignedEthernet。.S1/0upup20.0.4.1Serial1/0.S2/0upup20.0.2.2Serial2/0

17、.測試連通性:C:Documents and Settingsstudping 20.0.5.2Pinging 20.0.5.2 with 32 bytes of data:Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Ping statistics for 20.0.5.2:Packets: Sent = 4, Received = 4, Lost = 0 (

18、0% loss), Approximate round trip times in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置IP:#interface Ethernet。/。 port link-mode route ip address 20.0.3.1 255.255.255.0#interface Ethernet0/1 port link-mode route#interface Serial1/0 link-protocol ppp ip address 20.0.4.1 255.255.255.0#

19、interface Serial2/0 link-protocol ppp ip address 20.0.2.2 255.255.255.0#酉己置OSPF:#ospf 1 area 0.0.0.0network 0.0.0.0 255.255.255.255#路由表:H3Cdisplay ip routing-tableRouting Tables: PublicDestinations : 12Routes : 12Destination/MaskProto PreCostNextHopInterface20.0.1.0/24OSPF10156320.0.2.1S2/020.0.2.0/

20、24Direct 0020.0.2.2S2/020.0.2.1/32Direct 0020.0.2.1S2/020.0.2.2/32Direct 00127.0.0.1InLoop020.0.3.0/24Direct 0020.0.3.1Eth0/020.0.4.0/24Direct 0020.0.4.1S1/020.0.4.1/32Direct 00127.0.0.1InLoop020.0.4.2/32Direct 0020.0.4.2S1/020.0.5.0/24OSPF10156320.0.4.2S1/0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.

21、0.1/32Direct 00127.0.0.1InLoop0接口信息:H3Cdisplay ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP Address DescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.3.1Ethernet0.Eth0/1downdownunassignedEthernet0.S1/0upup20.0.4.1Serial1

22、/0.S2/0upup20.0.2.2Serial2/0.測試連通性:C:Documents and Settingsstudping 20.0.5.2Pinging 20.0.5.2 with 32 bytes of data:Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=253Reply from 20.0.5.2: bytes=32 time=36ms TTL=

23、253Ping statistics for 20.0.5.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置靜態(tài)路由:R2ip routR2ip route-static 20.0.1.0 255.255.255.0 20.0.2.2R2ip routR2ip route-static 20.0.5.0 255.255.255 .0 20.0.2.

24、2測試連通性:R2ping 20.0.5.2PING 20.0.5.2: 56 data bytes, press CTRL_C to breakReply from 20.0.5.2: bytes=56 Sequence=1 ttl=127 time=25 msReply from 20.0.5.2: bytes=56 Sequence=2 ttl=127 time=25 msReply from 20.0.5.2: bytes=56 Sequence=3 ttl=127 time=24 msReply from 20.0.5.2: bytes=56 Sequence=4 ttl=127 t

25、ime=25 msReply from 20.0.5.2: bytes=56 Sequence=5 ttl=127 time=25 ms-20.0.5.2 ping statistics -5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 24/24/25 msR3:配置RIP:#rip 1version 2network 0.0.0.0#路由表:H3Cdisplay ip routing-tableRouting Tables: PublicDestinations : 1

26、0Routes : 10Destination/MaskProto 1Pre CostNextHopInterface20.0.1.0/24OSPF10312520.0.4.1S1/020.0.2.0/24OSPF10312420.0.4.1S1/020.0.3.0/24OSPF10157220.0.4.1S1/020.0.4.0/24Direct 0020.0.4.2S1/020.0.4.1/32Direct 0020.0.4.1S1/020.0.4.2/32Direct 00127.0.0.1InLoop020.0.5.0/24Direct 0020.0.5.1Eth0/020.0.5.1

27、/32Direct 00127.0.0.1InLoop0127.0.0.0/8Direct 00127.0.0.1InLoop0127.0.0.1/32Direct 00127.0.0.1InLoop0接口信息:H3Cdisplay ip int b*down: administratively down(s): spoofingInterfacePhysical Protocol IP AddressDescriptionAux0downdownunassignedAux0 InteCellular0/0downdownunassignedCellular0.Eth0/0upup20.0.5

28、.1Ethernet0.Eth0/1downdown10.0.0.9Ethernet0.S1/0upup20.0.4.2Serial1/0.S2/0downdown2.0.0.1Serial2/0.測試連通性:C:Documents and Settingsstudping 20.0.3.2Pinging 20.0.3.2 with 32 bytes of data:Reply from 20.0.3.2: bytes=32 time=36ms TTL=253Reply from 20.0.3.2: bytes=32 time=36ms TTL=253Reply from 20.0.3.2:

29、bytes=32 time=36ms TTL=253Reply from 20.0.3.2: bytes=32 time=36ms TTL=253Ping statistics for 20.0.3.2:Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:Minimum = 36ms, Maximum = 36ms, Average = 36ms配置IP: #interface Ethernet。/。 port link-mode route ip

30、address 20.0.5.1 255.255.255.0#interface Ethernet0/1 port link-mode route #interface Serial1/0 link-protocol ppp ip address 20.0.4.2 255.255.255.0#interface Serial2/0 link-protocol ppp #酉己置OSPF:ospf 1area 0.0.0.0network 0.0.0.0 255.255.255.255 #路由表:r3display ip routing-tableRouting Tables: Public De

31、stinations : 10 Routes : 10Destination/MaskProto Pre CostNextHopInterface20.0.1.0/24OSPF 10157220.0.1.1S2/020.0.1.1/32Direct 00127.0.0.1InLoop020.0.2.0/24OSPF 10312420.0.2.1S2/020.0.2.1/32Direct 00127.0.0.1InLoop020.0.2.2/32Direct 0020.0.2.2S2/020.0.3.0/24OSPF 10312520.0.2.2S2/020.0.4.0/24Direct 0020.0.2.2S2/02

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論