Search This Blog

Wednesday, March 24, 2010

New technology for programming routers from cisco

For the fellow students in class who are having as much fun as I am. Maybe this will new emulater from Cisco will help you.

TechRepublic : A ZDNet Tech Community

* Log in
* Get a free membership

* My Workspace
* My Newsletters

* Blogs
* Downloads
* Forums
* Photos
* Videos
* Webcasts
* White Papers
* Software
* Training
* Store

Network Administrator

* Subscribe
* Alerts
* Mobile

Host: Selena Frye
Contact
Practice Cisco router configuration using a free emulator

* Date: January 10th, 2008
* Author: David Davis
* Category: System Administration, network tools, router configuration
* Tags: Cisco IOS, Cisco Router, Router, Cisco Systems Inc., Emulator, Dynagen, Routers & Switches, Network Technology, Networking, David Davis
*

27 comment(s)

* Email
* Save
* Share
o Digg
o Yahoo! Buzz
o Twitter
o Facebook
o Google
o del.icio.us
o StumbleUpon
o Reddit
o Newsvine
o Technorati
o LinkedIn
* Print
* Recommend
*
82

A few months ago, I wrote “Eight ways to strengthen your Cisco networking skills,” and the second suggestion I listed for improving your abilities was to use a simulator. However, while simulators are useful, there’s something even better that you can get for free — an emulator.

What’s the difference? A simulator attempts to re-create the Cisco IOS using a programming language, but an emulator takes the real IOS router code, which you supply, and emulates the hardware behind it so you can run the real IOS on your PC.

With a simulator, there are always missing commands and programming errors, and it can never really be as complete as the real IOS. However, because an emulator runs the IOS, you get every feature that the real IOS has (based on the limitations of the emulated hardware, of course).

For example, if your emulated hardware has a Gig Ethernet interface, and the IOS supports a Gig Ethernet interface on that platform, then you can use the Gig Ethernet interface. If, however, your emulated hardware doesn’t have a VoIP FXS card, then you wouldn’t be able to configure one in the Cisco IOS, even if the IOS supported it.
What is Dynamips?

You can use the Dynamips Emulator for training purposes and testing configurations. You can create configurations and later deploy them to real routers. The Dynamips Emulator can boot IOS images from 7200, 3600, 3700, and 2600 series routers, even including the latest and greatest 12.4T IOS (something that my old 2600 router can’t do because it doesn’t have enough RAM).

One caveat is that you must supply the IOS for any router that you’re going to emulate. It is, of course, illegal to distribute the IOS and only legal to obtain it by purchasing and downloading it from Cisco. However, if you already have a router that’s one of these models, you can copy that IOS into the Dynamips Emulator for testing and training purposes.
What is Dynagen?

Dynagen is the text-based front end for the Dynamips Emulator. It allows you to automatically provision Dynamips-emulated networks. It has a large following, supported through 7200emu.hacki.at Forum for Dynamips & Dynagen.

Now, as much as I like using Dynamips and Dynagen together, their configuration can be challenging for new users to understand. However, a package called GNS3 helps make it easier.
What is the Graphical Network Simulator?

A new open source project that helps improve on Dynamips is the Graphical Network Simulator (GNS). Linked to Dynamips and Dynagen, GNS3 is available precompiled for Windows, and the source is available if you want to run it on Linux or Mac OS X.

The GNS3 Windows all-in-one installation package includes Dynamips, WinPCAP, and GNS3. Let’s walk through installing and using GNS3.

First, I downloaded the GNS3 Windows all-in-one package and installed it. To install WinPCAP, I did have to reboot my PC. Once installed, I ran GNS3 from the desktop icon the installation process created.

This brought up a nice GUI interface that was similar to some of the Cisco IOS simulators I’ve seen. I was able to quickly create a sample network by dragging and dropping router icons and then connecting them with the Connection tool. Figure A offers a screenshot of what it looked like.

Figure A

Figure A

After creating the network, I did have to add my IOS images because GNS3 didn’t provide them. To add IOS images, go to Edit | IOS Images and Hypervisors. Figure B shows a screenshot of what it looked like after I finished.

