溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

Trunk必看版,最基礎(chǔ),最簡單的實驗

發(fā)布時間:2020-07-07 09:05:07 來源:網(wǎng)絡(luò) 閱讀:139 作者:mb5d8a00944d1c4 欄目:云計算

小白必看:超簡單Trunk小實驗,一看就懂

一.實驗環(huán)境

實驗環(huán)境:GNS3,路由器c2691

二.實驗拓?fù)鋱D<img src="https://cache.yisu.com/upload/information/20200309/33/53641.jpg" alt="mark" style="zoom:75%;" />

三.實驗步驟

首先進(jìn)行vlan與接口的配置。先設(shè)置好vlan如圖。<img src="https://cache.yisu.com/upload/information/20200309/33/53642.jpg" alt="mark" style="zoom:75%;" />

然后把sw1的接口分給對應(yīng)的vlan<img src="https://cache.yisu.com/upload/information/20200309/33/53644.jpg" alt="mark" style="zoom:75%;" />

接著我們對sw2進(jìn)行同樣的操作。如圖。<img src="https://cache.yisu.com/upload/information/20200309/33/53645.jpg" alt="mark" style="zoom:75%;" />

接著我們要對sw1的f1/2接口設(shè)置trunk,如圖<img src="https://cache.yisu.com/upload/information/20200309/33/53646.jpg" alt="mark" style="zoom:75%;" />

接下來對sw2的f1/2接口進(jìn)行同樣的設(shè)置,如圖<img src="https://cache.yisu.com/upload/information/20200309/33/53647.jpg" alt="mark" style="zoom:75%;" />

最后我們再對pc機(jī)設(shè)置ip地址就行了。如下圖依次是pc1到pc4的設(shè)置。<img src="https://cache.yisu.com/upload/information/20200309/33/53648.jpg" alt="mark" style="zoom:75%;" />

<img src="https://cache.yisu.com/upload/information/20200309/33/53649.jpg" alt="mark" style="zoom:75%;" />

<img src="https://cache.yisu.com/upload/information/20200309/33/53650.jpg" alt="mark" style="zoom:75%;" />

<img src="https://cache.yisu.com/upload/information/20200309/33/53652.jpg" alt="mark" style="zoom:75%;" />

至此實驗結(jié)束,實驗結(jié)果如何大家可以自行互ping試試,用wireshark抓包看看實驗結(jié)果。over!

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI