Vista/Server 2008 Default Gateway is

Mar 02, 2010 - by Ian Hasell

We have had several instances where a Vista PC or a Server 2008 machine has been connected to a network and despite picking up an IP address from DHCP has failed to go online and sometimes even failed to communicate with the rest of the network. When checking ipconfig the primary address for the default gateway reads which is only relevant when using dial up networking. The secondary address in the list is the correct one.

So how do you remove the entry for the default gateway address?

Use netsh from the command line to change your network configuration. In this instance open command prompt with elevated privileges and type the following:

netsh interface ipv4 delete address "Local Area Connection"
addr=X.X.X.X gateway=

where X.X.X.X is your local IP address

Now check ipconfig again and the should have disappeared leaving the correct default gateway address.