![實(shí)驗(yàn)十六 使用三層交換機(jī)的SVI實(shí)現(xiàn)VLAN間路由_第1頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2022-1/19/3dd56991-1667-4493-ac90-8b155991d432/3dd56991-1667-4493-ac90-8b155991d4321.gif)
![實(shí)驗(yàn)十六 使用三層交換機(jī)的SVI實(shí)現(xiàn)VLAN間路由_第2頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2022-1/19/3dd56991-1667-4493-ac90-8b155991d432/3dd56991-1667-4493-ac90-8b155991d4322.gif)
![實(shí)驗(yàn)十六 使用三層交換機(jī)的SVI實(shí)現(xiàn)VLAN間路由_第3頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2022-1/19/3dd56991-1667-4493-ac90-8b155991d432/3dd56991-1667-4493-ac90-8b155991d4323.gif)
![實(shí)驗(yàn)十六 使用三層交換機(jī)的SVI實(shí)現(xiàn)VLAN間路由_第4頁(yè)](http://file3.renrendoc.com/fileroot_temp3/2022-1/19/3dd56991-1667-4493-ac90-8b155991d432/3dd56991-1667-4493-ac90-8b155991d4324.gif)
下載本文檔
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、實(shí)驗(yàn)九 使用SVI實(shí)現(xiàn)VLAN間路由 【背景描述】 為減小廣播包對(duì)網(wǎng)絡(luò)的影響,網(wǎng)絡(luò)管理員在公司內(nèi)部網(wǎng)絡(luò)中進(jìn)行了VLAN的劃分。完成VLAN的劃分后,發(fā)現(xiàn)不同VLAN之間無(wú)法互相訪問(wèn)。 【需求分析】 可以通過(guò)配置三層交換機(jī)的SVI接口實(shí)現(xiàn)VLAN間的路由?!緦?shí)驗(yàn)?zāi)康摹?利用三層交換機(jī)實(shí)現(xiàn)VLAN間路由。【知識(shí)準(zhǔn)備】VLAN間的主機(jī)通信為不同網(wǎng)段間的通信,需要通過(guò)三層設(shè)備對(duì)數(shù)據(jù)進(jìn)行路由轉(zhuǎn)發(fā)才可以實(shí)現(xiàn),通過(guò)在三層交換機(jī)上為各VLAN配置SVI接口,利用三層交換機(jī)的路由功能可以實(shí)現(xiàn)VLAN間的路由。 【實(shí)驗(yàn)一】 利用三層交換機(jī)的SVI實(shí)現(xiàn)VLAN間互通實(shí)驗(yàn)設(shè)備1、3560-24 三層交換機(jī) 1臺(tái) 2、
2、PC機(jī) 2臺(tái) 3、直通線若干1.2 組網(wǎng)圖1.3 實(shí)驗(yàn)設(shè)備IP地址及要求設(shè)備名接口IP地址子網(wǎng)掩碼網(wǎng)關(guān)PC1網(wǎng)絡(luò)接口192.168.10.2255.255.255.0192.168.10.1PC2網(wǎng)絡(luò)接口192.168.20.2255.255.255.0192.168.20.1L3-SWVLAN 10192.168.10.1255.255.255.0VLAN 20192.168.20.1255.255.255.0 Vlan及端口分配設(shè)備名VLAN ID 端口范圍L3-SW VLAN 10 F0/6-10L3-SW VLAN 20 F0/11-151.4 實(shí)驗(yàn)步驟第一步:在三層交換機(jī)上創(chuàng)建VLA
3、N。 Switch#configure terminal Switch(config)#vlan 10 Switch(config-vlan)#vlan 20 Switch(config-vlan)#exit 第二步: 在三層交換機(jī)上將端口劃分到相應(yīng)VLAN。 Switch(config)#interface fastEthernet 0/1 Switch(config-if)#switchport access vlan 10 Switch(config-if)#exit Switch(config)#interface fastEthernet 0/2 Switch(config-if)#
4、switchport access vlan 20 Switch(config-if)#exit 第三步:在三層交換機(jī)上給VLAN配置IP地址。 Switch(config)#interface vlan 10 Switch(config-if)#ip address 192.168.10.1 255.255.255.0 Switch(config-if)#no shutdown Switch(config-if)#exit Switch(config)#interface vlan 20 Switch(config-if)#ip address 192.168.20.1 255.255.25
5、5.0 Switch(config-if)#no shutdown Switch(config-if)#exit 1.5 驗(yàn)證測(cè)試。 按拓?fù)渲兴九渲肞C并連線,從VLAN10中的PC1 ping VLAN20中的PC2,結(jié)果如下所示: C:Documents and Settingsshil>ping 192.168.20.2 Pinging 192.168.20.2 with 32 bytes of data: Reply from 192.168.20.2: bytes=32 time<1ms TTL=64 Reply from 192.168.20.2: bytes=32
6、time<1ms TTL=64 Reply from 192.168.20.2: bytes=32 time<1ms TTL=64 Reply from 192.168.20.2: bytes=32 time<1ms TTL=64 Ping statistics for 192.168.20.2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0
7、ms 從上述測(cè)試結(jié)果可以看到通過(guò)在三層交換機(jī)上配置SVI接口實(shí)現(xiàn)了不同VLAN之間的主機(jī)通信。 注意事項(xiàng) :VLAN中PC的IP地址需要和三層交換機(jī)上相應(yīng)VLAN的IP地址在同一網(wǎng)段,并且主機(jī)網(wǎng)關(guān)配置為三層交換機(jī)上相應(yīng)VLAN的IP地址。 1.6實(shí)驗(yàn)參考配置文檔Switch#show running-config Building configuration. Current configuration : 1370 bytes ! vlan 1 ! vlan 10 ! vlan 20 ! ! enable secret 5 $1$khi7$zBty5tE6xwvCw3Dv ! interfa
8、ce FastEthernet 0/1 switchport access vlan 10 ! interface FastEthernet 0/2 switchport access vlan 20 ! interface FastEthernet 0/3 ! interface FastEthernet 0/4 ! interface FastEthernet 0/5 ! interface FastEthernet 0/6 ! interface FastEthernet 0/7 ! interface FastEthernet 0/8 ! interface FastEthernet
9、0/9 ! interface FastEthernet 0/10 ! interface FastEthernet 0/11 ! interface FastEthernet 0/12 ! interface FastEthernet 0/13 ! interface FastEthernet 0/14 ! interface FastEthernet 0/15 ! interface FastEthernet 0/16 ! interface FastEthernet 0/17 ! interface FastEthernet 0/18 ! interface FastEthernet 0/19 ! interface FastEthernet 0/20 ! interface FastEthernet 0/21 ! interface FastEthernet 0/22 ! interface FastEthernet 0/23 ! interface FastEthernet 0/24 ! interface GigabitEthernet 0/25 ! interface GigabitEthernet 0/26 ! interface GigabitEthernet 0/27 ! interface GigabitEthernet 0/2
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年個(gè)體品牌店鋪轉(zhuǎn)手合同標(biāo)準(zhǔn)格式
- 2025年企業(yè)應(yīng)用軟件開發(fā)外包服務(wù)合同
- 2025年勞動(dòng)合同法關(guān)鍵及詳細(xì)解析
- 官方認(rèn)證合同標(biāo)準(zhǔn)文本參考集
- 2025年創(chuàng)業(yè)合伙企業(yè)投資協(xié)議模板
- 2025年雙邊技術(shù)交流與合作協(xié)議范例
- 2025年醫(yī)療機(jī)構(gòu)醫(yī)療器械監(jiān)管維護(hù)管理協(xié)議
- 2025年親屬間房產(chǎn)轉(zhuǎn)讓合同文本
- 2025年住宅建設(shè)安全管理合同
- 2025年經(jīng)濟(jì)型共享汽車短期租賃合同
- 《感冒中醫(yī)治療》課件
- 牛津上海版小學(xué)英語(yǔ)四年級(jí)下冊(cè)(英語(yǔ)單詞表)
- 2024年體育賽事運(yùn)動(dòng)員贊助合同3篇
- 2023年中考英語(yǔ)話題復(fù)習(xí)課件 健康與飲食
- 2023年機(jī)動(dòng)車檢測(cè)站質(zhì)量手冊(cè)和程序文件(根據(jù)補(bǔ)充要求編制)
- 路遙介紹課件
- 腸道健康管理
- 2024年高考語(yǔ)文復(fù)習(xí):古詩(shī)文閱讀強(qiáng)化練習(xí)題匯編(含答案解析)
- 北京萬(wàn)集DCS-30K計(jì)重收費(fèi)系統(tǒng)技術(shù)方案設(shè)計(jì)
- 歌劇卡門課件教學(xué)課件
- 光伏發(fā)電績(jī)效考核管理
評(píng)論
0/150
提交評(píng)論