Gns 3
Gns 3
Gns 3
Bahaa Aladdin
What is GNS3 ?
• GNS3 is a graphical network simulator that allows simulation of complex
networks.
• To provide complete and accurate simulations, GNS3 is strongly linked with:
• Dynamips, a Cisco IOS emulator.
• Dynagen, a text-based front end for Dynamips.
• Qemu, a generic and open source machine emulator and virtualizer.
• VirtualBox, a free and powerful virtualization software.
• GNS3 is an excellent complementary tool to real labs for network engineers,
administrators and people wanting to study for certifications such as Cisco
CCNA, CCNP, CCIP and CCIE as well as Juniper JNCIA, JNCIS and JNCIE.
• It can also be used to experiment features of Cisco IOS, Juniper JunOS or to
check configurations that need to be deployed later on real routers.
• This project is an open source, free program that may be used on multiple
operating systems, including Windows, Linux, and MacOS X.
GNS3 is based on Dynamips and Dynagen (a text-based
front-end for Dynamips) to create a complete virtual
Cisco network, adding many additional features and
most importantly making it easy to create, change and
save your network topologies.
Download program
http://www.gns3.net/
WIC cards
WIC-1T (1 serial port)
WIC-2T (2 serial ports)
ADD NM
Network Modules
NM-1E (1 Ethernet port)
NM-4E (4 Ethernet ports)
NM-1FE-TX (1 Fast Ethernet port)
NM-16ESW (switch module: 16
FastEthernet
ports)
Control IOS image for routers
Edit >IOS images and
hypervisor>
Hardware emulated by GNS31/3
Cisco Router
Cisco 1700 Series
Cisco 3600 Series
Cisco 2600 Series
Cisco 3700 Series
Cisco 7200 Series
Cisco Catalyst Switches
At this moment, it is not possible to emulate Catalyst switches
with Dynamips/GNS3. This is due to the impossibility to
emulate ASIC processors used in those type of devices.
However you can use the EtherSwitch module with 2600s,
3600s and 3700s Serie
Hardware emulated by GNS3-2/3
Cisco PIX firewalls
A special version of Qemu called PEMU is embedded into GNS3 for emulating the PIX
525 Security Appliance. PIX software up to version 7.2(4) is supported.
Cisco ASA firewalls
Qemu/GNS3 emulates ASA5520 (ASA 5520 Series Adaptive Security Appliance)
hardware to run ASA software up to version 8.0(2).
Cisco IDS sensors
Qemu/GNS3 emulates an IDS 4235/4215 Sensor. The software IPS is known to run
with release 6.0.
Juniper routers
JunOS, the Operating System for Juniper routers is based on FreeBSD, an UNIX
Operating System that runs on PCs. At this date all JunOS versions are known to work
in GNS3.
Hardware emulated by GNS-3/3
Hosts
Thanks to Qemu and VirtualBox, GNS3 can run many operating
systems like Linux or Windows as well as a lot of appliances. To
save you time, we provide ready-to-use Qemu and VirtualBox
images that integrate Linux Microcore (command line) and Linux
Tinycore (small graphical interface). These images are designed
to not use much memory, allowing you to run many virtual
hosts. They include the following tools and features:
Console support
IPv6 support
iperf, tcpdump, iproute2 and iptables
SSH and telnet servers
D-ITG (Distributed Internet Traffic Generator)
Connect 2 routers
Using terminal programs with GNS3
The current preconfigurated terminal
commands are:
Putty (Windows 64 bits)
Putty (Windows 32 bits)
Putty (Windows, included with GNS 3)
SecureCRT (Windows 64 bits)
SecureCRT (Windows 32 bits)
TeraTerm (Windows)
Telnet (Windows)
xterm (Linux/BSD)
Putty (Linux/BSD)
Gnome Terminal (Linux/BSD)
KDE Konsole (Linux/BSD)
Terminal (Mac OS X)
iTerm (Mac OS X)
Connecting GNS3 to Real Networks
The “sparsemem” feature does not conserve real memory, but instead reduces the amount
of virtual memory used by your router instances
CPU usage
We talked about CPU Usage a bit earlier when we learned how
to determine idlepc values. Without idlepc values configured,
you may have noticed that your system’s CPU was running at
100%. This is because Dynamips, the core emulator running
under GNS3, does not know when the virtual router is idle, and
when it is performing useful work. The “idlepc” command
performs analysis on a running image to determine the most
likely points in the code that represent an idle loop in the IOS
process. Once applied, Dynamips “sleeps” the virtual router
occasionally when this idle loop is executed. This significantly
reduces CPU consumption on the host without reducing the
virtual router’s capacity to perform real work.
Packet Capture
R.Click on link
Choose Source
Packet Capture
Example 1
Example 2
Example 3
Good websites
www.gns3.net/
http://www.gns3-
labs.com/ gns3-
labs
https://www.youtube.com/user/GNS3Vault/videos
300 Learning vedio
Bahaa Aladdin