子網(wǎng)劃分路由配置試驗(yàn)報(bào)告_第1頁
子網(wǎng)劃分路由配置試驗(yàn)報(bào)告_第2頁
子網(wǎng)劃分路由配置試驗(yàn)報(bào)告_第3頁
子網(wǎng)劃分路由配置試驗(yàn)報(bào)告_第4頁
子網(wǎng)劃分路由配置試驗(yàn)報(bào)告_第5頁
已閱讀5頁,還剩13頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡(jiǎn)介

1、實(shí)驗(yàn)報(bào)告8實(shí)驗(yàn)名稱子網(wǎng)劃分路由配置姓名學(xué)號(hào)班級(jí)13計(jì)本班實(shí) 驗(yàn) 目 的(1) 了解PacketTracer的基本知識(shí),掌握其常用的網(wǎng)絡(luò)配置命令。 能夠利用PacketTracer實(shí)現(xiàn)子網(wǎng)劃分路由分配模擬。實(shí) 驗(yàn) 內(nèi) 容在本實(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)需要10 個(gè)主機(jī)IP 地址。? BRANCH2的 LAN 1子網(wǎng)需要10 個(gè)主機(jī)IP 地址。?

2、 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地址,已包括在上面的編址需求 中。)(1)設(shè)計(jì)子網(wǎng)子網(wǎng)編號(hào)說明子網(wǎng)地址子網(wǎng)掩碼第一個(gè)可用地址最后一個(gè)可用地址1HQ 的 LAN192.16890255.255.255.224192.168.9.1192.168.9.302BRANCH的 LAN 1192.168932255.255.255.240192.168.9.33192.168.

3、9.463BRANCH的 LAN 2192.168.9.48255.255.255.240192.168.9.49192.168.9.624BRANCH的 LAN 1192.168.9.64255.255.255.240192.168.9.65192.168.9.785BRANCH的 LAN 2192.168.9.80255.255.255.240192.168.9.81192.168.9.946HQ至U BRANCH1192.168.9.128255.255.255.252192.168.9.129192.168.9.1307HQ至U BRANCH2192.168.9.132255.255.

4、255.252192.168.9.133192.168.9.134實(shí) 驗(yàn) 步 驟表1(2)分配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不適用BRANCH1Fa0/012.168.9.33255.255.255.240不適用Fa0/1192.168.9.49255.255.255.240不適用S0/0192.168.9.129255.255.255.252不

5、適用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.168.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

6、.9.66255.255.255.240192.168.9.65表2(3)連接網(wǎng)絡(luò),(除路由器之間,其他的各設(shè)備都用直通線連接)。關(guān)閉路由器電源,安裝模塊WIT-2T°(路由器之間使用DC電纜連接到串行口),如圖1所示:l ' Cl Jiiio 1"ack Ti ncc-rLocal ca ls " S-t l qagroundn二七 tSiZll5>4TC-FT P亡總P&2LXH 口PC-f>TRiT4I >51?L 加皿巧ELRoatlC_luC:4tn-r- iP -=PTPC3(4) 配置每臺(tái)計(jì)算機(jī)的IP地址IPH2 5

7、S于函掩碼霜爪冋*圖2配置PC0的IP地址即PC1IPS1SIPOJF門",耶香器圖3 配置PC1的IP地址rp 地 Jit子兩慮碼圖4配置PC2的IP地址圖7riZ盤認(rèn)冋龍iptiiit 于冋扌龜碼.2S 5 .一 N 斗口圖5配置PC3的IP地址IPffilSIPBSS1P地址干網(wǎng)植碼手動(dòng)設(shè)青圖6 配置PC4的IP地址(5) 配置路由器每個(gè)端口的IP地址。(6) 設(shè)置路由器中的路由表。路由表設(shè)置要求網(wǎng)絡(luò)中每個(gè)子網(wǎng)之間都可以連通,不考慮總結(jié)路由?!綛RANCH的配置】下面是配置BRANCH的 IP地址的過程,其它兩個(gè)路由器的配置自行完成(1) 進(jìn)入命令行(2) 進(jìn)行以下操作(藍(lán)色文

8、字是需要輸入的命令,紅色文字是說明):Con ti nue with con figurati on dialog? yes/no:noPress RETURN to get started!進(jìn)入控制臺(tái)模式Router> en進(jìn)入全局配置模式Router# conf tEn ter con figurati on comma nds, one per line. End with CNTL/Z.修改路由器名稱Router(co nfig)#host name BRANCH1配置FaO/O的IP地址BRANCH1(config)# int f0/0BRANCH1(co nfig-if)#

