版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、小型校園網(wǎng)的設(shè)計(jì)與組建實(shí)驗(yàn)報(bào)告一實(shí)驗(yàn)?zāi)康挠?jì)算機(jī)網(wǎng)絡(luò)是一門實(shí)踐性較強(qiáng)的技術(shù),課堂教學(xué)應(yīng)該和實(shí)踐環(huán)節(jié)緊密結(jié)合。計(jì)算機(jī)網(wǎng)絡(luò)實(shí)驗(yàn)培養(yǎng)學(xué)生具有獨(dú)立進(jìn)行計(jì)算機(jī)網(wǎng)絡(luò)架構(gòu)和設(shè)計(jì)能力,提高學(xué)生的網(wǎng)絡(luò)設(shè)備使用水平,以及將理論與實(shí)踐相結(jié)合的能力。二實(shí)驗(yàn)環(huán)境及設(shè)備2臺(tái)路由器、2臺(tái)交換機(jī)、3臺(tái)pc機(jī)三實(shí)驗(yàn)的內(nèi)容和要求根據(jù)要求,設(shè)計(jì)并搭建一個(gè)校園網(wǎng)。要求進(jìn)行子網(wǎng)劃分和結(jié)構(gòu)設(shè)計(jì),并將網(wǎng)絡(luò)結(jié)構(gòu)建立起來。最后完成網(wǎng)絡(luò)設(shè)備的調(diào)試。四實(shí)驗(yàn)說明某大學(xué)分為總校和分校,為該校設(shè)計(jì)校園網(wǎng),總校有一個(gè)局域網(wǎng)共20臺(tái)計(jì)算機(jī),分校由vlan劃分為兩個(gè)局域網(wǎng),分別有10臺(tái)計(jì)算機(jī)。該校被分配了一個(gè)c類網(wǎng)段210.100.10.0,總校和分校各有一臺(tái)
2、路由器及一臺(tái)交換機(jī)。請(qǐng)進(jìn)行網(wǎng)絡(luò)設(shè)計(jì),將總校和分校各個(gè)局域網(wǎng)連接起來。根據(jù)要求,設(shè)計(jì)ip地址分配表,設(shè)計(jì)網(wǎng)絡(luò)結(jié)構(gòu),畫出網(wǎng)絡(luò)拓?fù)鋱D。根據(jù)設(shè)計(jì)搭建網(wǎng)絡(luò)結(jié)構(gòu)。配置網(wǎng)絡(luò)設(shè)備,完成網(wǎng)絡(luò)調(diào)試。提示:1)使用ip子網(wǎng)掩碼的原理設(shè)計(jì)ip地址分配表。 2)用到的設(shè)備為兩臺(tái)路由器,以及兩臺(tái)交換機(jī)。五實(shí)驗(yàn)設(shè)計(jì)一、 設(shè)計(jì)思路總校局域網(wǎng)20臺(tái)計(jì)算機(jī),分校2個(gè)局域網(wǎng)各有10臺(tái)計(jì)算機(jī),若要滿足要求,則至少需要5位主機(jī)位,即大小為25=32臺(tái)主機(jī)的局域網(wǎng)。由于是c類網(wǎng)段,最后8計(jì)算機(jī)id碼5位用作主機(jī)號(hào),還有3位可以用作子網(wǎng)號(hào),即可以劃分23-2=6個(gè)子網(wǎng)(000和111不可用作子網(wǎng)號(hào)),因此子網(wǎng)掩碼為255.255.255.
3、224(1111 1111.1111 1111.1111 1111.1110 0000)。而總校、分校各個(gè)局域網(wǎng)只需從6個(gè)子網(wǎng)中任選其一并且不重復(fù)即可。由此可以設(shè)計(jì)ip分配表如下二、 ip分配表用途網(wǎng)段網(wǎng)絡(luò)號(hào)子網(wǎng)掩碼子網(wǎng)號(hào)起始ip地址結(jié)束ip地址總校網(wǎng)1210.100.10.32255.255.255.224001210.100.10.33210.100.10.62路由器間2210.100.10.64255.255.255.224010210.100.10.65210.100.10.94分校網(wǎng)13210.100.10.96255.255.255.224011210.100.10.97210.1
4、00.10.126分校網(wǎng)24210.100.10.128255.255.255.224100210.100.10.129210.100.10.158三、拓?fù)浣Y(jié)構(gòu)routerarouterbswitchaswitchbpc111111pc2pc3ip:210.100.10.40255.255.255.224210.100.10.33ip:210.100.10.98255.255.255.224210.100.10.97ip:210.100.10.130255.255.255.224210.100.10.129f0:210.100.10.33s0:210.100.10.65f0:210.100.1
5、0.97f0:210.100.10.129s0:210.100.10.66網(wǎng)段2:210.100.10.64/27網(wǎng)段1:210.100.10.32/27網(wǎng)段3:210.100.10.96/27網(wǎng)段4:210.100.10.128/27六實(shí)驗(yàn)配置本人做主校交換機(jī)和路由器配置主校交換機(jī)配置switchaen 14password:switcha#configure terminalenter configuration commands, one per line. end with cntl/z.switcha(config)#vlan 30/創(chuàng)建vlanswitcha(config-vlan
6、)#exitswitcha(config)#exitswitcha#configureenter configuration commands, one per line. end with cntl/z.switcha(config)#interface range fastethernet 0/1-20/將1-20端口劃入vlan30中switcha(config-if-range)#switchport access vlan 30switcha(config-if-range)#exitswitch (config)# interface fastethernet 0/24 switc
7、h (config-if)# switchport mode trunk !配置trunk端口switch (config-if)# endswitcha(config)#exitswitcha#show vlan/對(duì)switcha的配置進(jìn)行驗(yàn)證vlan name status ports- - - -1 default active fa0/21,fa0/22,fa0/23,fa0/24, 30 vlan0030 active fa0/1 ,fa0/2 ,fa0/3 ,fa0/4 fa0/5 ,fa0/6 ,fa0/7 ,fa0/8 fa0/9 ,fa0/10,fa0/11,fa0/12 f
8、a0/13,fa0/14,fa0/15,fa0/16 fa0/17,fa0/18,fa0/19,fa0/20 fa0/24switcha#press return to get started!主校路由器配置r2632en 14password:r2632#configure terminalenter configuration commands, one per line. end with cntl/z.r2632(config)#show ip interface brief/查看路由器的端口interface ip-address(pri) ok? statusserial 4/0
9、no address yes downserial 4/1 no address yes downfastethernet 3/0 no address yes downfastethernet 3/1 no address yes downnull 0 no address yes upr2632(config)#interface fastethernet 3/0.30r2632(config-subif)#encapsulation dot1q 30r2632(config-subif)#ip address 210.100.10.33 255.255.255.224r2632(conf
10、ig-subif)#exitr2632(config)#show ip interface briefinterface ip-address(pri) ok? statusserial 4/0 no address yes downserial 4/1 no address yes downfastethernet 3/0.30 210.100.10.33/27 yes downfastethernet 3/0 no address yes downfastethernet 3/1 no address yes downnull 0 no address yes upr2632(config
11、)#exitr2632#configured from console by consoler2632#conenter configuration commands, one per line. end with cntl/z.r2632(config)#interface serial 4/0r2632(config-if)#ip adr2632(config-if)#ip address 210.100.10.65 255.255.255.224/設(shè)置交換機(jī)ip地址和子網(wǎng)掩碼r2632(config-if)#no shutdownr2632(config-if)#endr2632#con
12、figured from console by consoler2632#show ip interface briefinterface ip-address(pri) ok? statusserial 4/0 210.100.10.65/27 yes upserial 4/1 no address yes downfastethernet 3/0.30 210.100.10.33/27 yes upfastethernet 3/0 no address yes downfastethernet 3/1 no address yes downnull 0 no address yes upr
13、2632#conenter configuration commands, one per line. end with cntl/z.r2632(config)#ip route 210.100.10.96 255.255.255.224 210.100.10.66/寫入靜態(tài)路由表r2632(config)#ip route 210.100.10.128 255.255.255.224 210.100.10.66r2632(config)#endr2632#configured from console by consoler2632#show ip route/對(duì)主校路由器配置驗(yàn)證code
14、s: c - connected, s - static, r - rip 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 * - candidate defaultgateway of last resort is no setc 210.100.10.32/27 is directly connected, fastethernet 3/0.30c
15、 210.100.10.33/32 is local host.c 210.100.10.64/27 is directly connected, serial 4/0c 210.100.10.65/32 is local host.s 210.100.10.96/27 1/0 via 210.100.10.66s 210.100.10.128/27 1/0 via 210.100.10.66r2632#分校的交換機(jī)和路由器配置由小組另一成員完成分校交換機(jī)配置switchaenable 14password:switcha#configure terminal !進(jìn)入全局配置模式 switch
16、a(config)#switcha(config)#vlan 10switcha(config-vlan)#exitswitcha(config)#vlan 20switcha(config-vlan)#exitswitcha(config)#interface range fastethernet 0/1-10switcha(config-if-range)#switchport access vlan 10switcha(config-if)#exitswitcha(config)#interface range fastethernet 0/11-20switcha(config-if-
17、range)#switchaport access vlan 20switcha(config-if)#exitswitcha(config)#interface fastethernet 0/24switcha(config-if)#switchaport mode trunkswitcha(config-if)#endswitcha#show vlan/對(duì)switcha的配置進(jìn)行驗(yàn)證vlan name status ports- - - -1 default active fa0/23,fa0/2410 network2 active fa0/1 ,fa0/2 ,fa0/3 ,fa0/4
18、fa0/5 ,fa0/6 ,fa0/7 ,fa0/8 fa0/9 ,fa0/10,fa0/2420 network3 active fa0/11,fa0/12,fa0/13,fa0/14 fa0/15,fa0/16,fa0/17,fa0/18 fa0/19,fa0/20,fa0/24switcha#press return to get started!分校路由器配置r2632en 14password:r2632#conenter configuration commands, one per line. end with cntl/z.r2632#conenter configuratio
19、n commands, one per line. end with cntl/z.r2632(config)#interface serial 4/0r2632(config-if)#ip address 210.100.10.66 255.255.255.224r2632(config-if)#clock rate 64000r2632(config-if)#no shutdownr2632(config-if)#exitr2632(config)#interface fastethernet 3/0r2632(config-if)#no ip addressr2632(config-if
20、)#no shutdownr2632(config-if)#exitr2632(config)#interface fastethernet 3/0.10r2632(config-subif)#no ip addressr2632(config-subif)#exitr2632(config)#interface fastethernet 3/0.10r2632(config-subif)#encapsulation dot1q 10r2632(config-subif)#ip address 210.100.10.97 255.255.255.224r2632(config-subif)#e
21、xitr2632(config)#interface fastethernet 3/0.20r2632(config-subif)#encapsulation dot1q 20r2632(config-subif)#ip address 210.100.10.129 255.255.255.224r2632(config-subif)#endr2632#configured from console by consoler2632#show ip interface brief/對(duì)分校路由器配置驗(yàn)證interface ip-address(pri) ok? statusserial 4/0 2
22、10.100.10.66/27 yes upserial 4/1 no address yes downfastethernet 3/0.20 210.100.10.129/27 yes upfastethernet 3/0.10 210.100.10.97/27 yes upfastethernet 3/0 no address yes downfastethernet 3/1 no address yes downnull 0 no address yes upr2632#conenter configuration commands, one per line. end with cnt
23、l/z.r2632(config)#ip route 210.100.10.32 255.255.255.224 210.100.10.65r2632(config)#endr2632#configured from console by consoler2632#show ip routecodes: c - connected, s - static, r - rip 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 * - candidate defaultgateway of last resort is no sets 210.100.10.32/27 1/0 via 210.100.10.65c 210.100.10.64/27
溫馨提示
- 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. 人人文庫網(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2026河北省某省級(jí)三甲醫(yī)院現(xiàn)誠招肝病科醫(yī)師筆試模擬試題及答案解析
- 2026年1月四川德陽市樂山五通橋發(fā)展產(chǎn)業(yè)投資集團(tuán)有限公司招聘4人考試備考題庫及答案解析
- 2026年度菏澤市牡丹區(qū)事業(yè)單位公開招聘初級(jí)綜合類崗位人員筆試模擬試題及答案解析
- 2026重慶沙坪壩區(qū)渝碚路社區(qū)衛(wèi)生服務(wù)中心招聘1人筆試備考題庫及答案解析
- 2026廣東佛山南海區(qū)獅山鎮(zhèn)博愛第一小學(xué)校聘教師招聘2人筆試備考題庫及答案解析
- 2026上半年黑龍江綏化市事業(yè)單位招聘186人考試備考題庫及答案解析
- 企業(yè)新人培訓(xùn)制度
- 美業(yè)培訓(xùn)部管理系統(tǒng)制度
- 培訓(xùn)班家校公約制度
- 培訓(xùn)機(jī)構(gòu)轉(zhuǎn)正制度
- 消化內(nèi)鏡ERCP技術(shù)改良
- 云南師大附中2026屆高三1月高考適應(yīng)性月考卷英語(六)含答案
- 2026湖北隨州農(nóng)商銀行科技研發(fā)中心第二批人員招聘9人筆試備考試題及答案解析
- 騎行美食活動(dòng)方案策劃(3篇)
- 2026年上海市松江區(qū)初三語文一模試卷(暫無答案)
- 石化企業(yè)環(huán)保培訓(xùn)課件
- 2026年呂梁職業(yè)技術(shù)學(xué)院單招職業(yè)技能考試備考試題帶答案解析
- 清華大學(xué)教師教學(xué)檔案袋制度
- 2025年新疆師范大學(xué)輔導(dǎo)員招聘考試真題及答案
- 人教版九年級(jí)物理上學(xué)期期末復(fù)習(xí)(知識(shí)速記+考點(diǎn)突破+考點(diǎn)練習(xí)題)含答案
- 電梯更新改造方案
評(píng)論
0/150
提交評(píng)論