SlideShare uma empresa Scribd logo
1 de 30
Baixar para ler offline
Graphical Network Simulator
       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.

Dynamips is the core program that allows IOS
emulation. GNS3 runs on top of Dynamips to create a
more user friendly, graphical environment.
Dynamips

Dynamips is a software that emulates Cisco IOS on a
traditional PC. It has been made by Christophe Fillot
who started his work in August 2005. The last official
release of Dynamips supports Cisco 7200, 3600 series
(3620, 3640 and 3660), 3700 series (3725, 3745), 2600
series (2610 to 2650XM, 2691) and 1700 series. It is
very popular with people studying for CCNA (Cisco
Certified Network Associate), CCNP (Cisco Certified
Network Professional) and CCIE (Cisco Certified
Internetwork Expert) certification exams.
Dynagen

Dynagen is a front-end for use with the Dynamips Cisco
router emulator. It uses an INI-like configuration file to
provision Dynamips emulator networks. It takes care of
specifying the right port adapters, generating and
                          Dynagen
matching up those pesky NIO descriptors, specifying
bridges, frame-relay, ATM switches, etc. It also provides
a management CLI for listing devices, suspending and
reloading instances, determining and managing idle-pc
values, performing packet captures, etc.
GNS3 also supports other emulation programs, namely
Qemu, Pemu and VirtualBox. These softwares are used
to emulate Cisco ASA and PIX firewalls, Cisco IPS,
Juniper routers as well as hosts (Linux, Windows, Mac
OS X, FreeBSD etc.) GNS3 makes all of this emulation
magic work together and allow you, for instance, to
have your Cisco router talking to your Linux host. The
possibilities are almost endless!
Step 1 – Install GNS3


 Download program
 http://www.gns3.net/

Download IOS for your
router,ipx,etc.. From the internet
Step 2 – Install GNS3
Step 3 – Defining Cisco IOS files
Add router
Configuring router
IDLE pc
Add Wic
                          The 1-port serial WAN interface card (WIC-1T)
                          provides serial connections to remote sites or
                          legacy serial network devices such as
                          Synchronous Data Link Control (SDLC)
                          concentrators




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 FastEthernet 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 GNS3)
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



Right-click the Cloud and choose Configure.
Click on C1 under Clouds, but choose the NIO
Ethernet tab
Memory Usage
The Ghostios option can significantly reduce the amount of real host RAM needed for labs
with multiple routers running the same IOS image




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

Mais conteúdo relacionado

Mais procurados

Traceroute- A Networking Tool
Traceroute- A Networking ToolTraceroute- A Networking Tool
Traceroute- A Networking ToolAmit Kumar
 
Comparing open source private cloud platforms
Comparing open source private cloud platformsComparing open source private cloud platforms
Comparing open source private cloud platformsOSCON Byrum
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training PresentationRohit Singh
 
Ccna Presentation
Ccna PresentationCcna Presentation
Ccna Presentationbcdran
 
Deep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingDeep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingSreenivas Makam
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to VirtualizationRahul Hada
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPTPijush Kanti Das
 
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSDay 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSanilinvns
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationDsunte Wilson
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking ExplainedThomas Graf
 
CCNA Introducing Networks
CCNA Introducing NetworksCCNA Introducing Networks
CCNA Introducing NetworksDsunte Wilson
 
Aci presentation
Aci presentationAci presentation
Aci presentationJoe Ryan
 
Cloud computing using Eucalyptus
Cloud computing using EucalyptusCloud computing using Eucalyptus
Cloud computing using EucalyptusAbhishek Dey
 
Distributed Computing system
Distributed Computing system Distributed Computing system
Distributed Computing system Sarvesh Meena
 
NGINX: High Performance Load Balancing
NGINX: High Performance Load BalancingNGINX: High Performance Load Balancing
NGINX: High Performance Load BalancingNGINX, Inc.
 
Workgroup vs domain
Workgroup vs domainWorkgroup vs domain
Workgroup vs domaintameemyousaf
 

