




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、網(wǎng)絡設計實踐報告單 位: * 班 級: * 學 號: 2010551008 姓 名: 任課教師: 湘潭大學2013年11月項目名稱:配置VLAN(實驗四)一、 項目概述1.將同一交換機上連接的PC機劃分為兩個VLAN。通過Ping命令檢查其正確性。2.在多個交換機上部署VLAN,并通過干道(trunk)建立交換機間鏈路。3.檢查同一網(wǎng)段中的主機能否互相拼通,不同網(wǎng)段中的主機相互不能拼通。二、項目方案設計原理系統(tǒng)結構圖設備使用與配置規(guī)劃 兩個交換機通過trunk連接起來。 三、項目實施工藝1. 如上述拓撲圖連接主機交換機2. 進行交換機配置,先配置第一個交換機,配置清單如下:switchAena
2、ble /進入特權模式switchA#conf t /進入配置子模式 /創(chuàng)建VLAN,2個Enter configuration commands, one per line. End with CNTL/Z.switchA(config)#vlan 60 /創(chuàng)建一個vlan 602013-11-18 17:11:49 5-CONFIG:Configured from outbandswitchA(config-vlan)#exit2013-11-18 17:11:57 5-CONFIG:Configured from outbandswitchA(config)#vlan 80 /創(chuàng)建一個v
3、lan 802013-11-18 17:12:12 5-CONFIG:Configured from outbandswitchA(config-vlan)#exit2013-11-18 17:12:17 5-CONFIG:Configured from outbandswitchA(config)#int f0/1 /進入端口1的配置模式2013-11-18 17:13:20 5-CONFIG:Configured from outbandswitchA(config-if)#sw mode access /設置端口為靜態(tài)VLAN訪問模式2013-11-18 17:13:30 5-CONFI
4、G:Configured from outbandswitchA(config-if)#sw access vlan 60 /將端口1分配給vlan 602013-11-18 17:13:44 5-CONFIG:Configured from outbandswitchA(config-if)#exit2013-11-18 17:13:49 5-CONFIG:Configured from outbandswitchA(config)#int f0/22013-11-18 17:13:58 5-CONFIG:Configured from outbandswitchA(config-if)#s
5、w mode access2013-11-18 17:14:09 5-CONFIG:Configured from outbandswitchA(config-if)#sw access vlan 802013-11-18 17:14:19 5-CONFIG:Configured from outbandswitchA(config-if)#exit2013-11-18 17:14:24 5-CONFIG:Configured from outbandswitchA(config)#exit2013-11-18 17:14:34 5-CONFIG:Configured from outband
6、switchA#conf /配置VLAN Trunk端口Enter configuration commands, one per line. End with CNTL/Z.switchA(config)#int f0/4 /進入端口4的配置模式2013-11-18 17:15:01 5-CONFIG:Configured from outbandswitchA(config-if)#sw mode trunk /設置當前端口為Trunk模式2013-11-18 17:15:11 5-CONFIG:Configured from outbandswitchA(config-if)#sw tr
7、unk allowed vlan all /設置允許從該端口交換數(shù)據(jù)的VLAN2013-11-18 17:15:29 5-CONFIG:Configured from outbandswitchA(config-if)#exit2013-11-18 17:15:33 5-CONFIG:Configured from outbandswitchA(config)#exit2013-11-18 17:15:37 5-CONFIG:Configured from outband3. 配置第二個交換機,配置清單如下:linlinenablePassword:lin#conf tEnter config
8、uration commands, one per line. End with CNTL/Z.lin(config)#hostname switchB /修改主機名為switchB 2013-11-18 17:20:43 5-CONFIG:Configured from outbandswitchB(config)#end2013-11-18 17:20:48 5-CONFIG:Configured from outbandswitchB#conf tEnter configuration commands, one per line. End with CNTL/Z.switchB(con
9、fig)#vlan 602013-11-18 17:22:38 5-CONFIG:Configured from outbandswitchB(config-vlan)#exit2013-11-18 17:22:41 5-CONFIG:Configured from outbandswitchB(config)#vlan 802013-11-18 17:22:50 5-CONFIG:Configured from outbandswitchB(config-vlan)#exit2013-11-18 17:22:52 5-CONFIG:Configured from outbandswitchB
10、(config)#int f0/12013-11-18 17:23:14 5-CONFIG:Configured from outbandswitchB(config-if)#sw mode access2013-11-18 17:23:26 5-CONFIG:Configured from outbandswitchB(config-if)#sw access vlan 802013-11-18 17:23:43 5-CONFIG:Configured from outbandswitchB(config-if)#exit2013-11-18 17:23:47 5-CONFIG:Config
11、ured from outbandswitchB(config)#int f0/22013-11-18 17:24:03 5-CONFIG:Configured from outbandswitchB(config-if)#sw mode access2013-11-18 17:24:10 5-CONFIG:Configured from outbandswitchB(config-if)#sw access vlan 602013-11-18 17:24:24 5-CONFIG:Configured from outbandswitchB(config-if)#exit2013-11-18
12、17:24:31 5-CONFIG:Configured from outbandswitchB(config)#int f0/42013-11-18 17:24:59 5-CONFIG:Configured from outbandswitchB(config-if)#sw mode trunk2013-11-18 17:25:22 5-CONFIG:Configured from outbandswitchB(config-if)#sw trunk allowed vlan all2013-11-18 17:25:38 5-CONFIG:Configured from outbandswi
13、tchB(config-if)#exit2013-11-18 17:25:40 5-CONFIG:Configured from outband四、 測試結果分析1、 測試用例與測試工具運行-cmd-ipconfig-ping 同一網(wǎng)段的IP地址,如:在IP為172.16.2.4的主機上ping 172.16.2.5,能拼通;在IP為172.16.3.6的主機上ping 172.16.3.7,能拼通;在IP為172.16.2.4的主機上ping 172.16.3.6,拼不通;在IP為172.16.3.7的主機上ping 172.16.2.5,拼不通;2、 測試結果分析利用干道trunk配置交換
14、機后,相同VLAN的主機能互相通信,不同VLAN的主機不能相互通信。五、 實驗體會這次實驗主要學習了VLAN的基本配置,熟悉了交換機的配置,怎么樣把相應端口添加到VLAN中,實現(xiàn)端口之間相互通信。雖然實驗中出現(xiàn)了VLAN80中主機可相互通信,但VLAN60不可以相互通信,經(jīng)檢查是因為缺少一個端口配置,最終成功通信。六、基本信息1. 項目小組成員:李秀梅 柳晴 胡鈞 鄒敏2. 各成員分擔的實驗內容:李秀梅(配置交換機) 3. 實驗時間:2013年11月19號4. 報告完成的時間:2013年11月23號項目名稱:交換機路由協(xié)議配置OSPF配置 (實驗五)一、項目概述1.將交換機與PC機連接起來,最
15、少使用兩個交換機,形成三段VLAN2.在不同VLAN間運行OSPF路由協(xié)議,且在骨干區(qū)域中。3.使得交換機連接的主機PC1、PC2可以相互通信。二、項目方案設計原理系統(tǒng)結構圖設備使用與配置規(guī)劃 兩個交換機(s3600)之間運行OSPF協(xié)議。 二、 項目實施工藝1.如上述拓撲圖連接主機交換機2.進行路由配置,先配置第一個交換機,再配置第二個。第二個交換機配置清單如下:R1R1ENR1#conf terminalEnter configuration commands, one per line. End with CNTL/Z.R1(config)#vlan 20R1(config-vlan)#
16、name v20R1(config-vlan)#exitR1(config)#vlan 30R1(config-vlan)#name v30R1(config-vlan)#exitR1(config)#int f0/2R1(config-if)#switchport access vlan 20R1(config-if)#exitR1(config)#int f0/1R1(config-if)#switchport access vlan 30R1(config-if)#exitR1(config)#int vlan 20R1(config-if)#Nov 19 10:25:23 %LINEP
17、ROTO-5-UPDOWN: Line protocol on Interface VLAN 20, changed state to upR1(config-if)#ip address 20.1.1.2 255.255.255.0R1(config-if)#exitR1(config)#int vlan 30R1(config-if)#Nov 19 10:26:03 %LINEPROTO-5-UPDOWN: Line protocol on Interface VLAN 30, changed state to upR1(config-if)#ip add 30.1.1.1 255.255
18、.255.0R1(config-if)#exitR1(config)#route ospf 12R1(config-router)#network 20.1.1.0 0.0.0.255 area 0R1(config-router)#network 20.1.1.0 Nov 19 10:27:03 %OSPFV2-6-O2_NBR_CHANGE: OSPF12 NeighborVLAN 20:20.1.1.2-20.1.1.1 status change from Down to Init.Nov 19 10:27:03 %OSPFV2-6-O2_NBR_CHANGE: OSPF12 Neig
19、hborVLAN 20:20.1.1.2-20.1.1.1 status change from Init to 2-Way.Nov 19 10:27:03 %OSPFV2-6-O2_NBR_CHANGE: OSPF12 NeighborVLAN 20:20.1.1.2-20.1.1.1 status change from 2-Way to ExStart.Nov 19 10:27:13 %OSPFV2-6-O2_NBR_CHANGE: OSPF12 NeighborVLAN 20:20.1.1.2-20.1.1.1 status change from ExStart to Exchang
20、e.Nov 19 10:27:13 %OSPFV2-6-O2_NBR_CHANGE: OSPF12 NeighborVLAN 20:20.1.1.2-20.1.1.1 status change from Exchange to Loading.Nov 19 10:27:13 %OSPFV2-6-O2_NBR_CHANGE: OSPF12 NeighborVLAN 20:20.1.1.2-20.1.1.1 status change from Loading to Full.% There is already the same network statementR1(config-route
21、r)#network 30.1.1.0 0.0.0.255 area 0R1(config-router)#exitR1(config)#exitR1#Nov 19 10:34:57 %SYS-5-CONFIG_I: Configured from console by consoleshow vlanVLAN Name Status Ports- - - - 1 VLAN0001 STATIC Fa0/3, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22,
22、Fa0/23, Fa0/24, Gi0/25 Gi0/26, Gi0/27, Gi0/28 10 VLAN0010 STATIC Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/11, Fa0/17 20 v20 STATIC Fa0/2, Fa0/3, Fa0/7, Fa0/10 Fa0/11, Fa0/17 30 v30 STATIC Fa0/1, Fa0/3, Fa0/8, Fa0/9 Fa0/11, Fa0/17六、 測試結果分析3、 測試用例與測試工具運行-cmd-ipconfigping 172.16.2.5,能拼通;在IP為10.1.1.2的主機上ping 10.1
23、.1.1能拼通;繼續(xù)ping 20.1.1.1,能拼通;繼續(xù)ping 20.1.1.2,能拼通;繼續(xù)ping 30.1.1.1,能拼通;繼續(xù)ping 30.1.1.2,能拼通;在IP為30.1.1.2的主機上ping 10.1.1.2的主機,能拼通。4、 測試結果分析OSPF配置成功,兩個PC機之間可以ping通七、 實驗體會這次實驗主要學習了交換機的基本配置,怎么樣把相應端口添加到VLAN中,如何在交換機之間進行路由協(xié)議OSPF配置。開始實驗時連接好線并進行配置后ping不到主機的網(wǎng)關IP,最后經(jīng)檢查發(fā)現(xiàn)時由于把交換機兩邊的網(wǎng)絡沒有加進配置,最終PC1、PC2成功通信六、基本信息5. 項目小
24、組成員:李秀梅 柳晴 胡鈞 鄒敏6. 各成員分擔的實驗內容:李秀梅(連線) 7. 實驗時間:2013年11月20號8. 報告完成的時間:2013年11月23號項目名稱:配置OSPF(實驗六)一、 項目概述1.在路由器A、B、C上分別創(chuàng)建網(wǎng)絡,使路由器B左右為不同網(wǎng)絡。2.將各個接口放置到相應的vlan里面,并為各個vlan配置相應的ip地址,在路由器上運行ospf協(xié)議,設置B、C為NSSA區(qū)域。3.檢查PC機能否相互通信。4.在C、路由器上設置一個虛擬網(wǎng)絡看B、A路由能否學習得到C的信息。二、項目方案設計原理系統(tǒng)結構圖設備使用與配置規(guī)劃 所有路由器運行ospf協(xié)議并通告所在的直連網(wǎng)段,手工配置
25、各個交換機的router-id。三、 項目實施工藝1.如上述拓撲圖連接主機路由器2.進行路由配置,先配置A路由,再B路由,再C路由,配置清單如下:routerC配置Router(config-if)#intf0/0/配置f0/0接口Router(config-if)#ipadd40.1.1.1255.255.255.0Router(config-if)#exitRouter(config)#intf0/1Router(config-if)#ipadd30.1.1.2255.255.255.0Router(config-if)#exitRouter(config)#rouRouter(confi
26、g)#routerospRouter(config)#routerospf10/啟動ospfRouter(config-router)#arRouter(config-router)#area1nssa/把area1設置成nssaRouter(config-router)#netRouter(config-router)#network30.1.1.00.0.0.255area1Router(config-router)#network40.1.1.00.0.0.255area1Router(config-router)#exitRouter(config)#iproute50.1.1.025
27、5.255.255.050.1.2.1/添加靜態(tài)路由Router(config)#iproute50.1.2.0255.255.255.25530.1.1.1Router(config)#routeospf100Router(config-router)#rediaRouter(config-router)#rediRouter(config-router)#redistributestaticsuRouter(config-router)#redistributestaticsubnets/重發(fā)布Router(config-router)#end%SYS-5-CONFIG_I:Configu
28、redfromconsolebyconsole3.配置驗證Router#Router#showiprouRouter#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea*-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteGatewayoflastresortisnotset10.0.0.0/24
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 陜西省安康市2024-2025學年高三下學期第二次質量考試(二模)地理試題(含答案)
- 企業(yè)對外溝通與合作記錄表
- 鄉(xiāng)村旅游規(guī)劃設計服務協(xié)議
- 產(chǎn)品保密與知識產(chǎn)權保護契約書
- 倒裝句的構成與識別:英語語法知識鞏固教案
- 鄉(xiāng)村土地承包經(jīng)營獎補資金使用協(xié)議
- 二手房買賣過戶網(wǎng)簽協(xié)議
- 健康飲食品牌推廣合同書
- 本季度銷售業(yè)績匯報與展望
- 高體三教授治療眩暈病學術思想研究
- 建設“三型三化551”財務體系加快財務轉型創(chuàng)建一流財務指導意見
- 部編版五年級道德與法治下冊課程綱要
- 語言領域核心經(jīng)驗《學前兒童語言學習與發(fā)展核心經(jīng)驗》
- 湖北省華中師大一附中2020-2021高一物理期中檢測試卷【含答案】
- 2021年合肥職業(yè)技術學院職業(yè)適應性測試試題及答案解析
- 2022年三年級美術下冊教案課題美化教室一角
- 初中物理公式MicrosoftWord文檔
- 詐騙案件授課PPT課件
- 弗洛姆異化理論
- 碳納米管_ppt課件
- 【課件】第2課如何鑒賞美術作品課件-高中美術人教版(2019)美術鑒賞
評論
0/150
提交評論