0% found this document useful (0 votes)
424 views16 pages

Connect GNS3 to Real Networks Guide

This document discusses connecting virtual networks created in GNS3 to a real physical network. It provides instructions on how to create a loopback network adapter on the host computer, assign IP addresses, and connect the GNS3 topology to the loopback adapter. This allows the virtual router in GNS3 to ping the host computer and vice versa. The document outlines three ways to connect GNS3 to real networks: 1) connecting to the host computer, 2) interfacing with VirtualBox VMs, and 3) connecting to the internet, with instructions provided for the first approach.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
424 views16 pages

Connect GNS3 to Real Networks Guide

This document discusses connecting virtual networks created in GNS3 to a real physical network. It provides instructions on how to create a loopback network adapter on the host computer, assign IP addresses, and connect the GNS3 topology to the loopback adapter. This allows the virtual router in GNS3 to ping the host computer and vice versa. The document outlines three ways to connect GNS3 to real networks: 1) connecting to the host computer, 2) interfacing with VirtualBox VMs, and 3) connecting to the internet, with instructions provided for the first approach.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

8/9/2016 ConnectingGNS3toRealNetworks

SmartPCTricks
Cisco,Windows,ServerTutorials&Configurations

ConnectingGNS3toRealNetworks:PhysicalNetworkingwithGNS3
ByMubashirVP 35Comments

GNS3(GraphicalNetworkSimulator),bestnetworksimulationsoftwareallowsyoutoconnectandcollaboratevirtualnetworktopologiestorealnetworks.Thisawesomefeature
ofGNS3bringsCCNA,CCNPandCCIElabswithzeroHardware!PersonallyIwasmuchexcitedwhencametoknowthispossibilityinGNS3.Youmightevenassociatetovirtual
machinesfromVMwareorVirtualBoxtothispowerfulpieceofsoftware.InthisGNS3guideImgonnatoshareconnectingGNS3torealnetworks.Ialreadysharedonearticleof
GNS3inthatwediscussedaboutcalculatingIdlePCvalueinGNS3runningoverWindowsplatform.LinkingavirtualtopologyinGNS3torealdevicesisveryexcitingand
interestingandwhichmakesbusinessnetworksetupwell..

Nowletmegetintothetechnicaldescriptionofvirtualnetworklab.

Toolsrequired

GNS3(GraphicalNetworkSimulator):ItisthebestnetworksimulatorsoftwarethatisofferedforWindows,LinuxandMAC.Therearemanynetworksimulationtoolsare
presentlikePackettracer(bestCCNAsimulator,thiswillbeveryusefulforCCNApracticetestforpeoplewholearningCCNArouting),BOSONNetsimetc.Thespecialties
ofGNS3isthatitisFREEandwemayrunrealCiscoIOSimageinGNS3routerhenceyoumayhaverealisticexperience!

GNS3networksimulationsoftwarefreedownload

CiscoIOS:RealCiscoIOSisrequiredforrunningGNS3labs.DistributingCiscoIOSwithoutlicenseisillegalsoyoumaypleaseGoogleforIOS.

HowtointerfaceorconnectGNS3torealnetworks?

TherearethreetopologiesthatwecanrealizewithrealnetworkstogetherwithGNS3.
1.ConnectingGNS3topologytoHostcomputer.
WiththehelpofaMicrosoftLoopbackadapterwecanconnectGNS3routertoourHostPC

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 1/16
8/9/2016 ConnectingGNS3toRealNetworks

2.InterfacingVirtualBoxvirtualPCswithGNS3.
GNS3supportsVirtulBoxinterfacing.PossibletoconnectGNS3routertoVirtualBoxPCs

(Iwillpostonnextarticle)

3.ConnectingGNS3toInternet
Wow!Justamazing!YoumaypossibletoimplementVPNwiththisfeature.Keepintouchwithme,Iwillbecomingwiththoseguidessoon.

AswearestartingRealnetworkinterfacingIexplainedthefirstoptioninthisarticle(ConnectingGNS3topologytoHostcomputer).Iwillbepostingothertwooptionsassoonas
possible.

InterfacingGNS3networktoHostcomputer

Theprocesscanbeexplainedwithin3stagesvizcreatingPCLoopBacknetworkAdapter,AssigningIPAddressandConnectingGNS3virtualnetworktoPCLoopBackAdapter.
[MyplatformisWindows7]

Stage1:CreatingPCLoopBacknetworkAdapter

