Router Virtualization With GNS3

4,019 views

Published on

Router Virtualization With GNS3

1 Comment
8 Likes
Statistics
Notes
No Downloads
Views
Total views
4,019
On SlideShare
0
From Embeds
0
Number of Embeds
1,110
Actions
Shares
0
Downloads
0
Comments
1
Likes
8
Embeds 0
No embeds

No notes for slide

Router Virtualization With GNS3

  1. 1. Router Virtualization with GNS3 (graphical network simulator) Steven Glogger <steven.glogger@swisscom.com>
  2. 2. Topic 2 14.08.2009 • Introduction / What is GNS3? – What is GNS3, History, Features GNS3 (Steven Glogger, steven.glogger@swisscom.com) – Preview / Demo • Installation • Configuration • Some Words about… – IOS upgrades – Switching • First Steps • Sni ng • Q&A
  3. 3. Introduction (1/5) 3 14.08.2009 • What is GNS3? – „GNS3 is a graphical network simulator and an excellent GNS3 (Steven Glogger, steven.glogger@swisscom.com) complementary tool to real labs for administrators of Cisco networks or people wanting to pass their CCNA, CCNP, CCIP or CCIE certifications„ – Just use GNS3 to simulate, test, train… whatever you want • Technical dependencies / Wording: – GNS3 = GUI – Dynamips = Emulator for IOS – Dynagen = Frontend for Dynamips – Pemu = Cisco PIX firewall emulator based on Qemu – (Win)Pcap = Packet Capture Library (Driver for Sni er) – Wireshark (old name: ethereal) = Network Sni er
  4. 4. Introduction (2/5) 4 14.08.2009 • History – Christophe Fillot started in august 2005 a project to simulate Cisco GNS3 (Steven Glogger, steven.glogger@swisscom.com) 7200 on PC‘s. – Now supports Cisco 3600 series (3620, 3640 and 3660), 3700 series (3725, 3745) and 2600 series (2610 to 2650XM, 2691) – Performance: 1kpps (vs 100kpps on NPE-100)
  5. 5. Introduction (3/5) 5 14.08.2009 • Features – Design of high quality and complex network topologies. GNS3 (Steven Glogger, steven.glogger@swisscom.com) – Emulation of many Cisco router platforms and PIX firewalls. – Simulation of simple Ethernet, ATM and Frame Relay switches. – Connection of the simulated network to the real world! – Packet capture using Wireshark • Supported OS: – Windows – Unix / Linux / FreeBSD – Mac OS X • Supported Devices: – Cisco 1700, 2600, 3600, 3700, and 7200 series + WIC‘s – Switching: Sorry, not possible. Simple switch is available. For complex stu NM-16ESW module in a touter
  6. 6. Introduction (4/5) – Supported Cards 6 14.08.2009 THIS LIST IS INCOMPLETE ,-) • The following Cisco 7200 Port Adapters (PA) are currently supported: – FastEthernet cards "C7200-IO-FE" and "PA-FE-TX" based on DEC21140 chip – FastEthernet cards "C7200-IO-2FE" and "PA-2FE-TX" based on Intel i8254x chips GNS3 (Steven Glogger, steven.glogger@swisscom.com) – GigabitEthernet cards "C7200-IO-GE-E" and "PA-GE" based on Intel i8254x chips – Ethernet cards "PA-4E" and "PA-8E" based on AMD Am79c97x chips – ATM card "PA-A1" based on Texas Instruments Tneta1570 chip – Serial cards "PA-4T+" and "PA-8T" – POS (Packet over Sonet) card "PA-POS-OC3" (experimental, only works with recent IOS images) • The following Cisco 3600 (3620,3640,3660) Network Modules (NM) are currently supported: – Ethernet cards: "NM-1E", "NM-4E" and "NM-1FE-TX", all based on AMD Am79c97x chips – Ethernet switching module: "NM-16ESW" – Serial card "NM-4T" • The following Cisco 2691/3725/3745 Network Modules (NM) are currently supported: – FastEthernet cards: "NM-1FE-TX" – Ethernet switching module: "NM-16ESW" – Serial card "NM-4T" – Serial Cards: WIC-1T, WIC-2T • The following Cisco 2600 Network Modules (NM) are currently supported: – Ethernet cards: "NM-1E", "NM-4E" and "NM-1FE-TX" – Ethernet switching module: "NM-16ESW" – Serial Cards: WIC-1T, WIC-2T • The following Cisco 1700 Network Modules (NM) are currently supported: – Serial Cards: WIC-1T, WIC-2T and WIC-1ENET
  7. 7. Introduction (5/5) – Some Screenshots 7 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009
  8. 8. Demo: How to work with it 8 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009
  9. 9. Installation (1/2) – GNS3 9 14.08.2009 • Use the distributed CD‘s to install. • Bad News = Administrator Priviledges are required (dynamips depends GNS3 (Steven Glogger, steven.glogger@swisscom.com) on pcap)
  10. 10. Installation (2/2) - Wireshark 10 14.08.2009 • Use the distributed CD‘s to install. • Bad News = Administrator Priviledges are required (again pcap) GNS3 (Steven Glogger, steven.glogger@swisscom.com)
  11. 11. • Click on „1“ • Start GNS3 ,-) First Run (1/3) 11 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009
  12. 12. First Run (2/3) 12 14.08.2009 • Open Explorer: Copy IOS from CD somewhere on disk • Click on „2“ Choose ‚uncompressed‘ GNS3 (Steven Glogger, steven.glogger@swisscom.com) c7200-adventerprisek9-mz.124-22.T1.bin.unpacked
  13. 13. First Run (3/3) 13 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009
  14. 14. • Problem: CPU=100% First Run – CPU (idle_pc) (1/3) 14 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009
  15. 15. First Run – CPU (idle_pc) (2/3) 15 14.08.2009 • Solution: – Put a single router in Topology GNS3 (Steven Glogger, steven.glogger@swisscom.com) – Start it – Wait until it has booted Login – GNS3: Right mouse click Idle PC – Choose value with *
  16. 16. First Run – CPU (idle_pc) (3/3) 16 14.08.2009 • Another must: – If the router logs you out CPU = 100% GNS3 (Steven Glogger, steven.glogger@swisscom.com) Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#line con 0 Router(config-line)#no exec-timeout
  17. 17. First Run – Words about… 17 14.08.2009 • Switching: – Cannot be simulated. Simple Switch. Or: NM-16ESW GNS3 (Steven Glogger, steven.glogger@swisscom.com) • Always start with „New Project“ • IOS Upgrade: edit .net file and restart. copy tftp whatever is not working.
  18. 18. Demo: How to work with it 18 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009
  19. 19. Sni ng • Easy! Click on a Link Capture 19 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009
  20. 20. Building a simple Topology 20 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009
  21. 21. Building some Complex Topology 21 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009
  22. 22. Further Links 22 14.08.2009 • GNS3: http://www.gns3.net – Documentation & Tutorials: http://www.gns3.net/documentation – GNS3 LiveCD: http://www.gns3-labs.com GNS3 (Steven Glogger, steven.glogger@swisscom.com) • Dynagen: http://dynagen.org/ • Dynamips: http://www.ipflow.utc.fr/blog/ – Wiki: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator – Forum: http://7200emu.hacki.at/ • WinPcap: http://www.winpcap.org/ • Wireshark: http://www.wireshark.org/ • Virtual PC Simulator: http://wiki.freecode.com.cn/doku.php?id=wiki:vpcs – http://7200emu.hacki.at/viewtopic.php?t=4201&sid=59ef9b9cc664d8e26445ce368f560901 – http://7200emu.hacki.at/viewtopic.php?t=5982&highlight=vpcs
  23. 23. Questions? 23 GNS3 (Steven Glogger, steven.glogger@swisscom.com) 14.08.2009

×