By GNS3 to achieve interoperability of the two types (Part II)

GNS3

GNS3 is a with a graphical interface can run multiple platforms (including Windows, Linux, and MacOS, etc.) network virtualization software. Cisco network device administrator or want can be done by the relevant experiments to simulate the actions stakeholders CCNA, CCNP, CCIE and other Cisco certification exam through it. It also can be used for virtual experience Cisco IOS IOS or test to be deployed configuration implemented on a real router.

purpose

Based on my previous article will GNS3 installed, this will be through the analog switch as standard two machine data exchange experiments, and to exchange captured by "Wireshark" data

First, GNS3 interface to be a brief introduction, the first acts of the menu bar, toolbar second behavior, specifically, as
By GNS3 to achieve interoperability of the two types (Part II)
bristling as a graphic field, particularly denoted in Fig.
By GNS3 to achieve interoperability of the two types (Part II)

A routing mirror configuration with added

Then accordance with the above chart, because the first time you install GNS3 is no routing equipment so we first step should be the first to add a routing and configuration, add specific steps

1-1 Click "Edit" to enter the Settings drop-down menu, select the gear pattern "Preference"

By GNS3 to achieve interoperability of the two types (Part II)

1-2 to enter the settings, select IOS routers, click Add Mirror NEW

By GNS3 to achieve interoperability of the two types (Part II)

1-3 Click "Brove" choose the path where the mirror, after the selection has been made open, click on the pop-up interface, the image file into the bin file image

By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)

1-4 Rear added, the route will drag the middle of the work area, all open by clicking the left icon bar. (Note: because there are not optimized for the computer, so this may cause the cpu was running operation had risen to 100)

By GNS3 to achieve interoperability of the two types (Part II)

1-5 while maintaining routing open, right-R1 router selects "Idle-PC" optimization, to complete the selection to be optimized with " " number of the best, if not " " the smaller the number, the better

By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)

1-6 GNS3 comes to replace a CRT controller remote control (not all paths in Chinese), click on the "Edit" pulldown menu to enter the setting, gear selection pattern "Preference". Click General, select console applications, change the CRT as shown in part

By GNS3 to achieve interoperability of the two types (Part II)
这样就完成了安装后第一个路由的配置,这时候添加的路由仅仅是个路由,不具备交换功能,所以接下来就准备对路由进行修改,使其拥有交换功能,可以当做交换机使用。

二、为路由添加第二块工作单板,并初步实现VPCs之间的互通

2-1 右击R1,点击“Configure”,在“Slots”界面,在slots2上添加交换机1:16工作单板,如图

By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)

2-2 完成后,右击R1,选择“Change Symbol”将图标更改为switch结尾的图标

By GNS3 to achieve interoperability of the two types (Part II)

2-3 最后双击R1,打开CRT控制器,输入configure terminal进入全局模式,接着输入“no ip routing”关闭路由功能,这样就初步设置好了一个交换机

By GNS3 to achieve interoperability of the two types (Part II)

2-4 设置好交换机,通过左边图标栏将两个VPC虚拟机拖入工作区,接着选择网线分别连接交换机(注意接口一定要连接f1/的只有f1/的属于第二块也就是交换机工作单板)接好后可点击显示接口,检查是否有错误

By GNS3 to achieve interoperability of the two types (Part II)

2-5 点击全部启动,分别双击PC1、PC2,在两机的用户模式下(默认界面)分别输入“ip+ip地址+子网掩码”

By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)

2-6 在网线上右击选择Wireshark抓包软件,返回pc1控制台,输入“ping+pc2ip地址”得到反馈后返回抓包软件在搜索栏输入“icmp”(Ping工具基于该协议)得到相应反馈

By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)
到这里就完成交换机的设置以及VPCs之间的互通,还剩下两台HOSTs虚拟机之间的互通

三、实现HOSTs之间的互通

3-1 打开VM14,并启动之前设置好的两台虚拟Win10主机(在VM环境下安装Win10主机参照本人第一篇博文)

By GNS3 to achieve interoperability of the two types (Part II)
检查两台虚拟机防火墙都已经关闭

3-2 点击VM14——编辑——虚拟网络编辑器,在编辑器中选择更改配置为自身宿主机添加第二块仅主机的虚拟网卡(图示是已经添加完毕),选择添加网络添加网卡,要注意的是“2”标注的地方√一定要去掉

By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)

3-3 Right Win10-1, select the network adapter is provided to bind the VMnet1, Win10-2 Similarly bound to VMnet2. Then Win10-1, Win10-2 the respectively designated ip

By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)
By GNS3 to achieve interoperability of the two types (Part II)

3-4 return GNS3, before right-click VPC1 \ 2, select "delete" Delete and re-drag two HOSTs, connected by a network cable and switch, connection with VPCs

By GNS3 to achieve interoperability of the two types (Part II)

3-5 first on the right side of the network cable connection HOST2 right-click to bring up the packet capture software, then returns Win10-1 virtual machine Right Start menu, select Run and type cmd to bring up the command prompt, enter the ip address of ping + Win10-2

By GNS3 to achieve interoperability of the two types (Part II)
These are first installed and set up GNS3 made between VPCs and means to achieve data interoperability between HOSTs implementation.

Guess you like

Origin blog.51cto.com/14484404/2426818