計算機網(wǎng)絡課程設計1_第1頁
計算機網(wǎng)絡課程設計1_第2頁
計算機網(wǎng)絡課程設計1_第3頁
計算機網(wǎng)絡課程設計1_第4頁
計算機網(wǎng)絡課程設計1_第5頁
已閱讀5頁,還剩15頁未讀 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、企業(yè)小型互連網(wǎng)的設計及實現(xiàn)1課程設計目的木課程設計是用boson軟件實現(xiàn)小型互連網(wǎng)的綜合設計學習并熟悉boson軟件的一般操作,結合計算機網(wǎng)絡課本知識設計一個小型互連網(wǎng) 絡并對其進行分析,加深對互連網(wǎng)的基本組成、ulan的基本原理及劃分等相關知識的理 解。2課程設計要求1、查閱資料,根據(jù)用戶需求,掌握小型互連網(wǎng)的設計方法;2、熟練掌握cisco路由器、交換機及pc機的基本配置命令;3、用cisco基木配置命令調試整個網(wǎng)絡。(至少要有兩個la 一個wan,網(wǎng)間設備之間能互通)4、配置一個虛擬lan。3軟、硬件環(huán)境windows xp 操作系統(tǒng)、boson netsim> boson net

2、work designer 軟件4網(wǎng)絡規(guī)劃4. 1需求分析1、為企業(yè)各部門提供信息服務2、逐步完善企業(yè)內部各種資源的整合3、有計劃地實現(xiàn)管理信息系統(tǒng)4. 2設計原則1、先進性與可靠性的綜合性能采用國內外先進而且成熟和實用的技術,系統(tǒng)的設計應建立在充分滿足需求和具有 良好的擴充性的基礎上。2、開放性系統(tǒng)的結構應具有優(yōu)良的開放性,即優(yōu)界的網(wǎng)絡互連性和可擴性,它應能容納多 種計算機的軟、碩件平臺。3、標準性建設的系統(tǒng)應選擇符合國際標準的產品,包括各類網(wǎng)絡協(xié)議標準、操作系統(tǒng)標準、 數(shù)據(jù)庫標準及各種應用軟件的開發(fā)平臺標準。4、安全性安全性是網(wǎng)絡系統(tǒng)中應考慮的關鍵問題之一,整個系統(tǒng)應具有可靠的、集中式的

3、安全管理系統(tǒng),以保證系統(tǒng)的安全運行。5、良好的價格性能比應考慮各類產品的性能價格比,對關鍵性的產品應以性能的先進性為主要考慮因 素,以提高系統(tǒng)的整體水平,對非關鍵性產品則以實用性為主。4. 3內部及外部網(wǎng)絡配置1、小型辦公網(wǎng)絡可以使用10/100m的交換以太網(wǎng)來組建內部網(wǎng)絡,在這里我們需 要的設備包括網(wǎng)絡適配器和交換機這兩種設備。網(wǎng)絡適配器就是一般的網(wǎng)卡,在市場上一般的pci網(wǎng)卡三十元左右就可以買到,網(wǎng) 卡需要每臺上網(wǎng)的計算機都必須提供,主要有pci和pcmcia兩種,pci網(wǎng)卡用于臺 式機當中,而pcmcia卡則用于筆記本電腦當中,價格相應會貴一些。交換機設備則需要根據(jù)網(wǎng)絡中的終端數(shù)量來進行

4、選擇,目前市場上適合小型辦公網(wǎng) 絡使用的交換機有5 口、8 口、16 口和24 口兒種,在選擇的過程我們需要根據(jù)網(wǎng)絡中 終端數(shù)量的多少來選擇,而且在選擇時述應注意要有冗余和h后網(wǎng)絡升級的考慮。2、如何共享一條寬帶線路上網(wǎng):代理服務器方式共享上網(wǎng):此種方式不需要其他的投資,但需要提供一臺主機用作 代理上網(wǎng)使用,這臺機器需要配備兩塊網(wǎng)卡,不需要如寬帶路由器等共享上網(wǎng)設備。缺 點是如果這臺機器出現(xiàn)故障或關機時,所有的機器都會受到影響而不能正常上網(wǎng)。寬帶路由器方式共享上網(wǎng):此種方式需要投資購買寬帶路由器,優(yōu)點是不需要過多 的維護,只要打開寬帶路由器就可以隨時提供共享上網(wǎng)服務。缺點是寬帶路由器有可能 會

