1、一张基本的拓扑图需要一台路由器,一台交换机,PC一台

这里是所有的路由器和交换机及PC,在GNS3里面将路由器直接拖到工作面板中是没有用的,因为每个路由器需要对应的镜像,如图所示:添加镜像的方法



在这里面选择对应的路由器镜像,镜像包要去网上下
然后点save就可以了。
2.将路由器转化为交换机
将一台路由器拖到工作面板中右击点

选择视图

点OK即可,然后你可以选择更改这个交换机的名字同样右击

就可以更改名字了,将设备启动右击点

就可以将设备开启,最后要给交换机加卡槽右击设备点

然后会跳出这样一个界面。


就可以完成路由器转交换机的工作了,这样的交换机可以进行命令配置而里面现成的则不可以,在使用改过的交换机之前先要关闭它原有的路由功能双击交换机输入no ip routing按回车即可。
3.PC的配置在你装的GNS3文件夹中找到一个vpcs文件夹
点开找到


按回车即可(2表示第二台PC)
4.在此之前要先给PC绑虚拟网卡,因为默认是没有虚拟网卡的右击PC


点Add再点Apply就可以了,若有多台PC则要将