Mais procurados (20)

Traceroute- A Networking Tool
Traceroute- A Networking ToolTraceroute- A Networking Tool
Traceroute- A Networking Tool
 
Comparing open source private cloud platforms
Comparing open source private cloud platformsComparing open source private cloud platforms
Comparing open source private cloud platforms
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training Presentation
 
Mininet Basics
Mininet BasicsMininet Basics
Mininet Basics
 
Ccna Presentation
Ccna PresentationCcna Presentation
Ccna Presentation
 
Deep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingDeep dive into Kubernetes Networking
Deep dive into Kubernetes Networking
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSDay 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
 
CCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch ConfigurationCCNA Basic Switching and Switch Configuration
CCNA Basic Switching and Switch Configuration
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking Explained
 
CCNA Introducing Networks
CCNA Introducing NetworksCCNA Introducing Networks
CCNA Introducing Networks
 
Aci presentation
Aci presentationAci presentation
Aci presentation
 
IIS
IISIIS
IIS
 
Cloud computing using Eucalyptus
Cloud computing using EucalyptusCloud computing using Eucalyptus
Cloud computing using Eucalyptus
 
Distributed Computing system
Distributed Computing system Distributed Computing system
Distributed Computing system
 
Virtualization in cloud computing
Virtualization in cloud computingVirtualization in cloud computing
Virtualization in cloud computing
 
NGINX: High Performance Load Balancing
NGINX: High Performance Load BalancingNGINX: High Performance Load Balancing
NGINX: High Performance Load Balancing
 
Workgroup vs domain
Workgroup vs domainWorkgroup vs domain
Workgroup vs domain
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 

Destaque

GNS3- A Brief User Guide
GNS3- A Brief User GuideGNS3- A Brief User Guide
GNS3- A Brief User Guide1Pv6_Zahra
 
Bao cao thuc tap static route
Bao cao thuc tap static routeBao cao thuc tap static route
Bao cao thuc tap static routeTranQuangChien
 
Báo cáo cuối kì (nguyễn phượng nhung)
Báo cáo cuối kì (nguyễn phượng nhung)Báo cáo cuối kì (nguyễn phượng nhung)
Báo cáo cuối kì (nguyễn phượng nhung)Nhung Nguyễn
 
SQL Sever 2012: Going Beyond the Data
SQL Sever 2012: Going Beyond the DataSQL Sever 2012: Going Beyond the Data
SQL Sever 2012: Going Beyond the DataJennifer Stevenson
 
[Báo cáo Thực tập Athena] Nghiên cứu cơ chế routing của Cisco, mô phỏng trên ...
[Báo cáo Thực tập Athena] Nghiên cứu cơ chế routing của Cisco, mô phỏng trên ...[Báo cáo Thực tập Athena] Nghiên cứu cơ chế routing của Cisco, mô phỏng trên ...
[Báo cáo Thực tập Athena] Nghiên cứu cơ chế routing của Cisco, mô phỏng trên ...Phan Hữu Linh
 
Router Virtualization With GNS3
Router Virtualization With GNS3Router Virtualization With GNS3
Router Virtualization With GNS3mrmouse
 
Sql 2012 development and programming
Sql 2012  development and programmingSql 2012  development and programming
Sql 2012 development and programmingLearnNowOnline
 
Services of GNS company
Services of GNS companyServices of GNS company
Services of GNS companyAndrei Groodiy
 
インフラ屋の友:Tera Term
インフラ屋の友:Tera Termインフラ屋の友:Tera Term
インフラ屋の友:Tera Termnetopscoding
 
konfigurasi mikrotik router
konfigurasi mikrotik routerkonfigurasi mikrotik router
konfigurasi mikrotik routeryusri9908
 
Targeting Android with Qt
Targeting Android with QtTargeting Android with Qt
Targeting Android with QtEspen Riskedal
 