5、因為性能、病毒等種種因素造成使用網(wǎng)絡的不正常。4.4環(huán)境規(guī)劃1運行環(huán)境采用“客戶/服務器”體系結構,基于tcp/ip網(wǎng)絡協(xié)議。2. 開放式的系統(tǒng)環(huán)境。網(wǎng)絡應用平臺均采用應用很廣的microsoft公司的產品,它具 有良好的可靠性、安全性。3. 網(wǎng)絡系統(tǒng)釆用技術i分成熟的以太網(wǎng),包括帶寬為10mbps的lobaset以太網(wǎng)及 100mbps的快速以太網(wǎng)。服務器采用雙碩盤做磁盤鏡像或者采用磁盤陣列卡raid 卡做raid 5容錯。4. 5企業(yè)互連網(wǎng)模塊說明:1、總體為星型拓撲結構;2、windows nt服務器通過防火墻連接路由器訪問國際互聯(lián)網(wǎng)interneto3、各部門工作站通過集線器連入主交換

6、機再接入主服務器;4、聯(lián)網(wǎng)應用構成client/server結構,兼用web方式做報表發(fā)布。5、聯(lián)網(wǎng)工作站通過服務器接入internet (國際互連網(wǎng))。6、windows nt服務器采用雙硬盤做磁盤鏡像或者采用磁盤陣列卡raid卡做 raid 5容錯(3個碩盤以上),這樣能夠提高磁盤的1/0速度和磁盤數(shù)據(jù)的安全性。4. 6 internet 服務采用modem上網(wǎng),利用ms proxy server 2. 0軟件(代理服務器軟件)可以實現(xiàn)工 作站利用windows nt服務器同時上網(wǎng)。一般來說,這種方式可以使8到10個人同時 上網(wǎng),共享服務器的modem。采用ddn專線上網(wǎng),需購買路由器和防

7、火墻。(如果需幾十人共同上網(wǎng)時,建議用 ddn專線方式上網(wǎng))。4. 7intranet信息交換服務和資源共享在windows nt服務器上安裝microsoft exchange scrvcrs. 5軟件,在客戶工作站 上安裝0utlook98軟件。實現(xiàn)工業(yè)園區(qū)內部局域網(wǎng)上的ema訂收發(fā),促進園區(qū)的信息交 流。各工作站可以共享服務器資源、網(wǎng)絡打印機等以及相互之間的文件傳輸。4. 8防火墻采用北京瑞星信息技術有限公司的瑞星防火墻(軟件/硬件)。5. 具體設計5.1拓撲圖的繪制利用boson nctsim designer繪制網(wǎng)絡拓撲圖。需要說明的是,在進行boson的模 擬實驗時,對于不同型號的

8、路由器來說其功能和性能卻是完全相同的。所不同的是是固 定配置(例如通過cthcrnct 0引用接口)還是模塊化(例如通過cthcrnct 0/0引用接口), 是普通以太網(wǎng)(cthcrnct)還是快速以太網(wǎng)(fastcthcrnct)的區(qū)別,以及不同系列的 路由器所提供的接口的類型、數(shù)量的不同。對于交換機也是類似的。因此,只要滿足實驗的需求,任何路由器均可。但是,為了實現(xiàn)清晰的配置過程和配置 效果,一個原則是以夠用為度,即:盡量選擇一個簡單的、接口數(shù)較少的路由器。首先打開bonson network designer界面如下,可以再左邊的器件選擇欄中選擇合 適的器件,拖拽至繪圖區(qū)即可。最終繪制拓