Figure B

Figure B

Next, I started the Dynamips Emulator by go to Preferences | Dynamips and clicking Test. Figure C offers a screenshot.

Figure C

Figure C

From here, I could configure the specifications for the router — amount of RAM, Flash, cards in slots, and configuration-register. Next, to use the network, click the Emulation Mode button.

Once in Emulation Mode, click the Play button to start the IOS instances of all routers. Figure D offers a screenshot.

Figure D

Figure D

This launches a console for each router, and it boots up the routers, as shown in Figure E.

Figure E

Figure E

As you can see, just like a real test lab with multiple routers, I was able to configure these two routers to communicate with each other by configuring IP addressing, enabling the interfaces, and configuring a routing protocol. Figure F shows how I configured basic RIP routing and how the router received a RIP route from the other router.

Figure F

Figure F

While I recommend building your own lab so you can get a better understanding of how it works, there are also some sample labs available when you install Dynagen. I’ve also seen some sample labs and an entire CCIE commercial lab workbook, all based on using Dynamips, on the Internetwork Expert Web site.
Conclusion

The ability to run multiple routers inside your PC is very useful for testing and training. It can save you the time and trouble from having to invest in a test Cisco network, and it certainly makes it more convenient. I hope that by trying and using GNS and Dynamips, you can become a better Cisco network administrator.

Want to learn more about router and switch management? Automatically sign up for our free Cisco Routers and Switches newsletter, delivered each Friday!

David DavisDavid Davis has worked in the IT industry for 15+ years and holds several certifications, including CCIE, CCNA, CCNP, MCSE, CISSP, VCP. He has authored hundreds of articles and numerous IT training videos. Today, David is the Director of Infrastructure at Train Signal.com. Train Signal, Inc. is the global leader in video training for IT Professionals and end users. Read his full bio and profile.

* « Previous Post
* Next Post »

People who read this, also read...

* Eight ways to strengthen your Cisco networking skills
* Three network tools I couldn't live without
* What you need to know about Cisco's CCNA certification
* 10 dumb things you can do to your Cisco router and how to fix them
* Five Cisco IOS tips to make you more efficient

Print/View all Posts Comments on this blog
Great Information mmantei@... | 01/11/08
A great tool avila_mj@... | 01/11/08
you are right..... trustmubaiwa@... | 01/14/08
How to install it? dion2herrera@... | 02/19/08
GNS3 install and configure Mdallen70@... | 03/09/08
Resource Management CrimsonPaw | 01/11/08
Idle Values LievenV | 01/13/08
Re: Idle Values CrimsonPaw | 01/18/08
Idle Pc Values ktaisia@... | 07/09/08
Packet Tracer 4.1 Exp | 01/12/08
Great ! adewalexdavid@... | 01/13/08
Try Packet Tracer 5 larrsland@... | 02/27/09
RE: Practice Cisco router configuration using a free emulator tomtomtom@... | 01/24/08
RE: Practice Cisco router configuration using a free emulator James Jelinek | 01/26/08
RE: Practice Cisco router configuration using a free emulator bkerwood@... | 02/07/08
RE: Practice Cisco router configuration using a free emulator amit.k.raja@... | 03/05/08
RE: Practice Cisco router configuration using a free emulator flexer4real@... | 03/07/08
RE: Practice Cisco router configuration using a free emulator biswas_sai@... | 03/15/08
GNS Video Tutorials tmsheikh@... | 06/26/08
Videos and configs for GNS3 lbsources@... | 09/26/08
RE: Practice Cisco router configuration using a free emulator daniel@... | 10/12/08
RE: Practice Cisco router configuration using a free emulator yokyle@... | 11/25/08
Cisco System's Edge Quest 2 Tournament Info kenneth.cho@... | 02/19/09
RE: Practice Cisco router configuration using a free emulator Mostina | 08/12/09
RE: Practice Cisco router configuration using a free emulator sh.dileep.kr88@... | 08/19/09
how to config an router madhanram | 02/11/10
how to config an router madhanram | 02/11/10
What do you think?
Alert me when new posts are added Add Comment
advertisement
White Papers, Webcasts, and Downloads