9、ip addr 192.168.9.33 255.255.255.240BRANCH1(co nfig-if)# no shutdow n%LINK-5-CHANGED: In terface FastEthernet0/0, cha nged state to up %LINEPROTO-5-UPDOWN: Line protocol on In terface FastEthernet0/0, cha nged state to up 配置Fa0/1的IP地址BRANCH1(co nfig-if)#BRANCH1(co nfig-if)#BRANCH1(co nfig-if)#int fO

10、/1ip addr 192.168.9.49 255.255.255.240 no shutdow n%LINK-5-CHANGED: In terface FastEthernetO/1, cha nged state to up %LINEPROTO-5-UPDOWN: Line protocol on In terface FastEthernetO/1, cha nged state to up 配置S0/0的IP地址。頻率。BRANCH1(co nfig-if)#BRANCH1(co nfig-if)#BRANCH1(co nfig-if)#因?yàn)锽RANCH是BRANCH和HQ之間串

11、行通信的 DCE設(shè)備,所以需要配置時(shí)鐘int s0/0ip addr 192.168.9.129 255.255.255.252 no shutdow n%LINK-5-CHANGED: In terface Serial0/0, cha nged state to upBRANCH1(co nfig-if)# clock rate 64000%LINEPROTO-5-UPDOWN: Line protocol on In terface Serial0/0, changed state to up 返回到控制臺(tái)模式。Exit命令返回到上一層,使用Ctrl+Z可以直接返回控制臺(tái)。BRANCH1

12、(co nfig-if)# exitBRANCH1(config)# exit%SYS-5-CONFIG_I: Co nfigured from con sole by con sole查看IP地址配置情況。(抓圖如下圖 7)BRANCH1shiow ip int bri更 Route rlit:Lirecn Interface SerialCl/GF changed 3tate t口 upB7ANCH11 canfig-i±) iexrtBANCHUccniig1:'起眾二色工詐亡電 SsrialJ/2: -!Mif) t亡二亡匚k rare 占400)BIANCHItco

13、nfi7-if)BIANCHI config-) tezitBkANCEit iSYS-CONFIG_I: CcniLgursd frombj- cznj按此方法配置其它兩個(gè)路由器,此時(shí)可以測(cè)試各個(gè)子網(wǎng)和網(wǎng)關(guān)的連通情況。(3)添加路由表。這里沒有使用路由總結(jié)。or?HethcdStatusPr tci uciiFstt hern.et0 / 乜Y5SmanLilupUP旨工人日匚叮/LlSZ.lfB.9.49YtSup12.1GB.9.L2S瘀manlUpnassignedYSunsetadiiinistzaciveLvdcwn downBANCHlSshow ip intt>riIOS

14、命令彳丁BRANCH1C0 nf tEn ter con figurati on comma nds, 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.224 192.168.9.130BRANCH1(config)# ip route 192.168

15、.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)# AZ%SYS-5-CONFIG_l: Co nfigured from con sole by con sole查看路由表BRANCH1Show ip route (抓圖如下圖8)菸廠| EM g號(hào)IOS命令行* Invelj_d input detEcteii at;'"' 皿亡ri已E-HELMtCHl : cronf

16、igi 2Configuzed frazn console by consolsBUNCHI#showEQutft匚亡且49:匚-ecnH®et*d.r S -ie r I -衛(wèi)-SIPr M - si&b-i 1«r S - BGPD -三 X - EIGREO - OSPE, I A. - CSPF iaterN1 - OSES' tTSSA exlefn&I type 1, K2 - OSPF HSSA SKDemal te 2 蘭丄-O£E 包jet 色上type i r 旦2 - GS E ? exxe上ma丄L t - &quo

17、t; "E:l - IS-ISr LI - IS-IS Iev&l-1F L2 - 1S-IS- IS-IS inte± Srea* - cmiKiiiim匸e deai_Lltr tT - per-usL sratiti rDuTe, 口 一、 ODSF - p已hzLvlIIu dcvnloadEd. static rgu.t口三 laafc =:E3O rt ia not set19Z. 13 .5is Variably subnetsd, subnets t 3 xasksS19:.la.9.O/27 I/OI vii 192.16_3.13QC.1S52/

18、2S Ifl diractly Esruiecied.,themet0/0C192.19_9_40/;B la dir*ctlvFaitithsrnstO/1S192.la_5_64/ZB 1/OJ via 132.163.3.130S132 . le.3.80/28 IL1/0J via 1S2.L£8.S .13口CLSi .lHg_3_LJa/3C Is directly 佇口 utie etedf圖8【HQ的配置】(1) 進(jìn)入命令行。(2) 進(jìn)行以下操作(紅色文字是說明):Continue with configuration dialog? yes/no: nPress R

19、ETURN to get started!Router> enRouter# conf tEn ter con figurati on comma nds, one per line. End with CNTL/Z.Router(c on fig)#host name HQ配置 IP 地址 HQ(config)# int fO/1HQ(co nfig-if)#ip addr 192.168.9.1 255.255.255.224HQ(c on fig-if)#no shutdow n%LINK-5-CHANGED: In terface FastEthernetO/1, cha nge

20、d state to up%LINEPROTO-5-UPDOWN: Line protocol on In terface FastEthernetO/1, chan ged state to up HQ(co nfig-if)#int s0/0HQ(co nfig-if)#ip addr 192.168.9.130 255.255.255.252HQ(c on fig-if)#no shutdow n%LINK-5-CHANGED: In terface SerialO/O, cha nged state to upHQ(co nfig-if)#clock rate 64000%LINEPR

21、OTO-5-UPDOWN: Line protocol on In terface Serial0/0, changed state to upHQ(co nfig-if)#int s0/1HQ(co nfig-if)#ip addr 192.168.9.134 255.255.255.252HQ(c on fig-if)#no shutdow n配置DCE設(shè)備的時(shí)鐘頻率。HQ是HQ和 BRANCH之間的DCE設(shè)備。%LINK-5-CHANGED: In terface Serial0/1, cha nged state to upHQ(co nfig-if)#clock rate 64000

22、HQ(co nfig-if)#%LINEPROTO-5-UPDOWN: Line protocol on In terface Serial0/1, cha nged state to upHQ(co nfig-if)#AZ%SYS-5-CONFIG_I: Con figured from con sole by con sole查看IP地址配置情況HQ#how ip int bri (抓圖如下圖 9)藝 RouterOX行IOS命令彳丁HQ ; conf i-gifi)sO/1HQip addr 19; ,134BQ ccnfig-if) Sue stiu匸dcfunHQ Iconfig-i

23、f>hLINK-a-CEANGSLi: Intezftee SeKi&lO/l changedtc up*i!jIHrPR.OTO-S-UFD*J7fNr Line proDacol cn Interface Seridil3/ Lr changed atate do upK: ctz-n5i g i£ ) ? c< rate 40O0KQ cenf ig-if > U "-Z-r Gcnfigure-d 芒匚nmcy conaclEHQ*ip int briInterfaceIP-AddreasOK?KethadStdtUBPrataeolFaa

24、tt-h.erneE3z 5ana = signed.unseDadEiinlstr atlvaLyd.evn devtnF.£th.E me tO/ 1192.13.5.1吃£2n-enua.j_UPupS«EiaJ.0/0J.S2.XSCSLanuaX些SfiTi-ia/:192134Y±Sisnnualypup添加路由表。這里使用了路由總結(jié),路由表從5條減少到3條。HQ#Co nf tEn ter con figurati on comma nds, one per line. End with CNTL/Z.HQ(config)# ip rout

25、e 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.133HQ(config)# AZ%SYS-5-CONFIG_l: Co nfigured from con sole by con soleHQ#Show ip route(抓圖如下圖10)甲 RouterOIOS命令行SerialOyitEnt*! conf igucfl'

26、ti KJ conzig) Fip KQ : ccnf iq-) (tip RQ . cenf Lg) f ipHQ ;.亡un蘭 KJ# SYS-S-C&NriS132.10,9. L34unAnu*1 upotiroiiLe 上 aiLtsu口imnandn qei« pez line . End xifh CNTL/Z .192. 9.0 ££&.2S9.ZSS.224 E0/1192. 9.32 2S5.224 192.18.9.129192.168.S.C4 255.2S5.255.224 191.163-9.123ip 3outeC -

27、 canneded, S - 9t-aticr I TGKP, P - IF, M - jnobiler B - BGP D - EIGP, EX - EIPO - OS PF, IA - OSPFaraaMl OEPF HSSA exuainjl 匚PP總 1, N2 - OSPF MEEA Kternal Type 2 El - OS PFtype 1, El - DSFF exflrrLAl typs 2 r E - E&FL - IS-IS, 11 - IS-IS level-1, L2 - IS-ZS level-2, la - IS-IS InDeu* - iiEldida

