計算機網(wǎng)絡(luò)項目教學(xué)作業(yè)_第1頁
計算機網(wǎng)絡(luò)項目教學(xué)作業(yè)_第2頁
計算機網(wǎng)絡(luò)項目教學(xué)作業(yè)_第3頁
計算機網(wǎng)絡(luò)項目教學(xué)作業(yè)_第4頁
計算機網(wǎng)絡(luò)項目教學(xué)作業(yè)_第5頁
已閱讀5頁,還剩78頁未讀, 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

1、目錄實驗1:交換機的基本配置1實驗2:交換機的遠程登錄3實驗3:交換機鏈路匯聚技術(shù)6實驗4:交換機連接生成樹技術(shù)9實驗5:服務(wù)器的配置11實驗6:客戶機對服務(wù)器vlan的學(xué)習(xí)16實驗7:三層交換機利用聚合技術(shù)實現(xiàn)vlan間的通信20實驗8:單臂路由的配置24實驗9:設(shè)置路由器的系統(tǒng)時鐘28實驗10:arp地址解析協(xié)議29實驗11:路由器的標簽設(shè)置31實驗12:路由器的遠程登錄33實驗13:域名解析服務(wù)34實驗14:用戶的克隆與隱藏37項目實驗15:組建小型網(wǎng)絡(luò)42項目實驗16:項目設(shè)計方案49實驗17:利用三層交換機配置dhcp55實驗18:vpn虛擬專用網(wǎng)技術(shù)57實驗19:win2003域的

2、管理62實驗20:利用gns3實現(xiàn)跨網(wǎng)段域控制65實驗21 linux 系統(tǒng)工具-shell編程70實驗22 linux下實現(xiàn)與windows的共享74實驗23 apache服務(wù)器的配置78實驗1:交換機的基本配置一、實驗?zāi)康?熟悉交換機的模式命令 2學(xué)習(xí)特權(quán)模式下的命令3了解全局配置模式下的命令二、實驗環(huán)境 在packet tracer5.1上進行實驗 1.一臺2950交換機 2.一臺pc三、實驗內(nèi)容1、查看mac地址以及使用cisco發(fā)現(xiàn)協(xié)議命令2、給交換機命名和設(shè)置密碼四、實驗步驟、過程1、查看交換機的mac地址,進入特權(quán)模式輸入show mac- address table進行查看,如

3、圖2.使用cisco發(fā)現(xiàn)協(xié)議,在交換機上查看周圍設(shè)備及信息以及保存交換機配置,如圖3.在全局配置模式下給交換機設(shè)置名字和密碼,如圖實驗2:交換機的遠程登錄一、實驗?zāi)康?學(xué)會在另一臺pc上利用遠程登錄進入交換機進行配置二、實驗環(huán)境1.兩臺交換機2.兩臺pc三、實驗內(nèi)容 在虛擬機中通過對交換機的配置,使得另一臺pc可以遠程登錄并管理交換機。四、實驗步驟、過程1.連接四臺機器,設(shè)置好四臺機器的ip地址,使其在同一網(wǎng)段10.1.1.x,并使兩臺pc之間能夠互相ping通,如圖2.給switch0命名,配置并設(shè)置好密碼,如圖3.給switch 1進行配置,如圖4.對本次實驗的成功進行測試。switch1

4、成功進入switch0并取得特權(quán)模式,實驗成功,如圖實驗3:交換機鏈路匯聚技術(shù) 一、實驗?zāi)康?熟悉交換機鏈路匯聚的命令2掌握和配置交換機鏈路匯聚技術(shù)。二、實驗環(huán)境交換機兩臺,網(wǎng)線若干,測試pc兩臺三、實驗內(nèi)容 在兩臺交換機之間配置好鏈路匯聚四、實驗步驟、過程1、兩臺交換機分別連接兩臺電腦,并用兩根交叉線對兩臺交換機進行連接,如圖12、配置switch 0,將此連接的接口加入?yún)R聚端口并用同命令對switch 1進行配置switchenswitch#conf tenter configuration commands, one per line. end with cntl/z.switch(co

