freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

任務(wù)四使用vlantrunk技術(shù)實現(xiàn)跨交換機(jī)的vlan內(nèi)的通信-免費閱讀

2024-12-19 06:10 上一頁面

下一頁面
  

【正文】 4. ping 另一交換機(jī) SC 相 同 VLAN 的計算 機(jī) PC5: ping ,通。 SAshow run Building configuration... Current configuration : 966 bytes ! version no service passwordencryption ! hostname SA ! ! ! interface FastEther0/1 switchport access vlan 100 ! interface FastEther0/2 switchport access vlan 200 ! interface FastEther0/3 switchport access vlan 300 ! interface FastEther0/12 switchport mode trunk ! interface FastEther0/4 ! //…… ..中間省了一些端口 ! interface FastEther0/24 ! interface Vlan1 no ip address shutdown ! line con 0 ! line vty 0 4 login line vty 5 15 login ! ! end SBshow run Building configuration... Current configuration : 966 bytes ! version no service passwordencryption ! hostname SB ! ! ! interface FastEther0/1 switchport access vlan 100 ! interface FastEther0/2 switchport access vlan 200 ! interface FastEther0/3 switchport access vlan 300 ! interface FastEther0/12 switchport mode trunk ! interface FastEther0/4 ! //…… ..中間省了一些端口 ! interface FastEther0/24 ! interface Vlan1 no ip address shutdown ! line con 0 ! line vty 0 4 login line vty 5 15 login ! ! end 在原來實驗基礎(chǔ)上增加二層交換機(jī),以增加一些 PC 機(jī),如下圖: P C 1I P : 1 9 2 . 1 6 8 . 1 . 2P C 2I P : 1 9 2 . 1 6 8 . 1 . 3P C 3I P : 1 9 2 . 1 6 8 . 1 . 4P C 4I P : 1 9 2 . 1 6 8 . 1 . 5P C 6I P : 1 9 2 . 1 6 8 . 1 . 7P C 5I P : 1 9 2 . 1 6 8 . 1 . 6V l a n 1 0 0V l a n 2 0 0 V l a n 1 0 0 V l a n 2 0 0V l a n 1 0 0 V l a n 2 0 0F 0 / 1F 0 / 2 F 0 / 1 F 0 / 2F 0 / 2F 0 / 1F 0 / 1 2F 0 / 1 1 F 0 / 1 2F 0 / 1 2 PC 機(jī)的 IP 和端口對照表: 交換機(jī)名 端口名 PC 機(jī) IP 地址 switchA FastEther0/1(fa0/1) PC1 FastEther0/2(fa0/2) PC2 switchB FastEther0/3(fa0/3) PC3 FastEther0/1(fa0/1) PC4 switchC FastEther0/2(fa0/2) PC5 FastEther0/3(fa0/3) PC6 switchA 的 Fa0/12 端口與 switchB 的 Fa0/11 端口相連 switchB 的 Fa0/12 端口與 switchC 的 Fa0/12 端口相連 根據(jù)網(wǎng)絡(luò)拓樸 和以上的對照表 搭建好網(wǎng)絡(luò)環(huán) 境 。 以 PC1( IP: )為例進(jìn)行測試,測試過程如下: 1. ping 同交換機(jī) SA 不同 VLAN 的計算 機(jī) PC2: ping ,不通。 ? 思科私有的 VLAN 標(biāo)簽格式。 二種 vlant trunk 鏈路協(xié)議 在當(dāng)前業(yè) 界有二種 vlan trunk 鏈路協(xié)議:一種 是 IEEE ,這是國際標(biāo)準(zhǔn);另一種 是 ISL (內(nèi)部交換鏈路 inter switch link) ,這是思科公司專有的協(xié)議。 例如: 結(jié)合實驗拓樸, 主機(jī) PC1 要發(fā)數(shù)據(jù)幀給主機(jī) PC3: 當(dāng) PC1 發(fā)出的幀到達(dá)交換機(jī) A 時,交換機(jī) A 取出該幀的目標(biāo) MAC 地址,通過查找本交換機(jī)的 MAC 地址表,交換機(jī) A 發(fā)現(xiàn)要把該幀發(fā)送到 PC3,必須把該幀從 FA0/12 端口轉(zhuǎn)發(fā)出去 。 ! interface FastEther0/2 switchport access vlan 200 ! interface FastEther0/3 ! //…… ..中間省了一些端口 ! interface FastEther0/12 switchport mode trunk vtp domain bigdomain ! interface Vlan 1 no ip address no ip routecache ! vlan 100 name VLAN0100 vlan 200 name VLAN0200 ! ip classless no ip server ! line con 0 transport input none line aux 0 line vty 0 15 ! no scheduler allocate end 同理用 show run 命令檢查交換機(jī) SB 的原來配置時,有沒有把 fa0/1 加入vlan,加入的是不是 vlan 100。檢查計算機(jī)有沒有防火墻,以及防火墻的策略。 2. ping 另一交換機(jī) SA 不 同 VLAN 的計算 機(jī) PC1: ping , 不 通。 3. ping 另一交換機(jī) SB 不同 VLAN 的計算 機(jī) PC4: ping ,不通。 4. 掌握 vlan trunk 鏈 路 的配置 和驗證 vlan trunk 鏈路的作用 四、任務(wù)設(shè)備和拓樸 四臺 PC 機(jī),二臺二層交換機(jī) 圖 124 vlan trunk 實驗拓樸圖 五、任務(wù) 步驟 根據(jù)網(wǎng)絡(luò)拓樸搭建好網(wǎng)絡(luò)環(huán)境 分別給 4 臺 PC 機(jī) 配置好 IP 地址,注意是同一網(wǎng)段, PC 機(jī)不用設(shè)置 DNS服務(wù)器 IP,只要設(shè) IP 地址和子網(wǎng)掩碼就可以。它成為 VLAN史上的一塊里程碑。把新增的 8 臺電腦接入交換機(jī),而這新增的 8 臺電腦,有 5臺屬于業(yè)務(wù)部的 vlan,有 3 臺屬于倉庫的 vlan,現(xiàn)在要求這 5 臺新增的業(yè)務(wù)部電腦能夠與業(yè)務(wù)部原來的電腦通信;新增的 3 臺電腦能夠與倉庫原來的電腦通信。 ( 二 ) vlan trunk 的 標(biāo)準(zhǔn) VLAN Trunk 目前有兩種標(biāo)準(zhǔn), ISL 和 ,前者是 Cisco 專有技術(shù),后者則是 IEEE 的國際標(biāo)準(zhǔn),除了 Cisco 兩者都支持外,其它廠商都只支持后者。 二、任務(wù) 內(nèi)容 配置 vlan trunk 三、任務(wù) 目的 1. 了解 Vlan Trunk 鏈路的作用。 配置交換機(jī) A 和 B,配置命令如下: ( 1) 交換機(jī) A 的配置: (把端口 1 加入 VLAN 100,端口 2 加入 VLAN 200,端口 12 配置為 trunk 模式) switchen //從普通用戶模式進(jìn)入特權(quán)用戶模式 Switchconf t //從特權(quán)用戶模式進(jìn)入全局配置模式 Switch(config)hostname SA //定義左邊交換機(jī)的名字為 SA SA(config)vlan 100 //定義一個 VLAN, VLAN 號為 100 SA(config)vlan 200 //定義一個 VLAN, VLAN 號為 200 SA(config)int fa0/1 //進(jìn)入端口配置模式 SA(configif)switchport access vlan 100 //把端口 1 加入 VLAN 100 SA(configif)exit //返回上一級模式 SA(config)int fa0/2 //進(jìn)入端口配置模式 SA(configif)switchport access vlan 200 SA(configif)exit SA(config)int fa0/12 //進(jìn)入端口配置模式 SA(configif)switchport mode trunk //把該端口的模式配置為 trunk 模式 SA(configif)exit SA(config)exit SAshow vlan //查看本交換機(jī)的 vlan 配置情況 ( 2) 交換機(jī) B 的配置: (把端口 1 加入 VLAN 100,端口 2 加入 VLAN 200,端口 12 配置為 trunk 模式) switchen //從普通用戶模式進(jìn)入特權(quán)用戶模式 Switchcon t //從特權(quán)用戶模式進(jìn)入全局配置模式 Switch(config)hostname SB //定義右邊交換機(jī) 的名字為 SB SB(config)vlan 100 //定義一個 VLAN, VLAN 號為 100 SB(config)vlan 200 //定義一個 VLAN, VLAN 號為 200 SB(config)int fa0/1 //進(jìn)入端口配置模式 SB(configif)switchport access vlan 100 //把端口 1 加入 VLAN 100 SB(configif)exit //返回上一級模式 SB(config)int fa0/2 //進(jìn)入端口配置模式 SB(configif)switchport access vlan 200 //把端口 2 加入 VLAN 200 SB(configif)exit SB(config)int fa0/12 //進(jìn)入端口配置模式 SB(configif)switchport mode trunk //把該端口的模式配置為 trunk 模式 SB(configif)exit SB(config)exit SBshow vlan 六、測試結(jié)果 同一 VLAN 下的計算機(jī)之間可以 ping 通,不同 VLAN 下
點擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1