Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a windows 7 pc in a windows 2003 server environment. every now and then (about twice a day), the gateway setting is changed to and

Now, the setting is correct, but the is not correct. In fact, it blocks all network traffic.

  • There are no other computers showing this behaviour.
  • After reinstallation of Windows 7, the problem occurs again.
  • windows calls the network adapter 'Broadcom Netlink gigabit ethernet'

How do I stop this particular computer from getting an extra gateway address?

share|improve this question

10 Answers 10

I would indeed look for a rogue DHCP server dishing out incorrect information. DHCP should not ever issue as a default gateway, but it is possible to implement this. It might also be a problem with one of the other virtual interfaces. Windows 7 adds several of new virtual interfaces for features like the 4to6 bridge & such.

When this problem occurs... can you snag a copy of your routing table & post back here. Also pay close attention to the metric.

share|improve this answer

It sounds like something is corrupt in your TCP/IP stack on the client. Here's my default answer for when that happens. Reset winsock. Reset TCP/IP. Reboot computer. Here's how you do the first 2 things:

netsh winsock reset c:\winsock.log
netsh int ip reset c:\ipreset.log

share|improve this answer

The sounds a lot like ICS (Internet Connection Sharing), you might check to ensure that it is not possibly enabled via the NIC's "advanced" properties.

share|improve this answer
sorry, but what has this IP address got to do with ICS? – Cold T Feb 23 '12 at 17:26
That is the default gateway as part of the IP plan that ICS assigns. Enabling ICS will assign onto the NIC that it is enabled on. – user48838 Feb 23 '12 at 17:32

I have seen the same issue. I checked out DHCP server logs and for some reason the DHCP server (Windows Server 2008) is sending two responses back to our windows 7 clients within 3 seconds of each other. On the client I have the real IP address with the correct gateway, and also a second gateway of The client then can only find IP address within the local subnet. Also, the windows 7 clients show both a "Work" and "Public" network type. Disabling the network interface and running a fix (in Windows 7) seems to fix the issue and the seconds "Public" network disappears. Not sure what is causing this initially. Anybody find anything else out?

share|improve this answer
This does not answer the question. It is more of a comment – James A Mohler Dec 6 '12 at 1:05

I found a way of solving this problem. Open a command prompt with administrator permissions on the client computer and run the following commands:

route print

Note: This will show you the routing table where you will see the wrong gateway. To remove it do the following:

route delete
ipconfig /renew

And the gateways will be ok. For me, this is working.

share|improve this answer

In my case the redunant default gateway was due to the Bonjour Service that was installed along with Adobe CS Suite. The service was incorrectly installed and was named someting like ##Id_String1.6844F930_1628_4223_B5CC_5BB94B879762##.

To correct the problem disable the service. Make sure you disable the correct service, the service's executable is C:\Program Files\Bonjour\mdnsresponder.exe.

  • Open Services by typing services.msc at the command prompt (or via the menu in Administrative Tools)
  • Open the properties of the ##Id_String1... Service (or Bonjour Service) and set Startup Type to Disabled
share|improve this answer

It's an old post but I had the problem a few minutes ago and a clear explanation of this problem. I just found a bug when the IPv4 is set manually you can set it to automatic without loosing the gateway you putted in, not sure how I managed to do it.

That makes a double gateway.

To remove that go to Cntrol Panel > Network & Internet > Network & Sharing Center > Card Setting Right click your actually connected card then go to property and in IPv4 remove the gateway.

share|improve this answer

The Win2k3 server is running the DHCP service? Are you sure there aren't any other DHCP servers on the network, eg the router?

What do you mean by 'double gateway'? The TCP/IP properties of a NIC only support having a single gateway, you can't have 'double gateway'.

A gateway of can often mean that negotiation of a DHCP lease has failed, and no gateway has been set. This will be obvious because when this happens you also don't get assigned an IP address, and your IP will be self-assigned to an address in the 169.254.xx.xx range.

If this is happening, a workaround is to go into the NIC's tcp/ip properties, and under the 'Alternate Configuration' tab, configure an IP/subnet mask and gateway address that matches the correct values for your current network. That way if DHCP negotiation fails it will fall back to this configuration and things will keep working. Note this doesn't treat the underlying cause of the problem.

share|improve this answer
You can have as many default gateways as you want. There is no limit. – TheCompWiz Sep 3 '10 at 14:47
Please re-read my post. You can only have a single default gateway per NIC. It is possible to have multiple gateways with multiple NICs, but I don't see how you could have more than one default gateway per NIC, as this goes against the very definition of 'default'! – imoatama Sep 6 '10 at 4:05
imoatama - you can have several default gateways!! you can go to TCP/IP settings, advanced, in "IP Settings" there is Add default gateway. – miro23 Feb 16 '11 at 16:47
-1. Obviously never seen advanced configuration options for tcp. – TomTom Feb 23 '12 at 13:49

This is most certainly caused by an IP-conflict on the network. Check your DHCP server and remove any BAD_ADDRESS, then restart the client.

share|improve this answer
-1 Sorry, but no. If his local IP was 0s or auto-ip then maybe yes; but the DG getting set to 0s isn't an IP conflict. – Chris S Feb 23 '12 at 13:57

In that case you can provide Static IP first then reboot the system and provide the DHCP (obtain IP automatically). Then it will be connected to your Domain.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.