5、nfig)#hostname liushaozhouliushaozhou(config)#ex%sys-5-config_i: configured from console by consoleliushaozhou#vlan da% warning: it is recommended to configure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.

6、liushaozhou(vlan)#vlan 10vlan 10 added: name: vlan0010liushaozhou(vlan)#exapply completed.exiting.liushaozhou#conf tenter configuration commands, one per line. end with cntl/z.liushaozhou(config)#inter fa0/5liushaozhou(config-if)#switchport mode accessliushaozhou(config-if)#switchport access vlan 10

7、liushaozhou(config-if)#exliushaozhou(config)#interface port-channel 1liushaozhou(config-if)#switchport mode trunkliushaozhou(config-if)#exitliushaozhou(config)#interface range gi1/1-2liushaozhou(config-if-range)#channel-group 1 mode on%link-5-changed: interface port-channel 1, changed state to up%li

8、neproto-5-updown: line protocol on interface port-channel 1, changed state to upliushaozhou(config-if-range)#end%sys-5-config_i: configured from console by console3.檢查連通情況,配置成功,如圖實驗4:交換機連接生成樹技術(shù)一、實驗?zāi)康?通過修改bridge ip,重新選擇根網(wǎng)橋二、實驗環(huán)境兩臺交換機四臺電腦三、實驗內(nèi)容 在兩臺電腦之間用生成樹技術(shù)進行配置三、實驗過程1.給四臺電腦設(shè)置好ip,并連接交換機。如圖 2.左邊switch

9、10 一燈未亮,即對該交換機進行命令配置switchenswitch#conf tenter configuration commands, one per line. end with cntl/z.switch(config)#spanning-tree vlan 1 priority 4096switch(config)#3.配置完成,實驗5:服務(wù)器的配置一、實驗?zāi)康?熟悉客戶機的模式設(shè)置2. 了解客戶機在各種模式下是怎樣對服務(wù)器進行學(xué)習(xí)以及它們的權(quán)限二、實驗環(huán)境四臺交換機,并把它們用交叉線進行連接三、實驗內(nèi)容1、服務(wù)器的配置2、客戶機加入域四、實驗步驟、過程1、將四臺交換機用交叉線進行

10、連接,把sw 0設(shè)為服務(wù)器,如圖2. 配置服務(wù)器,設(shè)置服務(wù)器版本,打通三個接口并劃分四個vlan供下面實驗,如圖,為交換機的配置命令liushaozhou#vlan database% warning: it is recommended to configure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.liushaozhou(vlan)#vtp domai

11、n liushaozhouchanging vtp domain name from null to liushaozhouliushaozhou(vlan)#vtp serverdevice mode already vtp server.liushaozhou(vlan)#vtp v2-modev2 mode enabled.liushaozhou(vlan)#exapply completed.exiting.liushaozhou#conf tenter configuration commands, one per line. end with cntl/z.liushaozhou(

12、config)#inter range fa0/1,fa0/14-15liushaozhou(config-if-range)#sw mo tr%lineproto-5-updown: line protocol on interface fastethernet0/1, changed state to down%lineproto-5-updown: line protocol on interface fastethernet0/1, changed state to up%lineproto-5-updown: line protocol on interface fastethern

13、et0/14, changed state to down%lineproto-5-updown: line protocol on interface fastethernet0/14, changed state to up%lineproto-5-updown: line protocol on interface fastethernet0/15, changed state to down%lineproto-5-updown: line protocol on interface fastethernet0/15, changed state to upliushaozhou(co

14、nfig-if-range)#end%sys-5-config_i: configured from console by consoleliushaozhou#vlan da% warning: it is recommended to configure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.liushaozhou(vlan)#vlan 1vlan 1

15、 modified:liushaozhou(vlan)#vlan 2vlan 2 added: name: vlan0002liushaozhou(vlan)#vlan 3vlan 3 added: name: vlan0003liushaozhou(vlan)#vlan 4vlan 4 added: name: vlan0004liushaozhou(vlan)#show vlan3.配置sw 1,把其設(shè)為客戶機,并打開它的三個接口,并用同樣的命令對sw2,3進行配置,把sw2,3都設(shè)為客戶機switchenswitch#vlan da% warning: it is recommended

16、 to configure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.switch(vlan)#vtp domain liushaohzouchanging vtp domain name from liushaozhou to liushaohzouswitch(vlan)#vtp clientsetting device to vtp client mod

17、e.switch(vlan)#vtp v2-modev2 mode enabled.switch(vlan)#exapply completed.exiting.switch#conf tenter configuration commands, one per line. end with cntl/z.switch(config)#inter range fa0/1,fa0/14-15switch(config-if-range)#sw mo tru%lineproto-5-updown: line protocol on interface fastethernet0/14, chang

18、ed state to down%lineproto-5-updown: line protocol on interface fastethernet0/14, changed state to up%lineproto-5-updown: line protocol on interface fastethernet0/15, changed state to down%lineproto-5-updown: line protocol on interface fastethernet0/15, changed state to upswitch(config-if-range)#end

19、%sys-5-config_i: configured from console by consoleswitch#show vlan- - - -1 default 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 fa0/13, fa0/16, fa0/17, fa0/18 fa0/19, fa0/20, fa0/21, fa0/22 fa0/23, fa0/242 vlan0002 active 3 vlan0003 active 4 vlan0004 ac

20、tive 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active 4.把客戶機sw2設(shè)置為透明模式,再在服務(wù)器上添加新的vlan觀察它的學(xué)習(xí)狀態(tài)把sw2設(shè)為透明模式switch#vlan da% warning: it is recommended to configure vlan from config mode, as vlan database mode is being deprecated. please consult

21、 user documentation for configuring vtp/vlan in config mode.switch(vlan)#vtp transetting device to vtp transparent mode.switch(vlan)#vtp transparentdevice mode already vtp transparent.switch(vlan)#vlan 5vlan 5 added: name: vlan0005switch(vlan)#在服務(wù)器上添加新的vlanliushaozhouenliushaozhou#vlan da% warning:

22、it is recommended to configure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.liushaozhou(vlan)#vlan 10vlan 10 added:name: vlan0010查看客戶機sw2的權(quán)限和學(xué)習(xí)狀態(tài)switch#show vlanvlan name status ports- - - -1 default activ

23、e fa0/1, fa0/2, fa0/3, fa0/4 fa0/5, fa0/6, fa0/7, fa0/8 fa0/9, fa0/10, fa0/11, fa0/12 fa0/13, fa0/16, fa0/17, fa0/18 fa0/19, fa0/20, fa0/21, fa0/22 fa0/23, fa0/242 vlan0002 active 3 vlan0003 active 4 vlan0004 active 5 vlan0005 active 1002 fddi-default active 1003 token-ring-default active 1004 fddin

24、et-default active 1005 trnet-default active vlan type said mtu parent ringno bridgeno stp brdgmode trans1 trans2改變客戶機sw3的域,觀察它的權(quán)限及學(xué)習(xí)狀態(tài)switchenswitch#vlan da% warning: it is recommended to configure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation fo

25、r configuring vtp/vlan in config mode.switch(vlan)#vtp domain shaozhouchanging vtp domain name from liushaozhou to shaozhouswitch(vlan)#vlan 20vtp vlan configuration not allowed when device is in client mode.witch#show vlanvlan name status ports- - - -1 default active fa0/1, fa0/2, fa0/3, fa0/4 fa0/

26、5, fa0/6, fa0/7, fa0/8 fa0/9, fa0/10, fa0/11, fa0/12 fa0/13, fa0/16, fa0/17, fa0/18 fa0/19, fa0/20, fa0/21, fa0/22 fa0/23, fa0/242 vlan0002 active 3 vlan0003 active 4 vlan0004 active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active 5.由此得出只

