Three-tier exchange experiments (illustrated, can now do)

Good morning, today I'll accompany little friends together to complete the three-tier exchange experiments. GSN 3 into the software, drag two c3725, and was added into the respective configure service boards and disk space (two devices are to be set, Forget).
Three-tier exchange experiments (illustrated, can now do)
Three-tier exchange experiments (illustrated, can now do)
Three-tier exchange experiments (illustrated, can now do)
After setting, first change the name to sw1 and sw2. Then the icon into the icon switches sw1, sw2 icons into icon of three switches.

Three-tier exchange experiments (illustrated, can now do)
拖出三台pc机,用console线将五台设备连接起来,切记pc与连接的是sw1交换机端口,即数字1开头的,数字0开头的为路由器端口。
Three-tier exchange experiments (illustrated, can now do)
双击五台设备进入CRT界面,点Options,再点Session Options,在Appearance中设置页面颜色和字体大小,便于后期浏览。
Three-tier exchange experiments (illustrated, can now do)
拟定三台主机ip及子网掩码,给三层交换机配备三个对应的网关,接下来的配置按照下图来进行。
Three-tier exchange experiments (illustrated, can now do)
首先设置sw1,关路由,添加三个vlan 域,设置链路模式,把端口添加进来。这里只列举了f1/1端口添加进vlan方法,f1/0和f1/2端口同样的方法设置。
Three-tier exchange experiments (illustrated, can now do)
输入查看命令(简写),随机看到三个端口都已添加进三个vlan域中。
Three-tier exchange experiments (illustrated, can now do)
接下来设置sw1的f1/3端口,进去后把sw模式设置为trunk模式,再封装dot协议。
Three-tier exchange experiments (illustrated, can now do)
设置后,输入查看命令查看(简写),设置成功。
Three-tier exchange experiments (illustrated, can now do)
依照sw1设置trunk的方法配置sw2的f1/3,操作步骤一样。
Three-tier exchange experiments (illustrated, can now do)
再输入命令查看配置好的模式页面,也成功设置完成。
Three-tier exchange experiments (illustrated, can now do)
其次进入三个vlan域中,给其设置网关地址与子网掩码,设置好后要输入no shut开启端口。
图中介绍了vlan 10的配置方法,其它两个用同样方法配置即可。
Three-tier exchange experiments (illustrated, can now do)
输入查看ip命令查看是否配置OK。
Three-tier exchange experiments (illustrated, can now do)
Three-tier exchange experiments (illustrated, can now do)
地址已配置OK,且端口都已开启。

给三台主机配上ip地址,输入时后面要加上网关(敲黑板,这个特别容易遗漏)。
Three-tier exchange experiments (illustrated, can now do)
Three-tier exchange experiments (illustrated, can now do)
Three-tier exchange experiments (illustrated, can now do)
此时我们用pc1去连接pc2,能互相通讯。
Three-tier exchange experiments (illustrated, can now do)
我们再用pc1去连接pc3,能互相通讯。
Three-tier exchange experiments (illustrated, can now do)
我们再用pc2去连接pc3,看是否能进行互联互通。
Three-tier exchange experiments (illustrated, can now do)

In summary, we found that three Jieke pairwise communication, thus proving that the three switches can be realized so that different network segments, different vlan domain pc machine interoperability.

Guess you like

Origin blog.51cto.com/14475593/2428136