9、撲圖如圖5-1所示host4圖5-1網(wǎng)絡拓撲圖路由器及交換機型號router informationmodel: 805switch informationmodel: 2950ports:ethernet: 1 send 1bri:0 token 0fast ethernet: 0gigabit ethernet: 0ports:ethernet: 0 serial:0bri:0 token: 0fast ethernet: 12gigabit ethernet: 05. 2 routerswitch> pc 的配繪制完拓撲圖后保存(文件類型為.top),打開bosonnetsim,將

10、該文件導入進來對 各個設備進行配置。首先對路由器rl進行配置,在erouters屮選擇rl,鍵入相關命令 進行配置,具體如下:router>enable%進入特權模式routerwconf t%進入全局模式router(config)#host rl rl (config)#erm se cl rl (config)#line vty 0 4 rl (config-line)#pass c2%為交換機命名為rl%設置enable密文密碼為cl%配置遠程登陸數(shù)量為4%遠程密碼c2rl (config-line)#int eth 0%進入端口 eorl (config-if)ttip add

11、 192. 168. 1. 1 255. 255. 255. 0%配置 ip 地址與子網(wǎng)掩碼rl (config-if)iino shut %激活端口rl (config-if)#int se 0%進入端口 seorl (config-if)#ip add 10. 0. 0. 1 255. 0. 0. 0 %配置 ip 地址與子網(wǎng)掩碼rl (config-if)ttclock rate 64000 %設置主時鐘頻率rl (config-if)#no shutrl (config-if)#end%退出全局設置狀態(tài)rl #copy run start%保存配置文件 同樣地,對r2進行配置如下:ro

12、uter>eneiblerouter#conf trouter (config)#host r2r2 (config)#erm se clr2 (config)iiline vty 0 4r2 (config-line)#pass c2r2 (config-line)#int eth 0r2 (config-if) #ip add 192. 168.2.1 255. 255. 255. 0r2 (config-if)#no shutr2 (config-if)ttint se 0r2 (config-if)ttip add 10. 0. 0. 2 255. 0. 0. 0r2 (conf

13、ig-if)#no shutr2 (config-if)#endr2#copy run start配置、測試靜態(tài)路由選擇路由器rl并配置相關的靜態(tài)路由信息,如下所示:rl #conf trl (config)sip route 192. 168. 2. 0 255. 255. 255. 0 10. 0. 0. 2%配置靜態(tài)路由表rl (config)#endrl #copy run start選擇路由器r2并配置相關的靜態(tài)路由信息,如下所示:r2#conf tr2 (config) #ip route 192. 16& 1. 0 255. 255. 255. 0 10. 0. 0. 1

14、r2 (config)wendr2#copy run start對于switchl配置如下:switch>enableswitch#conf tswitch (config)#host sw1sw1 (config)#ena se clsw1 (config)#line vty 0 15sw1 (config-line)wpass c2sw1 (config-line)#int fe 0/2%進入 f0/1 接口sw1 (config-辻)#switchport mode access %設置為 access 模式sw1 (config-if)#int fe 0/3sw1(config-

15、if)wswitchport mode access%設置交換機控制1p1. 11 255. 255. 255. 0 為sw1 (config-辻)#int vlan 1 進入 vlan 1swl(config-if)#ip add 192. 168.1.2 255. 255. 255. 0sw1 (config-if)#no shutsw1(config-if)#endswlttcopy run start對于switch2配置如下:switch>enableswitchwconf tswitch(config)#host sw2sw2(config)#ena se clsw2 (co

16、nfig)#line vty 0 15sw2(config-line)#pass c2sw2(config-line)#int fe 0/2sw2(config-if)#switchport mode accesssw2 (config-if)sint fe 0/3sw2(config-if)#switchport mode accesssw2(config-if)#int fe 0/4sw2(config-if)#switchport mode accesssw2 (config-if)#int vlan 1sw2 (config-if)#ip add 192. 168 2 2 255. 2

