0.0.0.0 Default Gateway

You’re having trouble connecting to the internet from your Windows Server (or Vista as I’ve read elsewhere).  You ping an internet site and see the IP address but receive “destination host unreachable”. You go to the command prompt and type “ipconfig /all” to investigate your IP settings.  You see that the default gateway is set to “0.0.0.0” as the first default gateway IP address.  Doesn’t look right, of course.  You check the IP settings and don’t see “0.0.0.0” specified as a default gateway.  What to do?  This is what I did to resolve the problem for my Windows Server 2008 machine:

  1. Open a command prompt.
  2. Type “route delete 0.0.0.0”.
  3. Configure the IP settings to add back your correct default gateway IP address.

That did the trick.

Technorati Logo , , , , ,

2 Responses to “0.0.0.0 Default Gateway”


  1. 1 Sean Wallbridge

    Wierd. I haven’t come across that specifically but have seen similar behaviour in 2 other environments recently caused by DHCP. I blogged about it here: http://blog.brainlitter.com/archive/2009/04/19/strange-windows-dhcp-server-issue-%E2%80%93-router-option-003-goes-missing-on-service-restartreboot.aspx

    Maybe related?

  2. 2 Bernard Macias

    This a is weird issue, I am glad I am not the only person experiencing this. You can also resolve this issue using ‘netsh interface ip set address name=”Local Area Connection” static ‘

Leave a Reply




Bad Behavior has blocked 81 access attempts in the last 7 days.