版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、洛陽理工學(xué)院實(shí)驗(yàn)報(bào)告系別計(jì)算機(jī)系班級(jí)B120503學(xué)號(hào)B12050316姓名段浴課程名稱計(jì)算機(jī)網(wǎng)絡(luò)實(shí)驗(yàn)日期2014/11/8實(shí)驗(yàn)名稱子網(wǎng)劃分路由配置成績(jī)實(shí)驗(yàn)?zāi)康模?、 了解如何配置路由器信息2、 了解如何劃分子網(wǎng)實(shí)驗(yàn)條件:電腦一臺(tái),Cisco packet tracer模擬軟件實(shí)驗(yàn)原理:在本實(shí)驗(yàn)中,為您指定了一個(gè)網(wǎng)絡(luò)地址 192.168.9.0/24,您將對(duì)它劃分子網(wǎng),并為拓?fù)鋱D中顯示的網(wǎng)絡(luò)分配 IP 地址。路由器全部使用2621XM,交換機(jī)全部使用2960。該網(wǎng)絡(luò)的編址需求如下: BRANCH1 的 LAN 1 子網(wǎng)需要 10 個(gè)主機(jī) IP 地址。 BRANCH1 的 LAN 2 子網(wǎng)需要
2、10 個(gè)主機(jī) IP 地址。 BRANCH2 的 LAN 1 子網(wǎng)需要 10 個(gè)主機(jī) IP 地址。 BRANCH2 的 LAN 2 子網(wǎng)需要 10 個(gè)主機(jī) IP 地址。 HQ 的 LAN 子網(wǎng)需要 20 個(gè)主機(jī) IP 地址。 從 HQ 到 BRANCH1 的鏈路的兩端各需要一個(gè) IP 地址。 從 HQ 到 BRANCH2 的鏈路的兩端各需要一個(gè) IP 地址。(注意:請(qǐng)記住,網(wǎng)絡(luò)設(shè)備的接口也是主機(jī) IP 地址,已包括在上面的編址需求中。)Fa0/0Fa0/1LAN1LAN2LAN2LAN1實(shí)驗(yàn)內(nèi)容:1. 設(shè)計(jì)子網(wǎng)子網(wǎng)編號(hào)說明子網(wǎng)地址子網(wǎng)掩碼第一個(gè)可用地址最后一個(gè)可用地址1HQ 的 LAN192.1
3、68.9.0255.255.255.224192.168.9.1192.168.9.302BRANCH1 的 LAN 1192.168.9.32255.255.255.240192.168.9.33192.168.9.463BRANCH1 的 LAN 2192.168.9.48255.255.255.240192.168.9.49192.168.9.624BRANCH2 的 LAN 1192.168.9.64255.255.255.240192.168.9.65192.168.9.785BRANCH2 的 LAN 2192.168.9.80255.255.255.240192.168.9.81
4、192.168.9.1266HQ 到 BRANCH1192.168.9.128255.255.255.252192.168.9.129192.168.9.1307HQ 到 BRANCH2192.168.9.132255.255.255.252192.168.9.133192.168.9.1342. 分配IP地址(網(wǎng)關(guān)地址使用子網(wǎng)的第一個(gè)可用地址)設(shè)備接口IP地址子網(wǎng)掩碼默認(rèn)網(wǎng)關(guān)HQFa0/1192.168.9.1255.255.255.224不適用S0/0192.168.9.130255.255.255.252不適用S0/1192.168.9.134255.255.255.252不適用BRAN
5、CH1Fa0/0192.168.9.33255.255.255.240不適用Fa0/1192.168.9.49255.255.255.240不適用S0/0192.168.9.129255.255.255.252不適用BRANCH2Fa0/0192.168.9.65255.255.255.240不適用Fa0/1192.168.9.81255.255.255.240不適用S0/1192.168.9.133255.255.255.252不適用PC1網(wǎng)卡192.168.9.2255.255.255.224192.168.9.1PC2網(wǎng)卡192.168.9.50255.255.255.240192.16
6、8.9.49PC3網(wǎng)卡192.168.9.34255.255.255.240192.168.9.33PC4網(wǎng)卡192.168.9.82255.255.255.240192.168.9.81PC5網(wǎng)卡192.168.9.66255.255.255.240192.168.9.653. 連接網(wǎng)絡(luò)(路由器之間使用DCE電纜連接到串行口3、 配置每個(gè)路由器的接口IP:5 配置每臺(tái)計(jì)算機(jī)的IP地址6. 設(shè)置路由器中的路由表?!綛RANCH1的配置】下面是配置BRANCH1的IP地址的過程,其它兩個(gè)路由器的配置自行完成(1)關(guān)閉路由器電源(2)安裝模塊WIT-2T。(3)進(jìn)入CLI(4)進(jìn)行以下操作(藍(lán)色文
7、字是需要輸入的命令,紅色文字是說明)Continue with configuration dialog? yes/no: nPress RETURN to get started!進(jìn)入控制臺(tái)模式Routeren進(jìn)入全局配置模式Router#conf tEnter configuration commands, one per line. End with CNTL/Z.修改路由器名稱Router(config)#hostname BRANCH1配置Fa0/0的IP地址BRANCH1(config)#int f0/0BRANCH1(config-if)#ip addr 192.168.9.33
8、 255.255.255.240BRANCH1(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up配置Fa0/1的IP地址BRANCH1(config-if)#int f0/1BRANCH1(config-if)#ip addr 192.168.9.49 255.255.255.240BRANCH1(confi
9、g-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up配置S0/0的IP地址。因?yàn)锽RANCH1是BRANCH1和HQ之間串行通信的DCE設(shè)備,所以需要配置時(shí)鐘頻率。BRANCH1(config-if)#int s0/0BRANCH1(config-if)#ip addr 192.168.9.129 255.255.255.
10、252BRANCH1(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/0, changed state to upBRANCH1(config-if)#clock rate 64000%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up返回到控制臺(tái)模式。Exit命令返回到上一層,使用Ctrl+Z可以直接返回控制臺(tái)。BRANCH1(config-if)#exitBRANCH1(config)#exit%SYS-5-CONFIG_
11、I: Configured from console by console查看IP地址配置情況。BRANCH1#show ip int briInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.9.33 YES manual up upFastEthernet0/1 192.168.9.49 YES manual up upSerial0/0 192.168.9.129 YES manual up upSerial0/1 unassigned YES manual administratively dow
12、n down按此方法配置其它兩個(gè)路由器,此時(shí)可以測(cè)試各個(gè)子網(wǎng)和網(wǎng)關(guān)的連通情況。(5)添加路由表。這里沒有使用路由總結(jié)。BRANCH1#conf tEnter configuration commands, one per line. End with CNTL/Z.BRANCH1(config)#ip route 192.168.9.32 255.255.255.240 f0/0BRANCH1(config)#ip route 192.168.9.48 255.255.255.240 f0/1BRANCH1(config)#ip route 192.168.9.0 255.255.255.22
13、4 192.168.9.130BRANCH1(config)#ip route 192.168.9.64 255.255.255.240 192.168.9.130BRANCH1(config)#ip route 192.168.9.80 255.255.255.240 192.168.9.130返回控制臺(tái)BRANCH1(config)#Z%SYS-5-CONFIG_I: Configured from console by console查看路由表BRANCH1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP,
14、 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, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate defa
15、ult, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not set 192.168.9.0/24 is variably subnetted, 6 subnets, 3 masksS 192.168.9.0/28 1/0 via 192.168.9.130C 192.168.9.32/28 is directly connected, FastEthernet0/0C 192.168.9.48/28 is directly connected,
16、 FastEthernet0/1S 192.168.9.64/27 1/0 via 192.168.9.130S 192.168.9.64/28 1/0 via 192.168.9.130C 192.168.9.128/30 is directly connected, Serial0/0【HQ的配置】(1)關(guān)閉路由器電源(2)安裝模塊WIT-2T。(3)進(jìn)入CLI(4)進(jìn)行以下操作(紅色文字是說明)Continue with configuration dialog? yes/no: nPress RETURN to get started!RouterenRouter#conf tEnte
17、r configuration commands, one per line. End with CNTL/Z.Router(config)#hostname HQHQ(config)#int f0/1HQ(config-if)#ip addr 192.168.9.1 255.255.255.224HQ(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/
18、1, changed state to upHQ(config-if)#int s0/0HQ(config-if)#ip addr 192.168.9.130 255.255.255.252HQ(config-if)#no shutdown配置IP地址%LINK-5-CHANGED: Interface Serial0/0, changed state to upHQ(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to upHQ(config-if)#int s0/1HQ(
19、config-if)#ip addr 192.168.9.134 255.255.255.252HQ(config-if)#no shutdown配置DCE設(shè)備的時(shí)鐘頻率。HQ是HQ和BRANCH2之間的DCE設(shè)備。%LINK-5-CHANGED: Interface Serial0/1, changed state to upHQ(config-if)#clock rate 64000HQ(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to upHQ(config-if)
20、#Z%SYS-5-CONFIG_I: Configured from console by console查看IP地址配置情況HQ#show ip int briInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 unassigned YES manual administratively down downFastEthernet0/1 192.168.9.1 YES manual up upSerial0/0 192.168.9.130 YES manual up upSerial0/1 192.168.9.134
21、YES manual up up添加路由表。這里使用了路由總結(jié)(請(qǐng)自行計(jì)算是如何總結(jié)的?。?,路由表從5條減少到3條。HQ#conf tEnter configuration commands, one per line. End with CNTL/Z.HQ(config)#ip route 192.168.9.0 255.255.255.224 f0/1HQ(config)#ip route 192.168.9.32 255.255.255.224 192.168.9.129HQ(config)#ip route 192.168.9.64 255.255.255.224 192.168.9.
22、133HQ(config)#Z%SYS-5-CONFIG_I: Configured from console by consoleHQ#show ip routeCodes: C - connected, S - static, I - IGRP, 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
23、type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, 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 routeGateway of last resort is not set 192.168.9.0/24 is variably subnetted, 5 subnets, 3 masks
24、C 192.168.9.0/27 is directly connected, FastEthernet0/1S 192.168.9.32/27 1/0 via 192.168.9.129S 192.168.9.64/27 1/0 via 192.168.9.133C 192.168.9.128/30 is directly connected, Serial0/0C 192.168.9.132/30 is directly connected, Serial0/1HQ#【BRANCH2的配置】(1)關(guān)閉路由器電源(2)安裝模塊WIT-2T。(3)進(jìn)入CLI(4)進(jìn)行以下操作(紅色文字是說明)
25、Continue with configuration dialog? yes/no: nPress RETURN to get started!RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname BRANCH2配置每個(gè)端口的IP地址BRANCH2(config)#int f0/0BRANCH2(config-if)#ip addr 192.168.9.65 255.255.255.240BRANCH2(config-if)#no shu
26、tdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upBRANCH2(config-if)#int f0/1BRANCH2(config-if)#ip addr 192.168.9.81 255.255.255.240BRANCH2(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEther
27、net0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upBRANCH2(config-if)#int s0/1BRANCH2(config-if)#ip addr 192.168.9.133 255.255.255.252BRANCH2(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial0/1, changed state to upBRANCH2(config-if)#
28、%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1, changed state to upBRANCH2(config-if)#Z%SYS-5-CONFIG_I: Configured from console by consoleBRANCH2#show ip int briInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 192.168.9.65 YES manual up upFastEthernet0/1 192.168.9.81 YES man
29、ual up upSerial0/0 unassigned YES manual administratively down downSerial0/1 192.168.9.133 YES manual up up添加路由表BRANCH2#conf tEnter configuration commands, one per line. End with CNTL/Z.BRANCH2(config)#ip route 192.168.9.64 255.255.255.240 f0/0BRANCH2(config)#ip route 192.168.9.80 255.255.255.240 f0/1BRANCH2(config)#ip route 192.168.9.0 255.255.255.192 1
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 《金融學(xué)》期末考試復(fù)習(xí)題庫(kù)(帶答案)
- 小學(xué)音樂一年級(jí)上冊(cè)《迎新春:堂鼓與鈸初體驗(yàn)》教學(xué)設(shè)計(jì)
- 基于概念建構(gòu)的初中生物教學(xué)設(shè)計(jì):生命的起源與進(jìn)化之謎
- 觀察、思考與表達(dá):四年級(jí)上冊(cè)‘寫觀察日記’習(xí)作指導(dǎo)教學(xué)設(shè)計(jì)
- 五上語文習(xí)作例文精讀與仿寫教學(xué)設(shè)計(jì)
- 2026安徽宿州職業(yè)技術(shù)學(xué)院招聘36人備考題庫(kù)及參考答案詳解1套
- 2026年昆明市昆華實(shí)驗(yàn)中學(xué)招聘?jìng)淇碱}庫(kù)(10人)有答案詳解
- 2026云南保山市騰沖出入境邊防檢查站執(zhí)勤隊(duì)口岸協(xié)管(檢)員招聘1人備考題庫(kù)及答案詳解(奪冠系列)
- 2026年現(xiàn)代市場(chǎng)策略市場(chǎng)營(yíng)銷分析師考試題庫(kù)
- 2026廣西百色市右江區(qū)百城社區(qū)衛(wèi)生服務(wù)中心招聘公益性崗位1人備考題庫(kù)及答案詳解一套
- 2026海南安保控股有限責(zé)任公司招聘11人筆試模擬試題及答案解析
- 2026上海碧海金沙投資發(fā)展有限公司社會(huì)招聘參考題庫(kù)必考題
- 2026年張家界航空工業(yè)職業(yè)技術(shù)學(xué)院?jiǎn)握新殬I(yè)傾向性考試模擬測(cè)試卷新版
- 2026遼寧機(jī)場(chǎng)管理集團(tuán)校招面筆試題及答案
- 2025徽銀金融租賃有限公司社會(huì)招聘筆試歷年典型考題及考點(diǎn)剖析附帶答案詳解
- 孩子如何正確與師長(zhǎng)相處與溝通
- 精神病學(xué)考試重點(diǎn)第七版
- 塔吊運(yùn)行日志
- GB/T 14536.1-2022電自動(dòng)控制器第1部分:通用要求
- GA/T 1362-2016警用裝備倉(cāng)庫(kù)物資庫(kù)存管理規(guī)范
- 鋼結(jié)構(gòu)基本原理及設(shè)計(jì)PPT全套課件
評(píng)論
0/150
提交評(píng)論