Cisco Packet Tracer Overview 20 Jul09
Cisco Packet Tracer Overview 20 Jul09Cisco Packet Tracer Overview 20 Jul09
Cisco Packet Tracer Overview 20 Jul09Tumennast Erdenebold
 
Contiki introduction I.
Contiki introduction I.Contiki introduction I.
Contiki introduction I.Dingxin Xu
 
How to Make Your Qt App Look Native
How to Make Your Qt App Look NativeHow to Make Your Qt App Look Native
How to Make Your Qt App Look Nativeaccount inactive
 

Destaque (20)

GNS3- A Brief User Guide
GNS3- A Brief User GuideGNS3- A Brief User Guide
GNS3- A Brief User Guide
 
Gns3
Gns3Gns3
Gns3
 
Bao cao thuc tap static route
Bao cao thuc tap static routeBao cao thuc tap static route
Bao cao thuc tap static route
 
Báo cáo cuối kì (nguyễn phượng nhung)
Báo cáo cuối kì (nguyễn phượng nhung)Báo cáo cuối kì (nguyễn phượng nhung)
Báo cáo cuối kì (nguyễn phượng nhung)
 
72
7272
72
 
SQL Sever 2012: Going Beyond the Data
SQL Sever 2012: Going Beyond the DataSQL Sever 2012: Going Beyond the Data
SQL Sever 2012: Going Beyond the Data
 
GNS3
GNS3GNS3
GNS3
 
[Báo cáo Thực tập Athena] Nghiên cứu cơ chế routing của Cisco, mô phỏng trên ...
[Báo cáo Thực tập Athena] Nghiên cứu cơ chế routing của Cisco, mô phỏng trên ...[Báo cáo Thực tập Athena] Nghiên cứu cơ chế routing của Cisco, mô phỏng trên ...
[Báo cáo Thực tập Athena] Nghiên cứu cơ chế routing của Cisco, mô phỏng trên ...
 
Router Virtualization With GNS3
Router Virtualization With GNS3Router Virtualization With GNS3
Router Virtualization With GNS3
 
Sql 2012 development and programming
Sql 2012  development and programmingSql 2012  development and programming
Sql 2012 development and programming
 
Services of GNS company
Services of GNS companyServices of GNS company
Services of GNS company
 
インフラ屋の友:Tera Term
インフラ屋の友:Tera Termインフラ屋の友:Tera Term
インフラ屋の友:Tera Term
 
konfigurasi mikrotik router
konfigurasi mikrotik routerkonfigurasi mikrotik router
konfigurasi mikrotik router
 
Programming in c++
Programming in c++Programming in c++
Programming in c++
 
Targeting Android with Qt
Targeting Android with QtTargeting Android with Qt
Targeting Android with Qt
 
Opnet simulator
Opnet simulatorOpnet simulator
Opnet simulator
 
Cisco Packet Tracer Overview 20 Jul09
Cisco Packet Tracer Overview 20 Jul09Cisco Packet Tracer Overview 20 Jul09
Cisco Packet Tracer Overview 20 Jul09
 
Contiki introduction I.
Contiki introduction I.Contiki introduction I.
Contiki introduction I.
 
opnet
opnetopnet
opnet
 
How to Make Your Qt App Look Native
How to Make Your Qt App Look NativeHow to Make Your Qt App Look Native
How to Make Your Qt App Look Native
 

Semelhante a Gns3

Learning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation ProgramLearning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation ProgramI Putu Hariyadi
 
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)The Linux Foundation
 
HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentationHiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentationVEDLIoT Project
 
26.1.7 lab snort and firewall rules
26.1.7 lab   snort and firewall rules26.1.7 lab   snort and firewall rules
26.1.7 lab snort and firewall rulesFreddy Buenaño
 
2014/09/02 Cisco UCS HPC @ ANL
2014/09/02 Cisco UCS HPC @ ANL2014/09/02 Cisco UCS HPC @ ANL
2014/09/02 Cisco UCS HPC @ ANLdgoodell
 
