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.
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.
- router>enable
- router#configure terminal
- router(config)#interface fastethernet 0/0
- router(config-if)#no shutdown
- router(config-if)#ip address 192.168.1.222 255.255.255.0
- NOTE:choose an ip address that would be in the same network as your pc. ex: my pc has 192.168.1.105
- 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.
- In the command prompt
- C:\>ping 192.168.1.222
Pinging 192.168.1.222 with 32 bytes of data:
Reply from 192.168.1.222: bytes=32 time=63ms TTL=255
Reply from 192.168.1.222: bytes=32 time=22ms TTL=255
Reply from 192.168.1.222: bytes=32 time=2ms TTL=255
Reply from 192.168.1.222: bytes=32 time=2ms TTL=255
Ping statistics for 192.168.1.222:
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 192.168.1.105
Sending 5, 100-byte ICMP Echos to 192.168.1.105, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/21/40 ms
Router#
OK... so that shows we achieved what we wanted! Have fun.
0 Response to "Connect your real PC into gns3 topology"
Post a Comment