27、有同一個域的客戶端才能學(xué)習(xí)到服務(wù)器的vlan客戶模式是無法添加和修改vlan的,透明模式可以自主添加vlan透明模式可以自主添加vlan實驗6:客戶機對服務(wù)器vlan的學(xué)習(xí)一、實驗?zāi)康?了解兩臺交換機對服務(wù)器不同vlan劃分的學(xué)習(xí) 二、實驗環(huán)境三臺交換機,兩臺電腦三、實驗內(nèi)容 配置服務(wù)器,在服務(wù)器上劃分兩個vlan,讓兩臺交換機分別接入兩個vlan中四、實驗步驟、過程1、將一臺交換機設(shè)為服務(wù)器,另兩臺交換機連接服務(wù)器,并分別連接一臺電腦,如圖2. 配置服務(wù)器,劃分vlan10以及vlan20,并打通三個接口switchenswitch#vlan da% warning: it is recom

28、mended to configure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.switch(vlan)#vtp domain liushaozhouchanging vtp domain name from null to liushaozhouswitch(vlan)#vtp serverdevice mode already vtp server.sw

29、itch(vlan)#exapply completed.exiting.switch#conf tenter configuration commands, one per line. end with cntl/z.switch(config)#inter range fa0/1-3switch(config-if-range)#sw mo trunk%lineproto-5-updown: line protocol on interface fastethernet0/1, changed state to down%lineproto-5-updown: line protocol

30、on interface fastethernet0/1, changed state to up%lineproto-5-updown: line protocol on interface fastethernet0/2, changed state to down%lineproto-5-updown: line protocol on interface fastethernet0/2, changed state to upswitch(config-if-range)#exswitch(config)#ex%sys-5-config_i: configured from conso

31、le by consoleswitch#vlan da% warning: it is recommended to configure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.switch(vlan)#vlan 10vlan 10 added: name: vlan0010switch(vlan)#vlan 20vlan 20 added: name: v

32、lan0020switch(vlan)#ex3. 配置客戶機,把第一臺客戶機劃入vlan10,并用同樣的方法把另一臺客戶機劃入vlan20switchenswitch#conf tenter configuration commands, one per line. end with cntl/z.switch(config)#inter fa0/1switch(config-if)#end%sys-5-config_i: configured from console by consoleswitch#vlan da% warning: it is recommended to config

33、ure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.switch(vlan)#vtp domain liushaozhoudomain name already set to liushaozhou.switch(vlan)#vtp clientsetting device to vtp client mode.switch(vlan)#exapply comp

34、leted.exiting.switch#show vlanvlan name status ports- - - -1 default active fa0/2, fa0/3, fa0/4, fa0/5 fa0/6, fa0/7, fa0/8, fa0/9 fa0/10, fa0/11, fa0/12, fa0/13 fa0/14, fa0/15, fa0/16, fa0/17 fa0/18, fa0/19, fa0/20, fa0/21 fa0/22, fa0/23, fa0/2410 vlan0010 active 20 vlan0020 active 1002 fddi-default

35、 active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active vlan type said mtu parent ringno bridgeno stp brdgmode trans1 trans2- - - - - - - - - - -1 enet 100001 1500 - - - - - 0 010 enet 100010 1500 - - - - - 0 020 enet 100020 1500 - - - - - 0 01002 enet 101002 150

36、0 - - - - - 0 0switch#conf tenter configuration commands, one per line. end with cntl/z.switch(config)#inter fa0/2switch(config-if)#sw mo access vlan 10 % invalid input detected at marker.switch(config-if)#sw mo accessswitch(config-if)#sw access vlan10 % invalid input detected at marker.switch(confi

