Of all the features of gns3 the one i like is to be able to include my real PC in the topology I created. Lets see how we can do this:

Prereq: You have to run gns3 as Administrator for this. How? type 'gns3' in the windows start menu bar, right click on the 'gns3' program, and then 'Run as administrator.'
  • Now drag your router in the main window, right click on it start it, then right click choose console. keep it like that.
  • In the gns3 main window, click edit, symbol manager, from 'availabe symbols' select computer and click on the '>' the right arrow button. Now on the top right of the symbol manager type name as 'computer' and SELECT TYPE AS 'CLOUD' from the drop down list, then click OK. you should see this computer symbol in the left panel of gns3 main window.
  • Drag that computer into the work space, right click on it, choose configure, select 'c0'( this may be c1 or c2 .... ) under the clouds section.
  • OK now you should see bunch of tabs, first one is 'NIO ethernet'. In this tab, under "Generic ethernet NIO.. bla bla" choose your network adapter and then click on ADD, Apply, OK.
Note: If you have only one network adapter you're fine. But if you have more than one like on my laptop( wireless and lan) you wanna make sure you chose the one that is active.

OK now your router and your real PC is in the picture, lets connect them and test communication:
  • In the router console lets configure any of the fastethernet ports first.
  1. router>enable
  2. router#configure terminal
  3. router(config)#interface fastethernet 0/0
  4. router(config-if)#no shutdown
  5. router(config-if)#ip address
  6. NOTE:choose an ip address that would be in the same network as your pc. ex: my pc has
Alright, the ethernet is interface is ready on the router and the active network adapter on your pc is ready, now we need a ethernet cable to connect these two.
  • click on 'add a link' button on the top front panel, choose manual.
  • Now click on the router, it displays a list availabe interfaces, we've configured fastethernet 0/0 so lets choose f0/0.
  • Click on the computer, it will show the only availabe interface which is your network adaptor. so, choose that and we are done with connecting the router to your real pc.
Lets check if the connection is working:
  • In the command prompt
  • C:\>ping

    Pinging with 32 bytes of data:
    Reply from bytes=32 time=63ms TTL=255
    Reply from bytes=32 time=22ms TTL=255
    Reply from bytes=32 time=2ms TTL=255
    Reply from bytes=32 time=2ms TTL=255

    Ping statistics for
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 2ms, Maximum = 63ms, Average = 22ms

  • In the telnet console of your router do the same
  • Router#ping

    Sending 5, 100-byte ICMP Echos to, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 4/21/40 ms

OK... so that shows we achieved what we wanted! Have fun.
Posted by Freeman On 1:59 PM
Stumble ThisFav This With TechnoratiAdd To Del.icio.usDigg ThisAdd To RedditAdd To FacebookAdd To Yahoo

0 Response to "Connect your real PC into gns3 topology"

Post a Comment

Blog Archive

Related Posts with Thumbnails


HTML hit counter - Quick-counter.net
Copyright 2009 - tips .. come on in. Protected by Copyscape plagiarism checker - duplicate content and unique article detection software. Designed by Gaganpreet Singh