ForinterfacingGNS3networkweshouldhaveadedicatednetworkadapter,dontworrywecancreateaVirtualLoopBackadapterinWindows7,whichservesasPhysical

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 2/16
8/9/2016 ConnectingGNS3toRealNetworks
connection.

Step1:
RightclickonMyComputerPropertiesDeviceManager

Step2:
Rightclickonthefirsticon(computername)thenselectAddlegacyhardware

Step3:
AddHardwareWizardwillappear.ThiswillletyoutoinstalldriversoftwareforLoopBackadapter.JustclickNext

Step4:
ChoosemanualinstallationandclickNext.

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 3/16
8/9/2016 ConnectingGNS3toRealNetworks

Step5:
Youwillseealistofhardwarehere,lookforNetworkAdapters,andthenclickNext

Step6:
InSelectMicrosoftAdapterwindowselectMicrosoftLoopbackAdapter,Next.

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 4/16
8/9/2016 ConnectingGNS3toRealNetworks

Step7:
NowyouarereadytoinstallMicrosoftLoopbackAdapter,clickNexttobegininstallation.

CompletetheinstallationbyclickingFinishbutton.

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 5/16
8/9/2016 ConnectingGNS3toRealNetworks

Stage2:ConfiguringLoopbackAdapterandSettingupStaticIP

Step1:
OpenNetworkingandSharingCenterbyrightclickinginthesystemtraybaricon.

Step2:
ClickChangeAdaptersettings.

HereyoumayfindthenewlyaddedMicrosoftLoopbackAdapter.ForeasyidentificationIjustrenameditintoLoopBack

Step3:
RightclickontheLoopbackadapterandtakeProperties,thendoubleclickInternetProtocolVersion4(TCP/IPV4)

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 6/16
8/9/2016 ConnectingGNS3toRealNetworks

Step4:
EnabletheradiobuttonUsethefollowingIPaddressandenteranyIPasyoulikeIusedClassAIP20.0.0.1withdefaultsubnetmask255.0.0.0

Stage3:ConnectingGNS3virtualnetworktoPCLoopBackAdapter

Nowwearegonnatoentertotherealmeaningofthisarticle,wecompletedallprerequisitesforInterfacingGNS3withHostcomputer.

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 7/16
8/9/2016 ConnectingGNS3toRealNetworks
Step1:
RunGNS3andaddaRoutertopologytotheworkingarea.(IhopeyouknowconfiguringIOSimageforGNS3)
GotoBrowsealldevicesthendragaCloudtotheworkspacearea.

Step2:
RightclickontheCloudandConfigure.

Step3:
ClickC1node,intheNIOEthernettabidentifyandselecttheloopbackadapterthatyoucreatedjustbefore.(YoumayfindallthenetworkadaptersthatispresentinyourPC,but
selectonlyLoopbackadapter.)

ClickAddbuttontocomplete.

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 8/16
8/9/2016 ConnectingGNS3toRealNetworks

Step3:
InterconnectbetweenyourRouterandtheCloudwithFastEthernetcable.

NowRunthetopology

Step4:
Consoleyourrouterbyrightclickingontheroutericon.

Step5:
ConfigureyourroutertoassignanIPaddressforFastEthernet0/0interface.Configurationcommandsarefollowed.(TheIPaddressmustbeinthesamerangeofLoopbackIPand
subnet,forme,assigned20.0.0.2with255.0.0.0subnet)

ConnectedtoDynamipsVM"R1"(ID0,typec2600)Consoleport
PressENTERtogettheprompt.

R1#configureterminal
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
R1(config)#interfacefastEthernet0/0
R1(configif)#ipaddress20.0.0.2255.0.0.0

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 9/16
8/9/2016 ConnectingGNS3toRealNetworks
R1(configif)#noshutdown
R1(configif)#
Thatsall,youhavedoneit!

NowtrytopingfromRouterconsolewindowtotheHostcomputerandviseversa.

PingingfromroutertoHostPC

PingingfromHostPCtoRouter

Wow,itispinginginbothdirections.!

IsthisGNS3guidehelpedyou?CanIhaveyourfeedbackplease?Shareyourthoughtsusingthecommentboxbelow.

*********

BonusTip:Youcanchangethecloudiconforbetterrepresentation,forthat
RightclickontheCloudiconChangeSymbol

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 10/16
8/9/2016 ConnectingGNS3toRealNetworks

ChooseComputericonfromthelist.

Nowyouwillhavebetterdiagramrepresentation

*********