Distributech_Presentation DTECH_2013
Distributech_Presentation DTECH_2013Distributech_Presentation DTECH_2013
Distributech_Presentation DTECH_2013Dorian Hernandez
 
Case study for it03 roshan
Case study for it03 roshanCase study for it03 roshan
Case study for it03 roshanrosu555
 
NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)Ryo ONODERA
 
QNAP for IoT
QNAP for IoTQNAP for IoT
QNAP for IoTqnapivan
 
basic mikrotikbasic mikrotikbasic mikrotik.pdf
basic mikrotikbasic mikrotikbasic mikrotik.pdfbasic mikrotikbasic mikrotikbasic mikrotik.pdf
basic mikrotikbasic mikrotikbasic mikrotik.pdfArif293146
 
DPDK: Multi Architecture High Performance Packet Processing
DPDK: Multi Architecture High Performance Packet ProcessingDPDK: Multi Architecture High Performance Packet Processing
DPDK: Multi Architecture High Performance Packet ProcessingMichelle Holley
 
This one goes to 11!
This one goes to 11!This one goes to 11!
This one goes to 11!APNIC
 
Linux container & docker
Linux container & dockerLinux container & docker
Linux container & dockerejlp12
 
SDVIs and In-Situ Visualization on TACC's Stampede
SDVIs and In-Situ Visualization on TACC's StampedeSDVIs and In-Situ Visualization on TACC's Stampede
SDVIs and In-Situ Visualization on TACC's StampedeIntel® Software
 
Squid proxy server
Squid proxy serverSquid proxy server
Squid proxy serverGreen Jb
 
NCS: NEtwork Control System Hands-on Labs
NCS:  NEtwork Control System Hands-on Labs NCS:  NEtwork Control System Hands-on Labs
NCS: NEtwork Control System Hands-on Labs Cisco Canada
 

Semelhante a Gns3 (20)

Learning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation ProgramLearning Computer Network Through Network Simulation Program
Learning Computer Network Through Network Simulation Program
 
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
 
RISC V in Spacer
RISC V in SpacerRISC V in Spacer
RISC V in Spacer
 
Interview Questions
Interview QuestionsInterview Questions
Interview Questions
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentationHiPEAC Computing Systems Week 2022_Mario Porrmann presentation
HiPEAC Computing Systems Week 2022_Mario Porrmann presentation
 
LSA2 - 02 Namespaces
LSA2 - 02  NamespacesLSA2 - 02  Namespaces
LSA2 - 02 Namespaces
 
26.1.7 lab snort and firewall rules
26.1.7 lab   snort and firewall rules26.1.7 lab   snort and firewall rules
26.1.7 lab snort and firewall rules
 
2014/09/02 Cisco UCS HPC @ ANL
2014/09/02 Cisco UCS HPC @ ANL2014/09/02 Cisco UCS HPC @ ANL
2014/09/02 Cisco UCS HPC @ ANL
 
Distributech_Presentation DTECH_2013
Distributech_Presentation DTECH_2013Distributech_Presentation DTECH_2013
Distributech_Presentation DTECH_2013
 
Case study for it03 roshan
Case study for it03 roshanCase study for it03 roshan
Case study for it03 roshan
 
NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)
 
QNAP for IoT
QNAP for IoTQNAP for IoT
QNAP for IoT
 
basic mikrotikbasic mikrotikbasic mikrotik.pdf
basic mikrotikbasic mikrotikbasic mikrotik.pdfbasic mikrotikbasic mikrotikbasic mikrotik.pdf
basic mikrotikbasic mikrotikbasic mikrotik.pdf
 
DPDK: Multi Architecture High Performance Packet Processing
DPDK: Multi Architecture High Performance Packet ProcessingDPDK: Multi Architecture High Performance Packet Processing
DPDK: Multi Architecture High Performance Packet Processing
 
This one goes to 11!
This one goes to 11!This one goes to 11!
This one goes to 11!
 