17、55. 255. 0sw2(config-if)#no shutsw2 (config-if)wendsw2#copy run start對于pc配置如下:鍵入“回車鍵”繼續(xù)。在host 1的命令提示符下鍵入win1pcfg /ip 192. 168.host 1設置1p地址、子網(wǎng)掩碼。host2的命令提示符下鍵入winipcfg /ip192. 168. 1.22255. 255. 255. 0 為host 2設置1p地址、子網(wǎng)掩碼。host3的命令提示符下鍵入w1n1pcfg /ip192. 16& 2. 11255. 255. 255. 0 為host 3設置ip地址、子網(wǎng)掩碼。

18、host4的命令提示符下鍵入w1nipcfg /ip192. 16& 2. 22255. 255. 255. 0 為host 4設置1p地址、子網(wǎng)掩碼。host5的命令提示符下鍵入winipcfg /ip192. 168. 2. 33255. 255. 255. 0 為host 5設置1p地址、子網(wǎng)掩碼。hostl. host2 的默認網(wǎng)關為 192. 168. 1. 1;host3. host4. host5 的默認網(wǎng)關為 192. 168. 2. 1;配置完后可用'show ip route?查看各路由器中的路由表,具體如下:r1路由表0k%liwk-3-upd0ww: i

19、nterface serialo, changed state to up%linepr0t0-5-upd0wn: line protocol on interface serialo, changed state to up rltfshow ip routecodes: c 一 connected, s 一 static, i 一 igrp, r 一 rip, m 一 mobile, b 一 bgpd - eigrp, ex - eigrp external, 0 - ospf, ia - ospf inter areael 一 ospf external type 1, e2 - osp

20、f external type 2, e - egpi - is-is, li - is-is level-1, l2 - is-is level-2, * - candidate default u 一 per-user static routegateway of last resort is not setc/24 is directly connected, ethernetos/24 1/0 via c/8 is directly connected, serialo rl#r2路由表r2ffshow ip

21、routecodes: c 一 connected, s 一 static, i 一 igrp, r 一 rip, m 一 mobile9 b 一 bgp d - eigrp, ex - eigrp external, 0 - ospf, ia - ospf inter area el - ospf external type 1, e2 - ospf external type 2, e - egp1 - is-is, li - is-is level-1# l2 - is-is level-2, * - candidate default u - per-user static route

22、gatevray of last resort is not setc/24 is directly connected ethernetoc/8 is directly connected serialos/24 1/0 via switch1 及 switch2vlaniswltfshow vlanvi aw hmnr1 detaultstdtuxportsactivefa0/lz fa0/5, fao/9,activeactiveactiveactivefa0/2z fao/3, fao/1fao/6, fa0/

23、7f fa0/8fao/10, fao/11, fao/121002 fddi-default1003 token-ring-default1004 fddinet-default.1uu5 trnet de±au±t>i vijut type saidmtuparent ringno bridgeno stpbrdglmode tranxl tran st?1cnet10000115001002ft! <1110100215001003tr10100313001004f dnc t10100415001005t rnet1010051500icec ilmi&

24、#171;wl#portsvlan namestatus1defaultactivefao/1,fa0/2zfao/3,fao/4fao/5,fa0/6zfa0/7zfao/8fao/9,fa0/10,fao/11, fao/121002fddi-defaultactive1003token-ring-defaultactive1004fddlnet一 defaultactive1005trnet-defaultactivevlahtype saidmtuparent ringno bridgeno stpbrdclode transl trans21enet 1000011500 00100

