下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、實(shí)驗(yàn)一 基于端口劃分VLAN一、實(shí)驗(yàn)?zāi)康模?、理解VLAN的基本原理; 2、掌握按端口劃分VLAN的方法;3、理解VLAN間通信的基本原理。二、實(shí)驗(yàn)內(nèi)容:根據(jù)以下網(wǎng)絡(luò)拓?fù)浣Y(jié)構(gòu)圖,按端口劃分VLAN,使兩個(gè)VLAN之間能夠相互通信。VLAN2:PC0,PC1,PC3主機(jī)IP:192.168.2.1192.168.2.3,VLAN2接口IP:192.168.2.4,子網(wǎng)掩碼:255.255.255.0; VLAN3:PC2,PC4,PC5 主機(jī)IP:192.168.3.1192.168.3.3,VLAN3接口IP:192.168.3.4子網(wǎng)掩碼:255.255.255.0。三、實(shí)驗(yàn)環(huán)境:Cisco
2、 Packet Tracer 5.2。四、實(shí)驗(yàn)過程:扼要地寫出實(shí)驗(yàn)的過程。五、實(shí)驗(yàn)結(jié)果及分析:總結(jié)實(shí)驗(yàn)的結(jié)果,并作簡要的分析;簡單附上本次實(shí)驗(yàn)的體會(huì)與收獲。說明:把本次實(shí)驗(yàn)寫成實(shí)驗(yàn)報(bào)告,下周三交。后附:Cisco3560、Cisco2960的配置附:Cisco交換機(jī)的配置過程(1)設(shè)置VTP管理域Switch> enable /進(jìn)入特權(quán)配置模式Switch# config terminal /進(jìn)入全局配置模式Switch(config)# hostname VtpServer /交換機(jī)命名VtpServer(config)# exit /退出全局配置模式VtpServer# vlan d
3、atabase /進(jìn)入VLAN配置模式VtpServer(vlan)# vtp domain MathsGroup /創(chuàng)建VTP管理域,域名命名為MathsGroupVtpServer(vlan)#vtp server /將三層交換機(jī)配置成VTP管理域的服務(wù)器Switch> enableSwitch# config terminalSwitch(config)# hostname VtpInformationVtpInformation(config)# exitVtpInformation# vlan databaseVtpInformation(vlan)# vtp domain M
4、athsGroup /將交換機(jī)加入VTP管理域VtpInformation(vlan)# vtp client /將交換機(jī)配置成VTP管理域的客戶機(jī)Switch> enableSwitch# config terminalSwitch(config)# hostname VtpMathsVtpMaths(config)# exitVtpMaths# vlan databaseVtpMaths(vlan)# vtp domain MathsGroup /將交換機(jī)加入VTP管理域VtpMaths(vlan)# vtp client /將交換機(jī)配置成VTP管理域的客戶機(jī)(2)為交換機(jī)配置連接V
5、LAN主干(trunk)鏈路的端口VtpServer(vlan)# exit /退出VLAN配置模式VtpServer# config terminal /進(jìn)入全局配置模式VtpServer(config)# interface f0/1 /進(jìn)入接口配置模式,對(duì)端口f0/1進(jìn)行配置VtpServer(config-if)# switchport mode trunk /將端口f0/1配置成trunk模式VtpServer(config-if)# exitVtpServer(config)# interface f0/2VtpServer(config-if)# switchport mode
6、trunkVtpInformation(vlan)# exitVtpInformation# config terminalVtpInformation(config)# interface f0/1VtpInformation(config-if)# switchport mode trunkVtpMaths(vlan)# exitVtpMaths# config terminalVtpMaths(config)# interface f0/1VtpMaths(config-if)# switchport mode trunk(3)在VTP管理域的服務(wù)器(核心交換機(jī))上創(chuàng)建VLAN,并為各個(gè)
7、VLAN分配接口IP地址VtpServer(config-if)# exit /退出接口配置模式VtpServer(config)# exit /退出全局配置模式VtpServer# vlan database /進(jìn)入VLAN配置模式VtpServer(vlan)# vlan 2 name Group1 /創(chuàng)建VLAN2,將VLAN2命名為Group1VtpServer(vlan)# vlan 3 name Group2 /創(chuàng)建VLAN3,將VLAN3命名為Group2VtpServer(vlan)# exitVtpServer# config terminalVtpServer(config
8、)# interface vlan 2 /進(jìn)入VLAN2接口配置模式VtpServer(config-if)# ip address 192.168.2.4 255.255.255.0 /給VLAN2分配接口IP地址VtpServer(config-if)# exitVtpServer(config)# interface vlan 3VtpServer(config-if)# ip address 192.168.3.4 255.255.255.0(4)將交換機(jī)的接入端口配置成訪問(access)模式,并將接入端口劃分到相應(yīng)的VLANVtpInformation(config)# inter
9、face f0/2VtpInformation(config-if)# switchport mode access /將f0/2端口配置成access模式VtpInformation(config-if)# switchport access vlan 2 /將f0/2端口劃分到VLAN2VtpInformation(config-if)# exitVtpInformation(config)# interface f0/3VtpInformation(config-if)# switchport mode accessVtpInformation(config-if)# switchpor
10、t access vlan 2VtpInformation(config-if)# exitVtpInformation(config)# interface f0/4VtpInformation(config-if)# switchport mode access /將f0/4端口配置成access模式VtpInformation(config-if)# switchport access vlan 3 /將f0/4端口劃分到VLAN3VtpInformation(config-if)# exitVtpMaths(config)#interface f0/2VtpMaths(config-i
11、f)#switchport mode accessVtpMaths(config-if)#switchport access vlan 2VtpMaths(config-if)#exitVtpMaths(config)#interface f0/3VtpMaths(config-if)#switchport mode accessVtpMaths(config-if)#switchport access vlan 3VtpMaths(config-if)#exitVtpMaths(config)#interface f0/4VtpMaths(config-if)#switchport mode
12、 access VtpMaths(config-if)#switchport access vlan 3VtpMaths(config-if)#exit測試并回答問題:(一) 將PC0、PC1、PC3的IP分別設(shè)為:192.168.2.1,192.168.2.2,192.168.2.3,子網(wǎng)掩碼設(shè)為:255.255.255.0; 將PC2、PC4、PC5的IP分別設(shè)為:192.168.3.1,192.168.3.2,192.168.3.3,子網(wǎng)掩碼設(shè)為:255.255.255.0。(1)在PC0上ping PC1、PC3,網(wǎng)絡(luò)通嗎?為什么?PC> ping 192.168.2.2PC> ping 192.168.2.3
溫馨提示
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 論文著作版權(quán)轉(zhuǎn)讓合同書(標(biāo)準(zhǔn)版)
- 出租車經(jīng)營承租合同 (標(biāo)準(zhǔn)版)
- 化纖漿粕在綠色家居裝飾材料中的發(fā)展趨勢考核試卷
- 燈光設(shè)備在餐廳及酒店照明中的應(yīng)用考核試卷
- 電機(jī)在智能監(jiān)控系統(tǒng)的應(yīng)用考核試卷
- 金屬礦企業(yè)融資策略與渠道考核試卷
- 銀礦勘探數(shù)據(jù)采集與處理技巧考核試卷
- 道路貨物運(yùn)輸國內(nèi)與國際多式聯(lián)運(yùn)考核試卷
- 遙感技術(shù)在農(nóng)業(yè)氣候資源評(píng)估中的應(yīng)用考核試卷
- 北師大版六年級(jí)英語中考模擬
- 2021-2022學(xué)年人教版英語八年級(jí)下冊Unit 2 I'll help to clean up the city parks.-SectionA教案(共5課時(shí))
- 液化石油氣充裝相關(guān)法規(guī)和技術(shù)標(biāo)準(zhǔn)目錄
- 最新部編統(tǒng)編版四年級(jí)上冊語文課本課后習(xí)題參考答案
- 煤礦機(jī)電運(yùn)輸專項(xiàng)實(shí)施方案
- 中班繪本故事《對(duì)不起》詳細(xì)教案
- 《計(jì)算機(jī)網(wǎng)絡(luò)基礎(chǔ)》教案(完整版)
- 六年級(jí)數(shù)學(xué)分?jǐn)?shù)除以分?jǐn)?shù)評(píng)課議課稿
- 2船舶救生演習(xí)程序、部署、預(yù)案
- 武漢大學(xué)抬頭信簽紙共1頁
- 精密空調(diào)開機(jī)服務(wù)報(bào)告
- 完璧歸趙(劇本)
評(píng)論
0/150
提交評(píng)論