Ubuntu
Introduction:
GNS3 is a graphical network simulator that is integrated with the Cisco router emulator Dynamips. In
this tutorial I will explain how to connect your Linux host to an emulated 7200 series router, then that
router to another 7200 router, and finally that second router will be connected to a Linux VM running
in VMware Server. In this lab environment we will also configure access control lists ( ACLs ),
Network Address Translation ( NAT ), and a site-to-site Internet Security Protocol Virtual Private
Network ( IPsec VPN ) tunnel between the two routers in Part 2.
Pre-Requists:
• VMware Server
• A Cisco 7200 router firmware image ( You will have to get this on your own, I don’t want to step on
Cisco’s copyright )
• This tutorial assumes the Linux host and the virtual machine are running Ubuntu 8.10
Getting Started:
1. Install GNS3: sudo apt-get install gns3 dynamips
2. Start GNS3 and follow the setup wizard, you will want to load the 7200 .bin files
3. Install VMware server: You will need to patch it see here ( http://ubuntu-
tutorials.com/2008/11/01/vmware-server-107-on-ubuntu-810-intrepid-2627-7-generic/ ) before
installing. Make sure to allow host-only networking ( You can chose to install all the different
networking options ).
4. Create a Ubuntu 8.10 VM with host only networking in VMware server.
Setting up our layout in GNS3:
1. Start gns3 as root: gksudo gns3
2. Create two Cisco 7200 by dragging the icon over from the left.
3. Right click each router, click on the slots tab, and change slot0 to C7200-IO-2FE and slot1 to PA-
2FETX ( this will give each router 4 Fast Ethernet interfaces ).
4. Right click each router and change the host names to lab1 and lab2.