25、2fddi 1010021500 001003tr1010031500 001004fdnet 1010041500 ieee -001005trnet 1010051500mmmmmmihm00svr2#由以上各個路由表的信息顯示可知,各路由器之間連接正確,口路由配置成功實現(xiàn), 為了驗證網(wǎng)絡的連通性,我們通過測試位于不同網(wǎng)絡下的主機是否互通來判斷其連通 性。6.結果分析6. 1互連網(wǎng)連通性測試設置完所有主機的ip地址及相應的子網(wǎng)掩碼和默認網(wǎng)關后,用'ping'命令測試 各網(wǎng)段的連通性:主機1到swl及r2連通性:些 stationsing statistics for 192

26、.168. jl jl :packets : sentpproxunate round trip t unes in mxl_l.i-seconcls :mlnijraim 5omi; , maxinuim 6onus y average 5romromn«tmapgrgoto controlreceived< o%romfrom from192168 1 2: bytes-32 192168 1 2: byte32192lfi8丄 2: bytes»32 192168 1 2: bytes-32192168.1.2: bytes-32ttl-241ttl-241tt

27、l-241ttl-241ttl-241packetb: sent pproxiunate round trip t i_mes in ml uli-seconds : mlnlimim somji , m&xijmim 6om> # average 5ln st atifor 192.168 1. 2 :5 z receivedlost< o%c:>plng 192168 21pinning 丄92 168 2 1. with 32 bytes o£ data:reply repxy feeply reply replyfrom from from f x&

28、#39;oin fromttl-241ttl=241ttl=241ttl-241ttl-241ding statistics £or 192.168 2 丄: pproxijvuite round trip times ijiseconds:mlnximim 5oms , maximum goms, averepackets: sent5 z received = 5 z lost<0%loss) z主機1到主機4連通性主機1到sw2管理1p的連通性:c:>pin(j pinging with 32 bytes of data

29、:reply reply reply reply replyfrom from from from from:::::bytes=32 bytes=32 bytes=32 bytes-32 byte«-32tijne=60mstime=60mstime=60mstime=6(hnstime«60msttl=241ttl-241ttl-241ttl-241ttl-241ping statistics for : approximate round

30、 trip times in miuli-seconds:minimum = 50ms, maximum = 60ms, averagepackets: sent 5# received5, lost0 (0% loss)z5 5msc:>|status20117-16主機1到主機2的連通性:ic:>ping 192168.1.22pinging 2 with 32 bytes of data:reply from 192.168.122: bytes=32 reply fromreply fromreply fromreply from

31、2: bytes=322: bytes»322: bytes-322: l)ytes-32t une-60ms t une=60ms t iine"60ms t dne60ms t ime60msttl=241ttl=241ttl-241ttl-241ttl-241packets: sent 5, received 5, lost -0(0% loss),5 5msping statistics for 2:approximate round trip times in milli-se

32、conds: minimum = 50ms z maximum = 60ms z average7 1c跟蹤主機1到r1的路徑性能:ic: >tracert 192 168.1.111 type escape sequence to abort."tracing the route to 1 192168.1.1 20 msec 16 msec *c:>|7結束語本次課程設計培養(yǎng)了我們綜合運用所學知識,提高了我們發(fā)現(xiàn)、提出、分析并解決 實際問題的能力,是鍛煉實踐能力的重要環(huán)節(jié),是對我們實際工作能力的具體訓練和考 察。通過本次計算機網(wǎng)絡課程設計,我更加充分的理解了課本上的知識,并能夠加以擴 展,從而應用于實踐當中,在boson軟件中虛擬實現(xiàn)一個小型辦公網(wǎng)絡,畫出網(wǎng)絡簡 單模塊拓補圖,對其內部器件進行相應的正確配置。達到網(wǎng)絡暢通、功能齊全、安全可 靠的目的,并符合公司對網(wǎng)絡的要求水平。通過本網(wǎng)絡的設計,我基木掌握了路由器、交換機、網(wǎng)絡適配器以及smtp服務器、 dns服務器、ftp / http服務器的用途及配置維護方法,了解了防火墻對網(wǎng)絡的重要 性,從而對我的網(wǎng)絡知識有了更深一步的加深與延拓,是今后學習和

溫馨提示

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

評論

0/150

提交評論