The concept, installation, configuration, and use of GNS3 are described earlier, and this article describes how to use the GNS3 configuration IOU to enable routing Exchange experiments using GNS3 and Cisco IOU.
Since this is a long story, I'll go through the outline first:
1. Introduction to IOU Simulation environment
2. Preparation of IOU Software environment
3. Installation, import, and configuration of VMware virtual machines
4. Uploading of IOU images
5. Configuration of the GNS3
6. Implementation of IOU simulation environment
IOU Simulation Environment Introduction
IOU is the iOS running in UNix, originally developed by Cisco insiders to test the iOS platform, and later spread to the Internet by netizens improved with later web IOU. GNS3 since the 1.0 version of the integration of the IOU,GNS3 IOU compared to the Web Iou in the topology of the construction of a lot of flexibility. The IOU backend runtime is a UNIX-based operating system that can run on Oracle VirtualBox or VMware virtual machines. Because the IOU mirror is running on a UNIX system, the physical machine resources are very low.
650) this.width=650; "height=" 589 "title=" clip_image001 "style=" border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none, "alt=" clip_image001 "src=" http://s3.51cto.com/wyfs02/M00/6C/45/ Wkiol1vdpzcsmvlkaag8hf8aiz0936.jpg "border=" 0 "/>
The operating environment of the IOU is as follows: iOS is running in the GNS3 local server of dynamips emulation, GNS3 in the Web mode of C/s to access 127.0.0.1:8000 local server running on physical machine through GNS3 The IOU Mirror runs on a VMware Virtual machine UNIX system called a remote server, GNS3 communicates with the UNIX system on 192.168.61.128:8000 and VMware in the Web mode of C/S.
IOU Preparation of the software environment
To implement configuring and running IOU on GNS3, the following software is required:
· GNS3 1.3.2 for Windows
· GNS3 IOU VM
· VMware virtual Machines
650) this.width=650; "height=" 139 "title=" clip_image001[6] "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none; "alt=" clip_image001[6] "src=" http://s3.51cto.com/ Wyfs02/m01/6c/45/wkiol1vdpzgcsrfyaabwex-ygoi331.jpg "border=" 0 "/>
installation, import, and configuration of VMware virtual machines
VMware Virtual machine installation, here is not introduced, online a search tutorial a bunch.
Import the downloaded virtual machine template-gns3 IOU Vm_1.3.2.ova into VMware.
As shown, open the VMware software and choose to open the virtual machine:
650) this.width=650; "height=" 533 "title=" clip_image002 "style=" border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none, "alt=" clip_image002 "src=" http://s3.51cto.com/wyfs02/M02/6C/45/ Wkiol1vdpzgyef6haajztin10vc502.jpg "border=" 0 "/>
Select the downloaded virtual machine template-gns3 IOU Vm_1.3.2.ova
650) this.width=650; "height=" 580 "title=" clip_image003 "style=" border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none, "alt=" clip_image003 "src=" http://s3.51cto.com/wyfs02/M00/6C/45/ Wkiol1vdpzoy-bc8aajfwr3zfyi808.jpg "border=" 0 "/>
For example, click ' Import ' to import the virtual machine into VMware
650) this.width=650; "height=" 533 "title=" clip_image004 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image004 "src=" http://s3.51cto.com/wyfs02/ M01/6c/45/wkiol1vdpztwidmiaalq0ord61e632.jpg "border=" 0 "/>
At this point, the following error message appears, click "Retry" to retry
650) this.width=650; "height=" 533 "title=" clip_image005 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image005 "src=" http://s3.51cto.com/wyfs02/ M02/6c/45/wkiol1vdpzwger-iaamkli8clme532.jpg "border=" 0 "/>
As shown, the virtual machine template has been successfully imported into VMware:
650) this.width=650; "height=" 533 "title=" clip_image006 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image006 "src=" http://s3.51cto.com/wyfs02/ M00/6c/45/wkiol1vdpzbcztegaal1wd_byou396.jpg "border=" 0 "/>
Click "Power on" to start the virtual machine that you just imported:
650) this.width=650; "height=" 533 "title=" clip_image007 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image007 "src=" http://s3.51cto.com/wyfs02/ M02/6c/49/wkiom1vdpcyqwdqhaal-5jmjp_i470.jpg "border=" 0 "/>
Successfully log in to the IOU virtual machine as shown:
650) this.width=650; "height=" 533 "title=" clip_image008 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image008 "src=" http://s3.51cto.com/wyfs02/ M01/6c/49/wkiom1vdpcziygxqaahvow8_7bi047.jpg "border=" 0 "/>
650) this.width=650; "height=" 533 "title=" clip_image009 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image009 "src=" http://s3.51cto.com/wyfs02/ M02/6c/49/wkiom1vdpc3wp6faaaic8194v5m055.jpg "border=" 0 "/>
As shown, run Ifconfig to obtain the NIC IP configuration information for the IOU Unix system, from the IP that can be known to the IOU UNIX virtual machine to 192.168.61.128, remember the IP address, which you need to configure GNS3 IOU later.
650) this.width=650; "height=" 533 "title=" clip_image010 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image010 "src=" http://s3.51cto.com/wyfs02/ M00/6c/45/wkiol1vdpznyxctdaaoquznnrjc692.jpg "border=" 0 "/>
Use the text editor nano to view the network card configuration information for the virtual machine:
650) this.width=650; "height=" 533 "title=" clip_image011 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image011 "src=" http://s3.51cto.com/wyfs02/ M01/6c/45/wkiol1vdpznwhbcxaahjxntp2de247.jpg "border=" 0 "/>
As can be seen, the IP address of the ETH0 network card is dynamically obtained through DHCP
650) this.width=650; "height=" 533 "title=" clip_image012 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image012 "src=" http://s3.51cto.com/wyfs02/ M01/6c/49/wkiom1vdpc_w9luoaakwv5lbrj0037.jpg "border=" 0 "/>
By viewing the network configuration of the IOU virtual machine template, you know that the NIC is connected as "Host-only"
650) this.width=650; "height=" 625 "title=" clip_image013 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image013 "src=" http://s3.51cto.com/wyfs02/ M02/6c/49/wkiom1vdpdcxj0xbaaicp188iue363.jpg "border=" 0 "/>
By viewing the "host-only" network configuration on VMware, verify that the IP address of the IOU virtual machine is the first IP address -192.168.61.128 obtained from the "VMNET1" DHCP server.
650) this.width=650; "height=" 533 "title=" clip_image014 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image014 "src=" http://s3.51cto.com/wyfs02/ M00/6c/45/wkiol1vdpzygaxf2aanjilnvti0628.jpg "border=" 0 "/>
If you do not want the virtual machine to automatically obtain the IP address from the VMNET1 instead of manually filling in the static IP address, you can use the following configuration example to modify the eth0 IP information:
650) this.width=650; "height=" 533 "title=" clip_image015 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image015 "src=" http://s3.51cto.com/wyfs02/ M01/6c/45/wkiol1vdpzyixhmbaalrfw_z_n8162.jpg "border=" 0 "/>
upload of IOU image
Open the browser on the physical machine, enter the IP address of the IOU UNIX virtual machine, and open the IOU image upload interface as shown in:
650) this.width=650; "height=" 336 "title=" clip_image016 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image016 "src=" http://s3.51cto.com/wyfs02/ M02/6c/45/wkiol1vdpzzq8vu4aaeap-slihw386.jpg "border=" 0 "/>
To upload the downloaded IOU image one by one to the IOU virtual machine, the IOU image can be obtained from the web search or the Cisco official website:
650) this.width=650; "height=" 398 "title=" clip_image017 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image017 "src=" http://s3.51cto.com/wyfs02/ M00/6c/45/wkiol1vdpz2xtdu4aafte7pajgu121.jpg "border=" 0 "/>
We can confirm whether the image has been uploaded successfully on the IOU UNIX virtual machine:
650) this.width=650; "height=" 533 "title=" clip_image018 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image018 "src=" http://s3.51cto.com/wyfs02/ M01/6c/45/wkiol1vdpz7gvvtzaaqp9g3eyqs800.jpg "border=" 0 "/>
Through we can confirm that the image has been uploaded successfully!
configuration of the GNS3
As shown, add the IP address of the IOU UNIX virtual machine to the "Remote servers" to implement GNS3 and IOU virtual machine communication!
650) this.width=650; "height=" 667 "title=" clip_image019 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image019 "src=" http://s3.51cto.com/wyfs02/ M02/6c/45/wkiol1vdpz6ddzz4aahbydw7ise710.jpg "border=" 0 "/>
Find the location, import the IOU license file into the GNS3, the file can be downloaded from the GNS3 official website, or search engines.
650) this.width=650; "height=" 667 "title=" clip_image020 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image020 "src=" http://s3.51cto.com/wyfs02/ M02/6c/49/wkiom1vdpdsze_9maaigx-3wtew830.jpg "border=" 0 "/>
implementation of IOU simulation environment
Look at the picture and talk!
650) this.width=650; "height=" 667 "title=" clip_image021 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image021 "src=" http://s3.51cto.com/wyfs02/ M00/6c/45/wkiol1vdpz_zj1t9aagaoin2rhq331.jpg "border=" 0 "/>
650) this.width=650; "height=" 409 "title=" clip_image022 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image022 "src=" http://s3.51cto.com/wyfs02/ M01/6c/45/wkiol1vdpz-xhtbqaaefcjgldxo661.jpg "border=" 0 "/>
650) this.width=650; "height=" 409 "title=" clip_image023 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image023 "src=" http://s3.51cto.com/wyfs02/ M02/6c/45/wkiol1vdpz_zts63aaezabzid0m234.jpg "border=" 0 "/>
650) this.width=650; "height=" 667 "title=" clip_image024 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image024 "src=" http://s3.51cto.com/wyfs02/ M00/6c/45/wkiol1vdpadatfqiaakygwfrfws011.jpg "border=" 0 "/>
650) this.width=650; "height=" 667 "title=" clip_image025 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image025 "src=" http://s3.51cto.com/wyfs02/ M01/6c/45/wkiol1vdpagrtmkfaai0rqvt-zq051.jpg "border=" 0 "/>
The new IOU device is now shown in the interface:
650) this.width=650; "height=" 758 "title=" clip_image026 "style=" border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none, "alt=" clip_image026 "src=" http://s3.51cto.com/wyfs02/M02/6C/45/ Wkiol1vdpakdumjoaakwp3n9vjm095.jpg "border=" 0 "/>
Next, you can experiment with the IOU device:
650) this.width=650; "height=" 758 "title=" clip_image027 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image027 "src=" http://s3.51cto.com/wyfs02/ M00/6c/45/wkiol1vdpaos9upcaalo3huog5m157.jpg "border=" 0 "/>
As shown, double-click the IOU1 device to enter the console configuration interface:
650) this.width=650; "height=" 758 "title=" clip_image028 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image028 "src=" http://s3.51cto.com/wyfs02/ M01/6c/45/wkiol1vdpatxgyr3aappehpu4ja765.jpg "border=" 0 "/>
It can be seen that IOU occupies very little of the system resources.
650) this.width=650; "height=" 516 "title=" clip_image029 "style=" border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none, "alt=" clip_image029 "src=" http://s3.51cto.com/wyfs02/M02/6C/45/ Wkiol1vdpaxiqa6jaagorzmxfxc190.jpg "border=" 0 "/>
The IOU device is calculated starting with the port number 2000.
All right, here's how to build a routing switch series with GNS3 and Cisco IOU! Hope to just contact GNS3 and IOU friends can get some help!
GNS3 and IOU Introduction: http://jettcai.blog.51cto.com/1447637/1641167
GNS3 and IOU installation article: http://jettcai.blog.51cto.com/1447637/1641222
GNS3 and IOU configuration article: http://jettcai.blog.51cto.com/1447637/1641226
GNS3 and IOU use article: http://jettcai.blog.51cto.com/1447637/1641227
This article is from the "E-Network Deep" blog, please be sure to keep this source http://jettcai.blog.51cto.com/1447637/1641248
How to use GNS3 and Cisco IOU to build a routing exchange experiment-iou