InmynextarticleIwillbeteachingyouInterfacingVirtualBoxvirtualPCswithGNS3.TillthencheckoutsomeofmyCiscoarticles.DontforgettolikeourFacebookpagetoget
latestupdates.

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 11/16
8/9/2016 ConnectingGNS3toRealNetworks

RelatedPosts:

[Solved]Connect [Solved]Howto HowtoCalculate Networking HowtoConnect


GNS3toInternet ConnectGNS3to IdlePCValuein betweenHost CiscoIOUto
viaHostWiFi, VirtualBox:Virtual GNS3Network Computerand GNS31.1and

Category: Cisco GNS3 Networking

35thoughtsonConnectingGNS3toRealNetworks:PhysicalNetworkingwithGNS3

DanielJoseCuberoMuoz
October13,2014

Wheniusecloudwithrouterongns3ihavetodesactivemyfirewallofwindows7,Itsapossibletellthefirewallallowloopbackconextionwithoutdesactive.Howido
that?

Admin Postauthor
November26,2014

HiDani,
YoucandefinecustomFirewallrulesfromtheAdvancedFirewallsettings.
Jaseem

Sarah
November7,2014

Greatarticlethanks!

Jaseem Postauthor
November7,2014

HiSarah,
Thankyouforyourfeedback..
YoumayalsolikemynewarticleregardingIOUtoGNS3

mike
November13,2014

Urdoingagreatjob.Keepitupbro!

Jaseem Postauthor
November15,2014

ThankyouMike
Jaseem

Admin Postauthor
November26,2014

ThanksMike!

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 12/16
8/9/2016 ConnectingGNS3toRealNetworks
Jaseem

Ovais
November18,2014

Greatworkandverywellexplained.

Admin Postauthor
November19,2014

ThankyouforyourfeedbackMr.Ovais

Admin Postauthor
November26,2014

HiOvais,
Hopeyougotconnectedtorealnetwork!
Jaseem

Nounou
November28,2014

wonderfulmaniappreciatethistutorialhelpsalot

Admin Postauthor
November28,2014

HiNounou,
Gladtoknowthatitwashelpful.WellbecomingupwithmoreGNS3networkingtutorials,staytuned.

Nissim
December11,2014

Veryhelpful,Thankyouman

timaz
December11,2014

thanksforyourpost.itisgoodtomentionthatinsomecasesconnectingcloudtothevRouteronGNSmightfacewithsomeerrorslikeServererror[3200]from
127.0.0.1:8000:R1:unabletocreategenericethernetNIOorsomethinglikethat.inthatcase,youcanrestartyourmachineandtheerrorwilldisappear.

YasirSaad
February27,2015

Hi,
Infact,Ihadthiserror,andIrealizedthatGNS3mustbestartedasadministratorforthisfeaturetowork.Thatsthetrickforit.

NsikoSamuel
December15,2014

IhavetriedthisconfigurationinGNS3butforsomereasontherouterisnotabletopingthecloudandyetIfinishedconnectingthecloudwithipaddress192.168.200.2/24
butcanpingthenetworkaddresswhichis192.168.200.1/24onwhichthecloudisdirectlyconnected.
enable
configureterminal
routerrip
network192.168.100.0
network192.168.200.0
exit
exit
configureterminal
interfaceFastEthernet0/0
ipaddress192.168.100.1255.255.255.0
noshutdown
exit
interfaceFastEthernet0/1
ipaddress192.168.200.1255.255.255.0
noshutdown
exit
exit
enable
configureterminal

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 13/16
8/9/2016 ConnectingGNS3toRealNetworks
ipdhcpexcludedaddress192.168.100.1192.168.100.10
ipdhcppoolcyber
network192.168.100.0255.255.255.0
defaultrouter192.168.100.1
dnsserver192.168.200.2
exit
exit

NsikoSamuel
December15,2014

Thehostip192.168.200.2canpingtherouteron192.168.200.1buttheroutercannotpingthehost

AshishThakur
January23,2016

Hi,
Ihavefollowedyourstepshowevericanpingfrommycmdtorouterbutcannotdothereversewhysoasperyourinstructionyouhavedonethat

seddeeq
December29,2014

goodmorningsir.howareyou?imastudentofccna.myquestioniswhyweconnectgns3withrealnetwork?andwhatkindofconfigurationwecanpracticeafter
connectinggns3withrealnetwork?pleasesendme

JJohnson
January26,2015