* Live Webcast: Oracle Business Intelligence for Midsize Companies: More Than Just Pretty Dashboards Oracle Oracle's Business Intelligence solutions are widely recognized as market ... Download Now
* Qwest Network Services for Healthcare Providers Qwest Communications Demands for improved quality care and increased satisfaction require a ... Download Now
* Webinar: Best Practices for Windows 7 Application Compatibility Flexera Software Are your business-critical applications compatible with Windows� 7? Join ... Download Now

Recent Entries

* TeamViewer: Secure remote access and a lot more
* Unlock your Linksys router’s potential with new firmware
* Pano Logic: Virtual desktops offer zero-client solution
* Network icons for Active Directory domains with Group Policy
* Getting ready for Microsoft Exchange 2010: Cover all the bases

TR on Twitter
Top Rated

* Fix slow workstations with this tune-up checklist+39 votes
* Nuts about Nets: Wi-Fi diagnostic tools with a difference+32 votes
* Ethernet over power lines: Netgear makes major improvements+24 votes
* Unlock your Linksys router's potential with new firmware+20 votes
* Secret agents: Make SNMP work for you+18 votes
* Building a robust test-lab at home with virtualization+17 votes
* How nanotechnology helps Bluetooth and Wi-Fi work together+15 votes
* QualysGuard Malware Detection allows free Web site scanning+15 votes

Archives

* March 2010
* February 2010
* January 2010
* December 2009
* November 2009
* October 2009
* September 2009
* August 2009
* July 2009
* June 2009
* May 2009
* April 2009
* March 2009
* February 2009
* January 2009
* December 2008
* November 2008
* October 2008
* September 2008
* August 2008
* July 2008
* June 2008
* May 2008
* April 2008
* March 2008
* February 2008
* January 2008
* December 2007
* November 2007
* October 2007
* September 2007
* August 2007
* July 2007
* June 2007
* May 2007
* April 2007
* March 2007
* February 2007
* January 2007
* December 2006
* November 2006
* October 2006
* September 2006
* August 2006
* July 2006
* June 2006
* May 2006
* April 2006
* March 2006
* February 2006
* January 2006
* December 2005
* November 2005
* October 2005

TechRepublic Blogs

* 10 Things
* Career Management
* Geekend
* IT Consultant
* IT Leadership
* IT Security
* Linux and Open Source
* Macs in Business
* Microsoft Office

* Microsoft Windows
* Network Administrator
* Product Spotlight
* Programming and Development
* Servers and Storage
* Smartphones
* Tech Sanity Check
* TechRepublic Out Loud
* TR Dojo

advertisement

IT Professional's Guide to Policies and Procedures, Third Ed
Whether you're creating policies for management, training, personnel, support, privacy, Internet/e-mail usage, security, or inventory, you'll meet the needs of your entire enterprise with this one download!
Buy Now

IT Manager's Tool Kit, Third Edition
Proven peer-authored advice and over 30 templates cover a variety of management topics to help you overcome staffing, financial, disaster planning and other technology challenges.
Buy Now

* My Updates
* My Contacts

Would you like your own dynamic Workspace on TechRepublic?

Take two minutes and set up a TechRepublic member profile.
Would you like your own dynamic Workspace on TechRepublic?

Take two minutes and set up a TechRepublic member profile.

* A ZDNet brand Site Help & Feedback
*

Popular on CBS sites: College Signing Day | March Madness | TV | iPhone | Cell Phones | Video Game Reviews | Free Music
Visit other CBS Interactive Sites

About CBS Interactive | Jobs | Advertise | Mobile | Site Map

© 2010 CBS Interactive Inc. All rights reserved. | Privacy Policy (updated) | Terms of Use

Boost Business Productivity

* Do you get the most business functionality out of your smartphone? From prepping for your next presentation to taking notes on the go, find out how the right mobile apps can help you reach new levels of productivity. Top Mobile Apps for Business Users
* Freedom, now free. BlackBerry ® Enterprise Server Express Get the liberating power of the world-class BlackBerry experience-like full email and calendar sync-for free. Learn More
*

No comments:

Post a Comment