37、g-if)#sw acc vlan 10switch(config-if)#end%sys-5-config_i: configured from console by consoleswitch#show vlanvlan name status ports- - - -1 default active fa0/3, fa0/4, fa0/5, fa0/6 fa0/7, fa0/8, fa0/9, fa0/10 fa0/11, fa0/12, fa0/13, fa0/14 fa0/15, fa0/16, fa0/17, fa0/18 fa0/19, fa0/20, fa0/21, fa0/2

38、2 fa0/23, fa0/2410 vlan0010 active fa0/220 vlan0020 active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active vlan type said mtu parent ringno bridgeno stp brdgmode trans1 trans2- - - - - - - - - - -1 enet 100001 1500 - - - - - 0 010 enet 10

39、0010 1500 - - - - - 0 020 enet 100020 1500 - - - - - 0 01002 enet 101002 1500 - - - - - 0 0 -more4.實驗成功,客戶機1成功劃入vlan10實驗7:三層交換機利用聚合技術(shù)實現(xiàn)vlan間的通信一、實驗?zāi)康?學(xué)習(xí)采用虛擬局域網(wǎng)技術(shù)解決解決由多臺多交換的網(wǎng)絡(luò)引發(fā)的網(wǎng)絡(luò)廣播風(fēng)暴、網(wǎng)絡(luò)安全等嚴重問題。二、實驗環(huán)境二層交換機一臺,三層交換機一臺,網(wǎng)線若干,測試pc若干臺三、實驗內(nèi)容 配置兩臺交換機,利用聚合技術(shù)實現(xiàn)vlan間的通信四、實驗步驟、過程1、安裝網(wǎng)絡(luò)工作環(huán)境,配置好交換機后再用兩根線分別對應(yīng)連接兩交換

40、機的fa0/5-6接口。如圖2.對sw2950進行配置,劃分vlan并打通trunkswitchenswitch#conf tenter configuration commands, one per line. end with cntl/z.switch(config)#inter po% incomplete command.switch(config)#inter port-channel 1switch(config-if)#switchport mode trunkswitch(config-if)#exswitch(config)#inter range fa0/5-6switc

41、h(config-if-range)#channel-g% incomplete command.switch(config-if-range)#channel group 1 mode on% ambiguous command: channel group 1 mode onswitch(config-if-range)#sw mo trunkswitch(config-if-range)#end%sys-5-config_i: configured from console by consoleswitch#vlan d% warning: it is recommended to co

42、nfigure vlan from config mode, as vlan database mode is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.switch(vlan)#vlan 10vlan 10 added: name: vlan0010switch(vlan)#vlan 20vlan 20 added: name: vlan0020switch(vlan)#exapply completed.exiting.switch#conf ten

43、ter configuration commands, one per line. end with cntl/z.switch(config)#inter fa0/1switch(config-if)#sw mo accswitch(config-if)#sw acc vlan 10switch(config-if)#exswitch(config)#inter fa0/2switch(config-if)#switchport mode accessswitch(config-if)#sw ac vlan 20switch(config-if)#2.對sw3560進行配置switchens

44、witch#conf tenter configuration commands, one per line. end with cntl/z.switch(config)#inter po% incomplete command.switch(config)#inter port-channel 1switch(config-if)#switchport mode trunkswitch(config-if)#exswitch(config)#inter range fa0/5-6switch(config-if-range)#channel-g% incomplete command.sw

45、itch(config-if-range)#channel group 1 mode on% ambiguous command: channel group 1 mode onswitch(config-if-range)#sw mo trunkswitch(config-if-range)#end%sys-5-config_i: configured from console by consoleswitch#vlan d% warning: it is recommended to configure vlan from config mode, as vlan database mod

46、e is being deprecated. please consult user documentation for configuring vtp/vlan in config mode.switch(vlan)#vlan 10vlan 10 added: name: vlan0010switch(vlan)#vlan 20vlan 20 added: name: vlan0020switch(vlan)#exapply completed.exiting.switch#conf tenter configuration commands, one per line. end with cntl/z.swi

溫馨提示

  • 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. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論