480 likes | 627 Views
Special Project . Group 03 Chintan Shah Nisharg Patel Cynthia York. AIM.
E N D
Special Project Group 03 Chintan Shah Nisharg Patel CynthiaYork
AIM • Download the graphical network simulator application GNS3 (http://www.gns3.net) to your notebook computer and configure GNS3 to simulate a network containing the following items connected in series: computer, switch, router, router, switch, and computer. Show that you have network connectivity by running tracert between the two computers at opposite ends of the network.
Overview This presentation describes all you need to know to simulate an internetwork on your own PC. We will cover the following topics: • The software required and where to get it • The installation and configuration of each piece of software and helpful hints along the way. • The integration of the software • The creation of an internetwork • Live demonstration of a GNS3 internetwork
Required Software • GNS3 • VPCS and cygwin.dll • Cisco IOS Image • Cisco Image Unpacker
GNS3 • Download both the GNS3 all-in-one package from http://www.gns3.net/download/:
VPCS (Virtual PC Simulator) • Download a host simulator to create your two computers in GNS3 • If you only need ping and trace route capabilities, download VPCS (Virtual PC simulator) from: http://sourceforge.net/projects/vpcs/files/0.5/beta/. • Note: You may also need the cygwin1.dll file saved to your Windows/System 32 directory.
Cisco IOS Image • Retrieve the Cisco IOS bin file from professor Gean’s web site: http://www.calstatela.edu/faculty/egean/cs447/cisco-bin-files/.
Download Cisco Image Unpacker • Down load the Cisco image unpacker from http://sourceforge.net/projects/gns-3/files/Cisco%20Image%20Unpacker/v0.1/Unpack-0.1_win.zip/download
Helpful Hint - Unpack Cisco IOS Image • Unpack the Cisco IOS bin file using the Unpacker software. The command is as follows: unpack.exe --format IOS path and bin file to unpack • Why? Your routers will boot more quickly.
Software Installation & Configuration • GNS3 Installation • GNS3 Configuration • GNS3 Helpful Hints • VPCS Configuration • VPCS Helpful Hints
GNS3 Installation • Launch the GNS3 executable and follow the instructions in the Setup Wizard
GNS3 Configuration • When you launch GNS3 for the first time a setup window appears:
GNS3 Configuration Step-1 • When you press Step 1 the Preferences window appears. On the General page enter your Images directory path and move your unpacked image file to that directory. Press OK.
GNS3 Configuration Step-2 • When you press Step 2 the Preferences window appears again. On the Dynamips page press the Test Settings button and wait a few seconds. You should receive the successful message shown below then press OK.
GNS3 Configuration Step-3 • When you press the Step 3 button the IOS images and hypervisors window appears. Set your Image file by navigating to the unpacked IOS image file that you placed in your Images directory. Press the Save button – we will configure the Idle PC a little later. Press the Close button.
GNS3 Helpful Hint – Check for Router Availability You should now be able to drag a router over to start building your network. • Select the router icon on the left rail and choose your router type:
GNS3 Helpful Hint - Set IDLE PC Value Why? This will reduce the resource burden placed on your PC when GNS3 is doing nothing. • Right click on your Router and select Idle PC. When the Idle PC values window comes up select a value with an asterisk next to it then click the OK button. • You can also rename the router by right clicking and selecting Change the hostname.
GNS3 Helpful Hint - Save Be sure to save your work!Why? So that you can load your project the next time you launch GNS3 • Before exiting GNS3 press the Save button at the top left 3rd over. • Then give your project a name and check the Save boxes. Press OK button then close GNS3.
VPCS Configuration • Always be sure GNS3 is shutdown before launching VPCS. • Then run the VPCS executable (in this case vpcs_0.5b0.exe).
VPCS Configuration - Continued • Steps : • Switch to VPCS5 by entering the number 5. Configure VPCS5’s IP address, subnet mask and default gateway using syntax below: Syntax : ip [IP address] [/mask] [Default gateway]
VPCS Configuration - Continued • Switch to VPCS7 by entering the number 7. Configure VPCS7’s IP address, default gateway and subnet mask as you did for VPCS5.
VPCS Helpful Hints - ? command • To view all the commands available in VPCS enter the ? command at the prompt:
VPCS Helpful Hints – show command • To see the configuration of all virtual PCs enter the show command:
To save your configuration use the save command and the name of the file to save it to. This will allow you to load your configuration the next time you launch VPCS. VPCS Helpful Hints – save/load commands
Integrating VPCS with GNS3 • Create & Use PC Symbols • Configure PC Symbols
Create & Use PC Symbols • Launch GNS3 and select Edit>Symbol manager. Under available symbols select Computer then press the right arrow (>). Once the computer is in the Customized nodes change the Name to PC and select Cloud for Type. Press Apply then OK buttons.
Create & Use PC Symbols - Continued • In the GNS3 Node Types column select Browse all devices. In the all devices column select the PC symbol you just created and drag two PCs to your network builder panel. You can right click the devices to change their host names.
Configure PC Symbols • Right click on PC5 and select Configure. In the Node configurator window select PC5 under Clouds then the NIO UDP tab. Under Settings set Local port to 30004, Remote host to 127.0.0.1 and Remote port to 20004 and press the Add button then OK.
Configure PC Symbols - Continued • Perform the same procedure for PC7 as described for PC5 except set Local port to 30006, Remote host to 127.0.0.1 and Remote port to 20006.
Building an Internetwork You already have a router and two PCs in your topology, but there is still more to do. In this section we will perform the following tasks: • Add Switches • Add/Configure Routers • Link Routers, Switches & PCs
Add Switches • Add two Ethernet switches to your topology by selecting the Switch icon on the left rail and choosing Ethernet switch from the list of Switches and dragging it to your topology.
Add/Configure Routers • Add another router by selecting the Router icon on the left rail then dragging your router type to your topology • Start your router by right clicking on it and selecting Start.
Add/Configure Routers - Continued • Configure router interface modules. • Configure your slots by right clicking on your router and selecting Configure. • Click on your router under Routers and select the Slots tab. Note: NM-4E is Network Module 4 port Ethernet module and WIC-2T is WAN Interface Card 2 port Serial module. Perform this same procedure for your other router.
Add/Configure Routers – Continued • Configure router ports by right clicking on the router and selecting Console
Add the serial interface address, set the clock rate and prevent the line from shutting down so as to connect the two routers together: Add/Configure Routers – Continued • Add the serial interface for your other router except using address 192.168.20.2 and do not set the clock rate. • Add Ethernet interface address and IP route for Router 3 to the network of the remote PC :
Add/Configure Routers – Continued • Add Ethernet interface address and IP route for Router 4 to the network of the remote PC :
Link Routers, Switches & PCs • Add a link between your routers by right clicking one of them and selecting Add a link. Next left click on your router and select the s0/0 interface from the dropdown. Now drag the link to your other router, click on that router and select the s0/0 interface from that dropdown. Perform this on your other components.
Live Demonstration Verify Connections Ping Packet Capture
Verify Connections • Verify the connection between the routers by pinging one from the other in their respective consoles. • Router3 > Router4 • Router4 > Router3
Verify Connections - Continued • Verify the connection between the PCs by pinging and tracing one from the other in their respective consoles. • PC5 > PC7
Verify Connections - Continued • PC7 > PC5
Ping Packet Capture • Right click on a link and select Start capturing. In the Capture window select HDLC.
Ping Packet Capture - Continued • WireShark will launch. Open Router3’s console and ping Router4.
Ping Packet Capture - Continued • You will see the ping requests and responses in WireShark.