White must-see: three switches VLAN to achieve interoperability test (with illustrations)
A. Experimental environment
GNS3 router needs to experiment and c2691
II. Experiments Figure
III. Experimental Procedure
First, we set the sw-2. Let's add vlan10 and vlan20, as shown in operation. <IMG the src = " http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/145251569.png " Alt = "Mark" style = "Zoom: 75%;" />
Next interface assigned to the corresponding vlan. FIG follows <IMG the src = " http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/150300480.png " Alt = "Mark" style = "Zoom: 75%;" />
We can also be checked by setting the interface of the operation in FIG. <IMG the src = " http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/150736556.png " Alt = "Mark" style = "Zoom: 75%;" />
Next we set the R3. First, we first set up R3 ip address. FIG operates as follows. <IMG the src = " http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/151607090.png " Alt = "Mark" style = "Zoom: 75%;" />
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/151749712.png" alt="mark" style="zoom:75%;" />
Then we configure static routing R3 <img src = " http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/152616358.png " alt = "Mark" style = "Zoom: 75%;" />
Then we set the sw-3. We give sw-3 and add vlan10 vlan20 <img src =. " Http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/153435067.png " alt = "Mark" style = "Zoom: 75%; "/>
We have to f1 sw-3/0 interface to set up trunk, as shown in <IMG the src = " http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/155333120.png " Alt = " mark "style =" zoom: 75 %; "/>
Next we set sw-3 virtual interface of the gateway, as shown in operation <IMG the src = " http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/160117840.png " Alt = "Mark" style = "zoom: 75%;" />
Open Interface Layer, close exchange interface, go to set ip address of a physical interface. Figure
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/161256451.png" alt="mark" style="zoom: 80%;" />
Because sw-3 leading to the other routers have one and only one route, so a default route with him. Operation shown in FIG. <IMG the src = " http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/162313028.png " Alt = "Mark" style = "Zoom: 75%;" />
Then we should set the ip of the pc. FIG operates as follows. <IMG the src = " http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/162556511.png " Alt = "Mark" style = "Zoom: 75%;" />
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/162641472.png" alt="mark" style="zoom:75%;" />
<img src="http://itmc.oss-cn-hangzhou.aliyuncs.com/blog/20191019/162819394.png" alt="mark" style="zoom:75%;" />
So far the experiment ended. Finally, only need access to pingPC2 pc1 on the line and PC3, ping the success of the experiment is successful.