Home > Computers and Internet > Fixing connection issues when 0.0.0.0 is set as the default gateway

Fixing connection issues when 0.0.0.0 is set as the default gateway

I’ve been happily using various Windows 7 builds for a while now, including the recent release of Windows 7 RC (build 7100). There are many UI improvement that help me be productive – especially on a laptop when not connected to external monitors. The Shell has made significant performance improvements, and while I never found UAC prompts to be an issue I do like that there’s far fewer of them when I’m changing configuration settings while exploring the possibilities.

At home I decided to update our Vista SP1 Media Center to Win7 RC. Almost everything went smoothly except that on boot my machine couldn’t connect to the Internet. When I looked at the Network and Sharing Center, “Unidentified network” showed up. To check my network configuration I dropped into a command prompt and ran “ipconfig /all” only to find that I had a new default gateway address: 0.0.0.0”. Disabling and re-enabling the NIC fixed the issue until the next reboot.

Then I was pointed at KB970313. It seems there’s a race condition at startup – which also seems to have gained a boost with Win7 – where if the Apply Bonjour service starts before my NIC retrieves settings from my router, the default gateway 0.0.0.0 is added. And while their web page claims, “Thanks to Bonjour technology, getting computers and smart devices to work together is as easy as connecting them”, it had quite the opposite effect for me: no connectivity to the outside world.

If you’re having issues connecting and see “Unidentified network”, fixing the issue is fairly easy: disable the service, then disable and re-enable your NIC. Alternatively you can reboot your machine.

  1. Click on Start.
  2. Type services.msc and press Enter. On Vista you may need to confirm the UAC prompt.
  3. Find the Bonjour service. This may be tricky since it’s open source and may not display the same. But you can check suspected services for the typical path “C:\Program Files\Bonjour\mdnsresponder.exe”.
  4. Right click on the service and select Properties.
  5. Change the Startup type to Disabled.
  6. Click the Stop button. You can then close the Services window.
  7. Reboot the machine.

But what installed it? A disabled service begs the question, why even have it installed?

While perhaps not as impressive as Process Monitor, I have my own set of tools I’ve been working on occasionally. The Windows Installer PowerShell Module exposes Windows Installer APIs to PowerShell. By combining a few cmdlets I can examine objects through a pipeline to find what product installed “C:\Program Files\Bonjour\mdnsresponder.exe”.

PS> get-wicomponentinfo | where { $_.path -ieq 'C:\Program Files\Bonjour\mDNSResponder.exe'} | get-wiproductinfo

ProductCode                            ProductVersion      ProductName
———–                            ————–      ———–
{D0DFF92A-492E-4C40-B862-A74A173C25C5} 3.0                 Adobe Version Cue CS3 Client

Unfortunately I can’t remove the product without breaking the Photoshop CS3, but having disabled the service I shouldn’t have to worry about not being able to connect to the Internet.

Advertisements
  1. jaydee
    May 29, 2009 at 7:58 am

    you sir are my hero…ive had this issue in and and out for a bit but could never figure it out, just rebooted and usually that fixed it.anyhow, i upgraded from win7 beta to win7 rc a few days ago and it was working alright (though win7 beta runs much better than rc in my opinion) and i installed the full adobe cs3 suite the other night.. since then i had issues but it didnt click that this could of been the problem getting the 0.0.0.0 gateway issue.(i dont have itunes installed atm either, but will need it for my phone unfortunatly)but as you said i found this service, i stopped and disabled it then reboot and here i am =)for everyones information, the service i stopped was called ##Id_String1.6844F930_1628_4223_B5CC_5BB94B879762##once i disabled that, all was good. i’ll post back here if it breaks againjaydee

  2. Nick
    September 20, 2009 at 8:15 am

    Thanks Heath. I’ve been trying to work that one out for a few days now! In my case the Bonjour service came with the TiVo Desktop software. Rather than disabling Bonjour completely, I’ve set it to have a deferred start; that seems to be working out OK.

  3. John
    October 9, 2009 at 1:13 am

    I second the thanks! My computer just restarted while installing CS3 before it was done, probably a conflict with a program I had running during the install.Anyway, when I rebooted, I had no internet. I did a system restore to get back to having internet access, found this post and my problem was solved without too much frustration(running Windows 7 Enterprise). The CS3 install finished just fine by simply running it again and I have access to the internet once more.Thanks again!

  4. Evert
    January 21, 2010 at 9:12 am

    Just what I was looking for. Thanks! 🙂

  5. Erik
    May 6, 2010 at 11:43 pm

    Great Post. Saved me some time tracking this down. The behavior didn’t present itself when I installed the software, but rather a month later when we moved offices. I was convinced there was something wrong with the network or servers from the move since nothing else had changed.

  6. V
    December 17, 2010 at 7:53 am

    God bless you for that mini post. This helped us so much during fighting with client crazy pc, smashing default routs after reboot and arping everything on sight

    THANK YOU!

  7. David
    December 29, 2010 at 9:03 am

    Super helpful. Thanks for posting. Surprised that MS wouldn’t have fixes more readily available on its website. Nonetheless, thanks for taking the time to share your effort. I used the “delayed start” (rather than fully disable) and that seems to do the trick on my network.

  8. March 19, 2011 at 3:46 pm

    Hi

    This was the solution for me, whem I suddenly have this “unidentified network” added.

    What I did instead of “disable” the service, was try the “Automatic (delayed start)” option, and it works great!
    I may not need this bonjuor service enabled, but for whom do need it, I believe this is the way to go…

    /thanks again!

  9. Tess
    May 31, 2011 at 4:44 am

    Thanks a bunch. Your solution fixed the problem.
    I am running Windows 7 and recently installed Photoshop CS3 and the problem came up.

  10. Tess
    May 31, 2011 at 4:48 am

    I also may try doing this:
    http://kb2.adobe.com/cps/400/kb400982.html
    Shows how to remove Bonjour for Windows (CS3 only).

  11. July 13, 2011 at 12:37 pm

    Hi there.

    I can’t find this Bonjour at the services.msc

    I have Windows 7 Home Edition.

  12. Luke
    September 29, 2011 at 2:17 pm

    Agrred, great post and thanks so much this has saved me so much time!

  13. Florian
    February 26, 2012 at 2:15 pm

    THANK YOU ! Obviously I had the same problem and you made it clear to me.

  14. Sanami_hutatsu
    April 15, 2012 at 8:57 pm

    Thank you. This is very smart way because we need no uninstall after all. I just wanna this solution.

  15. November 29, 2012 at 9:24 am

    Awesome! Thx! The wifeys desktop has been plagued with this for months and needed to have the network adapted disabled and re-enabled after every reboot (the only way previously I’d found to temporarily resolve the problem) but this fixed it once and for all!!! 😀

  1. September 5, 2011 at 2:02 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: