Connecting GNS3 lab to the internet
[LEFT][CODE]http://xblain.blogspot.com/2010/02/connecting-gns3-lab-to-internet-part1.html[/CODE]
[FONT=Arial][COLOR=#0b5394]Connecting Cisco router to the internet[/COLOR][/FONT]
[FONT=Arial]Windows7\XP[/FONT]
[FONT=Arial]
[/FONT]
[FONT=Verdana]Hello in this tutorial I will explain how to connect your GNS3 lab to the internet.[/FONT]
[FONT=Verdana]The HOWTO contains two parts. First - [B]Connecting Cisco router to the internet[/B]. And second - [B][URL="http://xblain.blogspot.com/2010/02/connecting-gns3-lab-to-internet.html"]Connecting the emulated network to the internet[/URL][/B]. [/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]In our situation we would connect the whole emulated networks to the internet. To achieve this we will connect one of our routers to the internet and will then use NAT on this router to allow other emulated networks to get access outside.[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]My topology will looks like this:[/FONT]
[CENTER][URL="http://1.bp.blogspot.com/_in2ap2Bqp5E/S3nEq0GqznI/AAAAAAAABAA/JIxI95tb9Wg/s1600-h/topology.jpg"][IMG]http://1.bp.blogspot.com/_in2ap2Bqp5E/S3nEq0GqznI/AAAAAAAABAA/JIxI95tb9Wg/s400/topology.jpg[/IMG][/URL][/CENTER]
[FONT=Verdana][B]Windows7[/B] - The PC where the GNS3 installed and running[/FONT]
[FONT=Verdana][B]MSLoopbac[/B]k - Microsoft loopback adapter[/FONT]
[FONT=Verdana][B]Router[/B] - My real Edimax router[/FONT]
[FONT=Verdana][B]Inetrnet[/B] - Real internet[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]So here are the steps:[/FONT]
[FONT=Verdana]1.Create MSLoopback interface[/FONT]
[FONT=Verdana]2.Create Cloud connected to MSLoopback interface[/FONT]
[FONT=Verdana]3.Create Cisco router and connect it to the cloud[/FONT]
[FONT=Verdana]4.Test connectivity[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana][B][COLOR=#0b5394]Create MSLoopback interface[/COLOR][/B][/FONT]
[FONT=Verdana]Firs off all you`ll need an Loopback adapter thru witch your emulated network will be connected to your computer.[/FONT]
[FONT=Verdana]
[/FONT]
[CENTER][URL="http://3.bp.blogspot.com/_in2ap2Bqp5E/S3nJDroZrNI/AAAAAAAABAI/I-HV1YKPkpc/s1600-h/adddevice.jpg"][IMG]http://3.bp.blogspot.com/_in2ap2Bqp5E/S3nJDroZrNI/AAAAAAAABAI/I-HV1YKPkpc/s200/adddevice.jpg[/IMG][/URL][/CENTER]
[FONT=Verdana]Go to[B] Control Panel[/B] >> [B]Device Manager[/B] , right click on your computer name at the top of the list and select [B]Add legacy hardware. [/B]Wizard window will open.Click NEXT and choice [B]Install the hardware that I manually choice from the list.[/B][/FONT]
[FONT=Verdana]Choice [B]Network Adapters[/B] and click NEXT.[/FONT]
[FONT=Verdana]
[/FONT]
[CENTER][URL="http://2.bp.blogspot.com/_in2ap2Bqp5E/S3nKL-F_ZxI/AAAAAAAABAQ/_1I35jb0Ieo/s1600-h/microsoftloopback.jpg"][IMG]http://2.bp.blogspot.com/_in2ap2Bqp5E/S3nKL-F_ZxI/AAAAAAAABAQ/_1I35jb0Ieo/s200/microsoftloopback.jpg[/IMG][/URL][/CENTER]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]Choice [B]Microsoft[/B] category from the list at the left side of the windows and than [B]Microsoft Loopback Adapter.Click next. After installing a new adapter will appear at your network devices window.[/B][/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]I have renamed this adapter to [B]HOST to GNS[/B].[/FONT]
[FONT=Verdana]
[/FONT]
[CENTER][URL="http://3.bp.blogspot.com/_in2ap2Bqp5E/S3nNzTVu25I/AAAAAAAABAY/-VA-_kmgnnk/s1600-h/allowother.jpg"][IMG]http://3.bp.blogspot.com/_in2ap2Bqp5E/S3nNzTVu25I/AAAAAAAABAY/-VA-_kmgnnk/s200/allowother.jpg[/IMG][/URL][/CENTER]
[FONT=Verdana]Now you need to allow you interface that connected to the internet to be used by other networks. In my case this is wireless adapter that connected to my Edimax router. Right click on it and select [B]Properties[/B], now go to the [B]Sharing[/B] tab. Select[B] Allow other network users to connect through this computer`s internet connection: [/B]check box, and select the Microsoft Loopback Adapter as it shown on the picture (Remember I have renamed my MSLoobpack to HOST to GNS)[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]Click next. At this point windows will set the IP of your Microsoft Loopback interface to 192.168.0.1 with 24 network mask.[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana][COLOR=#0b5394][B]Create Cloud connected to MSLoopback interface[/B][/COLOR][/FONT]
[FONT=Verdana]Open a new GNS3 project. Drag and drop Cloud from the list to the working space. Right click it and select [B]Configure[/B].[/FONT]
[FONT=Verdana]
[/FONT]
[CENTER][URL="http://1.bp.blogspot.com/_in2ap2Bqp5E/S3nPKQTswbI/AAAAAAAABAg/IIolDW7vNtE/s1600-h/cloud.jpg"][IMG]http://1.bp.blogspot.com/_in2ap2Bqp5E/S3nPKQTswbI/AAAAAAAABAg/IIolDW7vNtE/s320/cloud.jpg[/IMG][/URL][/CENTER]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]In the [B]NIO Ethernet[/B] tab select your Microsoft Loopback interface and click on Add button. Click OK. Now you have a cloud connecting your GNS project through the loopback interface to your computer.[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana][B][COLOR=#0b5394]Create Cisco router and connect it to the cloud[/COLOR][/B][/FONT]
[FONT=Verdana]I will use Cisco 3600 router. Create 2 Fast Ethernet interfaces. Start the router and configure one of the interfaces (I will use FastEthernet 0/0) with IP: 192.168.0.254 /24[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]Configure default route by entering this command under the EXEC mode:[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana][I][B](config)#[/B][/I]ip route 0.0.0.0 0.0.0.0 192.168.0.1[/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana]Connect the FastEthernet 0/0 interface to the cloud. [/FONT]
[FONT=Verdana]
[/FONT]
[FONT=Verdana][B][COLOR=#0b5394]Test connectivity[/COLOR][/B][/FONT]
[FONT=Verdana]At this point you should be able to ping the Microsoft Loopback Interface (192.168.0.1) from the router. Also try to ping your real Router (The default getaway of your computer). And than try to ping internet addresses. try to ping domain names like google.com[/FONT]
[/LEFT]
Connecting GNS3 to the internet - Video
[LEFT][CODE]http://www.youtube.com/watch?v=SYclVyXDSDA[/CODE][CENTER][B][SIZE=3][B]Connecting GNS3 to the internet Part 1[/B][/SIZE][/B]
[video=youtube;SYclVyXDSDA]http://www.youtube.com/watch?v=SYclVyXDSDA[/video]
[LEFT][CODE]http://www.youtube.com/watch?v=WOsJHwj6Umw[/CODE][/LEFT]
[B][B][SIZE=3]Connecting GNS3 to the internet Part 2 [/SIZE][/B][/B]
[video=youtube;WOsJHwj6Umw]http://www.youtube.com/watch?v=WOsJHwj6Umw[/video]
[/CENTER]
[/LEFT]