ThisprocesshasstoppedworkingformeinsideofWindows8asofaweekago.IusetobeabletocreateloopbackadaptersthatconnectedmyphysicalPC/VmWare
virtualmachinesdirectlytomyGNS3environmentwithoutfailuntilrecentlyinWindows8thesamewayIdidinWindows7WITHZEROPROBLEMS.Itmakes
absolutelynosensewhyIcannolongerdothisafterasimpleresetofmyPCbacktofactorydefault.Myfirewallyisdeactivated/diasbled(asalways)andIvegonea
stepfurtherbyturningofWindowsDefenderaswell,butitsstillnotworking
ImonestepfromcryingconspiracytheoryagainstMicrosoftbecausetheresnoexplanationfortheprocesstostopworking,thusnowrequiringyoutoshareor
bridgeyourloopbackconnectionswithaphysicaladapterinordertonowgetyourphysicalPCand/orvirtuallyassignedmachinestocommunicatewithyourVmWare
environmentItsmakingmewonderifduringtheresetmyPCreachedouttomicroftandupondoingsohadascriptloadedtoitthatblocksdirectloopackadapter
communicationbetweenGNS3andloopbackadapters(again,thatsjustconspiracytheory,butitsREALLYgotmewonderingatthispoint.
Anbodyfigurethisoutminususingsharing,bridging,andallthatovermess/hoopsyouhavetojumptroughjusttomakeasimpleconnection?
Jay

sam
February5,2015

Hi
veryhelpful.OknowiconnectedmyGns3tointernet.
IwaswonderingifitspossibletocreateaVPNfromGNS3routertoarealrealCiscorouterovertheinternet?isitpossible?

umar
February22,2015

pleasehelp!
iamusingwindow8.iinstallloopbackinterfacebutitisnotshowingingns3.whatishoulddo

Vadim
April1,2015

JustrecreateaCloudorreopenyourprojectinGNS.

Mateus_CCNA
April24,2015

Man,itisfckingawsome!ImstudyingforCCNASecurityandIneedtomasterCCPinGNS3.Yourexplanationisperfect

illuminaughty
May6,2015

Thanksforthetutorial.Itgotmemostofthewaybut.
Icouldntgettheabovetowork.IfollowedthisCBTNuggetvideoanditworkslikeachamp.
Forsomereasoniproute0.0.0.00.0.0.0fa0/1wouldntwork,eventhoughitwasthecorrectinterface.
Ichangedmydefaultrouteto:iproute0.0.0.00.0.0.0192.168.10.1(MySOHOroutersaddress)
AfterthatIcouldping8.8.8.8

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 14/16
8/9/2016 ConnectingGNS3toRealNetworks
CBTNuggetonGNS3andgettingouttotheinterbutts:

MicroNugget: Connecting GNS3 to the Internet

azim
June12,2015

thanxsir,,urarticlerealyhelpfultom..

kamo
July3,2015

thiscourseisveryusefull.
thankyouforyourhelping

Issa
July10,2015

Youguysareexcellent

Muhammad
July20,2015

Hey
Wheniwanttoconnectlinkbetweenrouterandclouditdidnotwork!
Actuallynothingdidnotappear??????????
Whatshouldido?

Ismaila
August2,2015

IneedhelpconnectingthecloudtothevRouter.IhavetriedallmeansknowntomeandamstillgettinsameerrormessageServererror[3200]from127.0.0.1:8000:
R1:unabletocreategenericethernetNIO.Thankyou.

Mallikarjuna
August21,2015

Afteraddloopbackinterfaceiamnotabletogitpingfromtherouteripihopeyet.

surajit
January17,2016

Wheniamconnectingcloudandrouteritisthrowingsomeerror.Thisdevicecanonlybeconnectedtocloudonthesamehost.canuhelpmeplease

Gahoot
February8,2016

hiall
cananyonehelpmeout,toconnectIOUSwitchofGNS3tophysicalrouterorswitch,Iamtiredtrying

Jared
February14,2016

Atthistime,itsnotpossibletogetIOUvirtualswitchdirectlyconnectedtooutsidenetwork.YouhavetouseaIOSbasedvirtualswitch.

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 15/16
8/9/2016 ConnectingGNS3toRealNetworks

Jared
February4,2015

FoundthereplacementforWindows8.1,http://support.microsoft.com/kb/2777200
TheMicrosoftLoopbackAdapterwasrenamedinWindows8andWindowsServer2012.ThenewnameisMicrosoftKMTESTLoopbackAdapter.

SPT|PoweredbyiSt@rGroup

http://www.smartpctricks.com/2015/06/connectinggns3realnetworks.html 16/16

You might also like