0.0.0.0 nic gateway, server 2008
by Travis on May.11, 2010, under Tech Stuff
Figured this oddity was worth posting.
I was loading up a server today and for some reason, despite setting the nic with static ip, gw and dns information I couldn’t hit outside ip addresses.
When I submitted an “ipconfig /all” I noticed my gw in the config but also noticed 0.0.0.0 listed with and above it. Wtf?
Anyway, reboot didn’t fix it, resubmission of configuration didn’t fix it, but the following did.
1) Open up ‘cmd.exe’ in administrator mode.
2) Type ‘route delete 0.0.0.0’
3) Resubmit your ip settings putting the correct default gateway in.
Should be fine now. (Even after reboot) =)
Not sure what the deal was, but at least its a simple fix for a stupid issue.