28、 te de£anl t r U - p色±口目色上 atStLc X. OUte r a -匕二3.E - peTLeliSe sderL mtmt 二匚 rout aGateway olast resect;is not sete c MQt19? 1 6& ,9.0/24 is variably 3ubn«ttsdF S subne七2 ki 192.1Q.9.0/7 ia diTteftlv eannasttd, FastZth«En« 132.16S.9.32/27 1/0 ul* 192.160.9 .123152.163.

29、3.4/27 1/0 via 192_1S.5.133151.1£3.3 .ia directlj- centfiectedr Ser lal0/0152.3.9.132/2 5 d.iectl y czcrane c tedr S e r x a J. 0/1圖10【BRANCH的配置】(1) 進(jìn)入命令行。(2) 進(jìn)行以下操作(紅色文字是說明)Continue with configuration dialog? yes/no: nPress RETURN to get started!Router> enRouter# conf tEn ter con figurati o

30、n comma nds, one per line. End with CNTL/Z.Router(co nfig)#host name BRANCH2配置每個(gè)端口的IP地址BRANCH2(config)# int fO/OBRANCH2(co nfig-if)# ip addr 192.168965 255.255.255.240BRANCH2(co nfig-if)# no shutdow n%LINK-5-CHANGED: In terface FastEthernet0/0, cha nged state to up %LINEPROTO-5-UPDOWN: Line protocol

31、 on In terface FastEthernet0/0, chan ged state to upBRANCH2(co nfig-if)# int f0/1BRANCH2(co nfig-if)# ip addr 192.168.9.81 255.255.255.240BRANCH2(co nfig-if) #no shutdow n%LINK-5-CHANGED: In terface FastEthernet0/1, cha nged state to up %LINEPROTO-5-UPDOWN: Line protocol on In terface FastEthernet0/

32、1, chan ged state to upBRANCH2(co nfig-if)# int s0/1BRANCH2(co nfig-if)# ip addr 192.168.9.133 255.255.255.252BRANCH2(co nfig-if)# no shutdow n%LINK-5-CHANGED: In terface Serial0/1, cha nged state to upBRANCH2(co nfig-if)#%LINEPROTO-5-UPDOWN: Line protocol on In terface Serial0/1, cha nged state to

33、upBRANCH2(co nfig-if)# AZ%SYS-5-CONFIG_I: Co nfigured from con sole by con soleBRANCH2#iow ip int bri(抓圖如下圖 11)甲 Router叵V3X吁IOS命令行-匚HANGED:S«ziaL0/l A changed irate to upLINE PS OTO- 5 -UP kXJ'WK j 匸 irtE xctceaL sn Irdce£t ch&nq e d beaee: tc up%SYS-5-GOtlFItr_I z Ccniigured frcn

34、ccnscl已 by ccnso 1 已ip int hei耳 Invalid inputatr.azker.BRANCH2fahow ip inx InteEfacebriOR? Methad St&tuaPro toed192.1-SB.S. 52/1L2.13.5. &L能匚ialO/Ounas signed192.1-&B.9. L33進(jìn)2口&航y(tǒng) 1WYZ£uponsetadrunistioitivelydcwn downYiS口口圖11添加路由表BRANCH2#)nf tEn ter con figurati on comma nds, o

35、ne per line. End with CNTL/Z. BRANCH2(config)# ip route 192.168.9.64 255.255.255.240 f0/0 BRANCH2(config)# ip route 192.168.9.80 255.255.255.240 f0/1 BRANCH2(config)# ip route 192.168.9.0 255.255.255.192 192.168.9.134 BRANCH2(config)# AZ%SYS-5-CONFIG_l: Co nfigured from con sole by con sole BRANCH2S

36、how ip route (抓圖如下圖12)圖12I OS命令行F PCI匚二;:,=7二i=TT:=廠予 胚丟 臬面 Custom Interface圖 13.1 PC1 pi ng PC2圖 13.2 PC1 pi ng PC0P PCICustom Interface圖 13.3 PC1 ping PC3P PCI迄逞 ScX.冬予Gust口e Interface圖 13.4 PC1 pi ng PC4當(dāng)所有操作都結(jié)束后,面板里的各設(shè)備間的紅點(diǎn)都變成了綠點(diǎn),如下圖14圖14通過這次實(shí)驗(yàn),我了解了 PacketTracer的基本知識(shí),掌握了其常用的網(wǎng)絡(luò)配置命令。能夠利用PacketTracer

溫馨提示

  • 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ì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論