Fri 11 Jan 2008
How to integrate a Microsoft Loopback interface with GNS3
Posted by Josh under Cisco , Dynamips , GNS3 -In a previous tutorial, I showed you how to use a windows loopback interface to connect to your dynagen/dynamips lab.
This tutorial is the same (in theory). Only this time we are using gns3 instead of dynagen. Before running the gns3 loopback tutorial, you may want to go through the microsoft loopback tutorial first.

(19 votes, average: 4.47 out of 5)








January 11th, 2008 at 7:06 pm
you just read my mind, i was trying to figure this out. thank you very much!!
January 22nd, 2008 at 5:23 am
This video is not opening. I have tried severally.Can you check on it.
January 22nd, 2008 at 9:15 am
I checked the video and it is working for me. What do you see when you click ‘Watch the Video’ ?
January 28th, 2008 at 12:28 pm
The vidoe does not work.
January 28th, 2008 at 2:02 pm
I need more details regarding the video not working. What do you see? Do you get an error message or a blank page? Are you using firefox or IE? Do you have flash installed? If so, what version?
Josh
February 13th, 2008 at 2:11 am
I think the problem is that the video is not starting automatically, and people do not notice that they have to scroll down to see the play button to start the video.
I was first also puzzled why it didn’t play the video, and could not find the play button.
Hugo
February 13th, 2008 at 8:39 am
Hugo,
You are probably right. I will try to get that fixed on the new videos soon.
Josh
February 13th, 2008 at 11:58 pm
Thanks for this helpful tutorial. finally solved my problem .
March 8th, 2008 at 8:39 am
Could not get it to work with the loopback. I had to use the physical card on the box.
I have done everything including adding the correct network to the loopback with no luck.
Whats the overall benefit of using the loopback vs the physical card to bridge?
I can telnet to the routers from anywhere on my network using the physical card.
Input is appreciated.
March 8th, 2008 at 10:46 pm
LBS,
Here are a couple other tutorials with practical uses for a loopback interface:
http://www.blindhog.net/cisco-using-dynamips-your-personal-internet-router/
http://www.blindhog.net/cisco-dynamips-virtual-wan-with-ethernet-connection/
Josh
March 11th, 2008 at 7:16 pm
[...] How to integrate a Microsoft Loopback interface with GNS3 [...]
March 12th, 2008 at 7:07 am
Josh ..
Great thanks, but now to determine why it doesn’t work.
Any ideas?
LBS
March 12th, 2008 at 9:00 am
I have the loop back installed on my pc but when I go to dynamips Network Device list. It’s not there, but its on my pc when I go to network connections it has an exclamation point on it. Why am I not seeing it in the network device list ive been trying to get this to work for 2 days now spending hours
March 12th, 2008 at 6:23 pm
rynhadn
You might have to reboot and you must assign an IP to it.
LBS
March 27th, 2008 at 12:41 am
Hi guys,
I have managed to create the loopback and i can ping and telnet from command prompt, but i can ping the loopback interface from the router ? Any idea why since i have point the default gateway to be the router itself…
My question is that i have vmware install and i want to ping these VM host machine which would be on the same segement. Any idea how can we make that possible ?
Any help would be highly appreciated….
March 27th, 2008 at 2:18 am
Veekash,
If I understand what you are trying to do, I would not use the MS Loopback. Instead, use a connection to your actual lan interface. This way, your router should be able to communicate with your LAN as well as your VMWare machines if they are in bridge mode.
Josh
April 2nd, 2008 at 12:13 pm
where I can Find GSN3 initial Configuratio for Wins=dows Xp as I have downloaded the GUI setup of GNS3 from the site and I have tried to configure as per mentioned on this blog http://www.subnettingmadeeasy.blogspot.com/
But I am unable to get the consle of the Router.
The Command screen comes Telnet to Localhost…… and goes away.
Please help me out .. Iam strugling for this…
April 2nd, 2008 at 12:25 pm
Here are my gns3 tutorials…
http://www.blindhog.net/category/gns3/
April 16th, 2008 at 5:11 am
THanks for the tutorial of how to get the MS loopbal working with the GNS3 Lab. I am unable to follow this for a Vista PC? I have the latest 0.4 Beta version of GNS3. Is there something I can do to the Network device list.cmd file to get it to poll my interfaces on a Visa Build? Thanks
May 1st, 2008 at 5:39 pm
Any idia how to save configuration file on GNS3. I am able to save the topology, however, all config is gone.
Thanks
May 9th, 2008 at 11:25 am
Al - if you have 3 0.5, have your routers started, wr your config, then go back to where you built your topology and click on the little yellow arrow pointing to the left. This will save your configs. Hope this helps.
June 17th, 2008 at 1:42 pm
Not just a great tutorial, you have organize it so well. I was watching the PEMU video and wondering how to create a loop back in Windows and here I come…. Great job Josh and thanks a lot.
June 20th, 2008 at 11:08 am
Network adapters on this machine:
PCAP: unable to find device list (No interfaces found! Make sure libpcap/WinPcap
is properly installed on the local machine.)
Use as follows:
F0/0 = NIO_gen_eth:\Device\NPF_{…}
Press any key to continue . . .
—————————–
Guyz, can you help me out about this problem of mine? I already installed the winpcap and microsoft loopback, what else do I need to for this Microsoft Loopback interface integration stuff? Many Thanks!
June 21st, 2008 at 3:25 pm
When I try to start GNS3 I get the error message “209-unable to start VM instance” what is happening and how do I translate any error message
June 22nd, 2008 at 7:44 am
hello everyone i have tried to install gns3 on vista interrouter communication is fine but when i install loop back iam not able to execute the networklist.cmd … iam not getting any sort of mac address … is there anything to configure ……. ne ways it teached me to install it on xp.. keep up the good work
June 24th, 2008 at 8:53 am
Jazz, Gerald, Jerome and Rakz,
I am not sure if all of you are using Vista or not…
I do not use Vista, so I can’t speak from experience. However, the posts I have read on forums seem suggest that you need to run GNS3, Dynamips and the ‘Network device list’ shortcut as administrator.
Sorry I don’t have more information. Here is a link that may be helpful: http://www.sadikhov.com/forum/index.php?showtopic=107269
Josh
June 24th, 2008 at 8:53 am
@Kenrick, Thanks!
June 30th, 2008 at 2:28 pm
THANK YOU for the tutorial. It was great except for one thing.
I am running GNS3 0.5. The tutorial says for me to go to EMULATION MODE, but it is not in my version of GNS3.
I added the loopback to the cloud OK. Connected router to cloud with fastethernet. I gave router fa0/0 and ip address on my lan. I gave the loopback an ip on my lan.
Windows firewall is OFF.
I tried the fa0/0 in ‘duplex full’ and ’speed 100′ and also in auto/auto.
I cannot ping the loopback from the router, and I cannot ping the fa0/0 from the pc.
HOWEVER, if I give the fa0/0 the same ip address as the loopback, I get a Windows System Error…IP address conflict. If I give fa0/0 the ip address of another interface on my pc, I do not get that error.
Any ideas?
thanks again….
July 15th, 2008 at 2:55 pm
i tried the way u showed in blindhog to create MS-loopback, but the “Network device list.bat ” just only show this message:
———————————————————–
Network adapters on this machine:
The system cannot find the path specified.
Use as follows:
F0/0 = NIO_gen_eth:\Device\NPF_{…}
Press any key to continue . . .
———————————————————–
so what am i missing here to setup SDM with gns3 ? pls help ………….
July 15th, 2008 at 3:13 pm
@basim007 - What OS are you running? XP or Vista? Also, does the user have administrative rights? You may try right-clicking on the bat file and running as an administrator. - Josh
July 16th, 2008 at 4:58 pm
well i’m running winXP…
July 19th, 2008 at 12:54 pm
God bless you guys!!
really helpful stuff here..
Thanks a Lot !!
Everystep works just GREAT!
September 7th, 2008 at 7:28 am
Hi unable to start my router Error 209 occurs saying Unable to Start VM instance of Router 1 , i went through all the blogs but couldnt find any solution
September 23rd, 2008 at 10:08 pm
sree,
Do a search at http://7200emu.hacki.at. There are lots of posts for ‘Error 209′.
Josh
November 23rd, 2008 at 1:35 pm
Thanks LBS… Was starting to wonder why the loopback adapter didn’t show up in the batch file
Sometimes a reboot does wonders! By the way, great tutorial, Josh!
November 23rd, 2008 at 3:50 pm
Talked to soon… Followed the tutorial step by step but can’t ping between my loopback adapter and the router
And I’m using XP… I’m also connected to the Internet through my wireless adapter. Can this be the cause of my problem?
November 24th, 2008 at 12:20 am
This is my issue. I can ping everythign except the PC I am bridged to. See the picture I attache.
In this order, I pinged:
1. Dynamips Router Interface (192.168.1.99)
2. DSL Router (192.168.1.1)
3. Google (74.125.47.99)
4. FAILED - PC Im bridge to (192.168.1.96)
The PC does not know how to get to the Dynamips interface as you can see by the Wireshark screen print.
http://www.mediafire.com/?ti3zg0gjddd
Any help would be great
November 24th, 2008 at 1:06 am
Nevermind people, I just got it working with the loopback. My PC had a default route for the 192.168.1.0/24 going thru the DSL router (192.168.1.1). I just used a different network for the router and loopback. I used 10.10.10.0/24.
Dynamips Router - 10.10.10.1/24
Loopback - 10.10.10.10/24;
Loopback default gateway - 10.10.10.1
November 25th, 2008 at 1:29 pm
OK! Finally found what was wrong… I was connecting the FastEthernet interface of the router to my 10 Mbps Loopback adapter. A layer 1 problem… How humiliating
Does anyone know if it’s possible to configure the Loopback adapter to a higher bandwidth? Thanks
December 7th, 2008 at 12:12 pm
Im problem with bridging XP sp3 with GNS 3 0.5 beta. I have tried all the possible combination published here from disabling the antivirus, firewall re installation of gns3. Can any one tell me which version of gns3 and xp sp? are they using that it worked with thanks.
December 14th, 2008 at 9:42 pm
ribeirovski,
Sorry it took me so long to respond. Glad to see you were able to get it to work. I am not sure you can force higher bandwidth on a loopback adapter.
Is there a particular reason you need more than 10mbps between your virtual router and your PC?
Josh
December 14th, 2008 at 9:44 pm
lc,
Can you check arp tables on the router (router#show arp) and your pc (c:\>arp -a) ?
Also, what IP addresses do you have configured on the devices?
Josh
December 15th, 2008 at 11:02 pm
Hi Josh,
First I want to say that I LOVE your tutorials! They have helped me greatly.
I need your help if you don’t mind. I set up the loopback lke you said with no problems. I can ping my virtual fa0/0 interface (10.10.10.1/24) from my PC (loopback: 10.10.10.100/24) and vice versa.
I am having trouble pinnging any other router in my topology, both ways. I am using EIGRP and I can ping the fa0/0 interface from any router, but I can’t ping the 10.10.10.1 loopback. Same thing the other way around. As mentioned above, I can ping my fa0/0 interface since its directly connected to my cloud, but I can’t ping any of my other virtual routers. I know I can reach the 10.10.10.0 network since I can ping the fa0/0 virtual interface.
Here is my topolgy:
R1(s0)–>(s1)R2(s0)—>(s0)R3(fa0/0)—>Cloud
Please help?!?!?
Thank you so much
December 15th, 2008 at 11:22 pm
Also Josh,
in regards to the above mentioned note, I have the MS loopback adapter’s default gateway set to 10.10.10.1.
Thanks
December 16th, 2008 at 7:01 am
Josh,
I followed your instructions, and I am able to ping my loopback and the virtual interface it’s connected to (fa0/0) both ways.
My problem, is I can’t ping any of my other routers in my topology and vice versa. I have placed the default gateway of the loopback to the virutal interface it’s connected to. I am running EIGRP and I am able to ping the virtual interface from any router, but pings to the loopback timeout.
Thanks,
Amol
December 16th, 2008 at 10:47 am
Amol,
Your workstation probably has two different default gateways. Remove the default gateway from your loopback interface.
Then, add routes similar to the following for your branches and the ip blocks of the serial links.
c:\>route add 10.10.20.0 mask 255.255.255.0 10.10.10.1
c:\>route add 10.10.30.0 mask 255.255.255.0 10.10.10.1
If this does not work, please post the output of this command ‘netstat -rn’
Josh
December 25th, 2008 at 8:50 am
Hi,
with the tutorial i was able to create a loopback interface on the PC and was able to ping both the router and pix and even able to telnet. But I am not able to ping PC either form router or pix.
Please guide incase i need to make any changes on the system or on the router/firewall.
Regards,
Ravi DN
December 27th, 2008 at 3:21 pm
Ravi,
Check the arp tables on the router and pix. Do they seem to be working whenever you initiate comms from the PC?
Josh
January 10th, 2009 at 11:59 am
I m having a problem with Loop back interface
i manage to install loopback in VISTA
after installing it wenti try to configure Cloud in GNS3 its not showing loopback in it i went through all the forums but i couldnt find any thing?
Can some one help me PLZ PLZ
RAV
January 11th, 2009 at 12:48 pm
Hey anyone got this working on VISTA?
February 1st, 2009 at 6:25 pm
I have it working in Vista.
Disabling User Account Control in Vista should let you add loopback correctly in GNS3.
In the network settings I have only selected “Client for Microsoft Networks”, “CDP Packet Driver” and “TCP/IP v4″.
Finally in GNS3 i had to delete the router connection to the cloud and add it back in again before the loopback interface worked.
February 12th, 2009 at 12:40 am
can i do this using subinterfaces in the router and subinterfaces in the NIC with more than one network addresses..? pls rply..
thanks
March 2nd, 2009 at 7:04 am
Hi,
i have a question about Routers connected to Cloud.
if 3 routers connected to cloud how do i assign different vlans to different switchport ?
your reply will be highly appreciated.
regards,
Jack
March 5th, 2009 at 9:36 pm
Jack,
I guess I do not understand the question…
Josh
March 6th, 2009 at 4:43 pm
Josh,
I installed the loopback and the sdm but when i started the sdm the browser could not load the last page. It stopped at the second page.
what is likely to be the problem.
Thanks
March 8th, 2009 at 7:35 pm
Hi,
Good Day, basically i was asking about the Loopback interface in the GNS3, after read from the documentation if a router wanna connected to your PC you must configure the Cloud , isn’t it ?
coz, i am doing some switching lab currently i have 3 routers (from GNS3) and 1 physical switch (that means my laptop is physically connected to this switch, i have tested 1 router and 1 loopback interface, cloud. it is working), now then this 3 routers have assigned to different vlans and connected to my switch. but i noticed from the documentation only show us how to connect a router to a loopback interface (that means cloud). my question was asking about how about 3 routers connected to loopback interface and how to assign different vlans ?
thanks.
March 12th, 2009 at 5:09 am
skilly,
I am not sure. I have never installed sdm using gns3.
Josh
March 12th, 2009 at 5:21 am
Jack,
Here are a few tutorials that might help.
http://www.blindhog.net/gns3-how-to-build-a-switching-lab/
http://www.blindhog.net/gns3-switching-lab-part-2-router-on-a-stick/
If you are using linux, this one might help also…
http://www.blindhog.net/linux-bridging-for-gns3-lan-communications/
Josh