Vista VPN, loopback adapter & “requires active connection” error!

Came across a strange (ish) problem this week. I use a PPTP VPN connection from my Vista laptop to connect into our company network, but for the last few weeks I’ve had trouble getting the VPN to connect.

In the Vista “Connect to a network” dialog all configured VPN connections often show “This connection requires an active Internet connection” – with a big red X! No amount of refreshing or restarting would persuade it to enable the Connect option. And then randomly it would start to work …. All the while I had an internet connection which was working fine.

However, I also had the Microsoft Loopback Adapter installed to support some development testing I was doing. When I disabled the Loopback Adapter the VPN connections were immediately available to connect. Seems that the VPN is picking up my Loopback Network Adapter before the Wireless or Wired LAN adapter – not finding a route to the internet – and therefore failing.

So the solution/workaround is to disable the Loopback Adapter. I’m sure there’s a way to order the network adapters such that it tries the Wireless/Wired connections first – but it’s not much of a hassle to disable the LBA so I really can’t be bothered finding out!

I couldn’t find much on the web about this and only stumbled upon the solution in a rare flash of inspiration (!) so thought I’d write a quick blog which perhaps might help someone else ….

27 thoughts on “Vista VPN, loopback adapter & “requires active connection” error!

  1. Thank you, Iain – your article did help me when my VPN connection suddenly stopped working in the same manner. And yours is the only helpful post about this issue that I could find – so thanks again ))

  2. I was having the same problem, and I found your blog entry in Google. In my case, I didn’t have a loopback adapter installed, but I do have VMware installed, which adds two virtual adapters for virtual machine networking. I disabled those, and that fixed the problem. So, thanks!

  3. I corrected this problem WITHOUT disable the loopback adapter. I just need to change the binding order of loopback adapter as the bottom at Network Connections, Advanced, Advanced Settings, (TAB) Adapters and Bindings settings.

  4. Hi all,

    Well I’m chuffed that there is an answer I have the same issue after installing VMWare. My problem is now … where do I change the binding order in Vista ?

    Cheers

  5. Dom, as Felicio said in #4, open up the list of “Network Connections,” press the alt key, click Advanced, Advanced Settings, Adapters and Bindings tab. Searching windows help for “binding” should provide a more detailed walk through. YMMV, but worked for me. Thanks again to lain for posting this nugget of knowledge.

  6. I agree with Felicio – changing the binding order of the adapters is much better as it resolves the problem rather than just working around it. Chances are if you have a loopback adapter or VMware adapter installed then you actually need it for something and disabling it isn’t ideal!

    This does seem to be a fairly common issue so if I get time over the next day or two I’ll probably do up some screenshots in the blog with some step-by-step instructions.

  7. YAY … I have found it. It was the TAB key that I was un aware of that shows the menu!! Admins every where used to the “old” school may have an issue with this. And I know there will be many more little gotya’s in Vista from the admin business perspective.

    Anyway, after finding the bings order I see that all is correct regards what comes first i.e. Local Area connection 1 , or 2 etc. Still is all good fun discovering Vista. I actually like it very much.

    Thanks all your info and help. Iain keep the blog going I’m sure it’s going to be most useful.

    Cheers
    -dom

  8. And theres more.

    I rushed the post a second ago thorough shear excitment! So please excuse the typos.

    Iain I reckon a few screen shots showing the bits of vista would be truly wicked for everyone new to the issue.

    Cheers Chaps
    -dom

  9. Changing the binding order does not seem to working for me. I have vmware installed and am trying to access a multicast stream using VLC. The multicast packets are always getting routed to the vmware adapters (which obliviously will not work). My main adapter is set first in the binding order. I even moved things around and VLC always sends it multicast packets to the same vmware adapter. Any ideas? If i change the metric in route table is works fine. But I cannot expect my end users to be able to have that level of expertise.

  10. I have experienced this the same problem using ODBC to configure my sql, with MS loop installed it seems to accept or block the Server broadcast on the network. if I disable loop back adapter I can see all the SQL servers on my network.
    The other is our application tries to communicate with LEAD_SERVER DICOM Server, with Loopback adapter enable the DICOM server this the loopback adapter is requesting info instead of the built in lan with valid IP and DNS…

    Has anybody got screen hot for Vista and XP…

  11. I have XP with wireless card and a built-in Ethernet card on my laptop. Internet access was through either connection depending on where I am. After a loopback adapter was installed, the internet connection will not work unless I disable the loopback adapter.
    Moving down the loopback adapter on the binding list didn’t help. But, when I changed the IP address on the loopback adapter to 10.10.10.10 (Non-routable IP), the internet connection is working again.

  12. i just made a new virtual machine connection between c drive and e drive c drive is my main operating system and e drive is my back up hard drive i want to install windows xp on and i have now i need help connecting e drive to the internet can any one help me here please??

  13. Hi Iain

    Apologize if this is a stupid question. I have been using loopback adapter in Win2K and XP. For the certain purposes, i set unusual IP address such as 100.x.y.z and it always works properly. System automatically generates a static route for 100.x.y.z with gateway and interface 127.0.0.1, as long as IP router is enabled (in XP i must do it via registry editor).

    A week ago i bought ASUS F80L with 4GB RAM and installed Win Vista Ultimate (32bit). The 1st problem i faced was that Vista could not be setup until i pulled out 2GB RAM. The 2nd problem wqs loopback adapter. Now i am focusing on the 2nd problem which is very important for my special application. Here is the story…

    As usual, at the final step i enabled IP route using regedit and setup WinPcap and loopback adapter with static IP of 100.x.y.z for my special application. Unfortunately, system doesn’t automatically generate a static route with gateway and interface 127.0.0.1. Vista even rejects when i explicitly add that static route. As result, loopback adapter inoperable, WinPcap fail and can’t get connection to my special application in the virtual network.

    Then i found your article and i have tried to follow your scenario. As virtual network connection is my highest priority regardless internet is connected, i move loopback adapter in the 1st order from its original order (at the bottom). Unfortunately it still doesn’t work. Disabling and reenabling it doesn’t help either.

    Highly appreciated if you can help me. Thank you.

    regards,
    Deru

  14. with vmware adapters enabled, the vpn connections are disabled showing the message “requires active connection” when I try to use the wireless adapter. This does not change, whatever the order of the bindings.

    workaround:

    1. go to “control panel”->”network and sharing center”->”manage network connections”

    (In Dutch this is:
    “configuratiescherm”->”netwerk status en -taken weergeven”->”Netwerkverbindingen beheren” )

    2. right click on the VPN connection and choose “Connect”

    Someone commented he likes Vista. I don’t know why this particular point is seen as a ‘good’ feature. It is preventing users from connecting although there is no actual reason for not being able to connect. Seems pretty unlogical to me.

  15. I was having the same problems connecting to VPNs in Vista after installed VMWare. Goto Control Panel\Network Connections, Press Alt, Select Advanced, Advanced Settings and untick Internet Protocol version 6 for all the bindings under VMware adaptors and make sure the Local Area Connection is at the top. Works for me šŸ˜‰

Leave a comment