Linux container & docker
Linux container & dockerLinux container & docker
Linux container & docker
 
SDVIs and In-Situ Visualization on TACC's Stampede
SDVIs and In-Situ Visualization on TACC's StampedeSDVIs and In-Situ Visualization on TACC's Stampede
SDVIs and In-Situ Visualization on TACC's Stampede
 
Squid proxy server
Squid proxy serverSquid proxy server
Squid proxy server
 
NCS: NEtwork Control System Hands-on Labs
NCS:  NEtwork Control System Hands-on Labs NCS:  NEtwork Control System Hands-on Labs
NCS: NEtwork Control System Hands-on Labs
 

Gns3

  • 2. 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.
  • 3. 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. Dynamips is the core program that allows IOS emulation. GNS3 runs on top of Dynamips to create a more user friendly, graphical environment.
  • 4. Dynamips Dynamips is a software that emulates Cisco IOS on a traditional PC. It has been made by Christophe Fillot who started his work in August 2005. The last official release of Dynamips supports Cisco 7200, 3600 series (3620, 3640 and 3660), 3700 series (3725, 3745), 2600 series (2610 to 2650XM, 2691) and 1700 series. It is very popular with people studying for CCNA (Cisco Certified Network Associate), CCNP (Cisco Certified Network Professional) and CCIE (Cisco Certified Internetwork Expert) certification exams.
  • 5. Dynagen Dynagen is a front-end for use with the Dynamips Cisco router emulator. It uses an INI-like configuration file to provision Dynamips emulator networks. It takes care of specifying the right port adapters, generating and Dynagen matching up those pesky NIO descriptors, specifying bridges, frame-relay, ATM switches, etc. It also provides a management CLI for listing devices, suspending and reloading instances, determining and managing idle-pc values, performing packet captures, etc.
  • 6. GNS3 also supports other emulation programs, namely Qemu, Pemu and VirtualBox. These softwares are used to emulate Cisco ASA and PIX firewalls, Cisco IPS, Juniper routers as well as hosts (Linux, Windows, Mac OS X, FreeBSD etc.) GNS3 makes all of this emulation magic work together and allow you, for instance, to have your Cisco router talking to your Linux host. The possibilities are almost endless!
  • 7. Step 1 – Install GNS3 Download program http://www.gns3.net/ Download IOS for your router,ipx,etc.. From the internet
  • 8. Step 2 – Install GNS3
  • 9. Step 3 – Defining Cisco IOS files
  • 13. Add Wic The 1-port serial WAN interface card (WIC-1T) provides serial connections to remote sites or legacy serial network devices such as Synchronous Data Link Control (SDLC) concentrators WIC cards WIC-1T (1 serial port) WIC-2T (2 serial ports)
  • 14. ADD NM Network Modules NM-1E (1 Ethernet port) NM-4E (4 Ethernet ports) NM-1FE-TX (1 FastEthernet port) NM-16ESW (switch module: 16 FastEthernet ports)
  • 15. Control IOS image for routers Edit >IOS images and hypervisor>
  • 16. 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
  • 17. 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.
  • 18. 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)
  • 20. Using terminal programs with GNS3 The current preconfigurated terminal commands are: Putty (Windows 64 bits) Putty (Windows 32 bits) Putty (Windows, included with GNS3) 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)
  • 21. Connecting GNS3 to Real Networks Right-click the Cloud and choose Configure. Click on C1 under Clouds, but choose the NIO Ethernet tab
  • 22. Memory Usage The Ghostios option can significantly reduce the amount of real host RAM needed for labs with multiple routers running the same IOS image The “sparsemem” feature does not conserve real memory, but instead reduces the amount of virtual memory used by your router instances
  • 23. 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.
  • 24. Packet Capture R.Click on link Choose Source
  • 29. Good websites www.gns3.net/ http://www.gns3-labs.com/ gns3-labs https://www.youtube.com/user/GNS3Vault/videos 300 Learning vedio