Share via


Default Gateway is On-link after reboot

Question

Wednesday, June 15, 2016 6:11 PM

I have a fresh install of Windows 10 on a new Dell workstation. This install was from a MS Windows 10 disc and not Dell's bloatware DVD.

The default gateway for the system has two entries, one for our core office router, and one is On-link. On-link is above the office router entry and prevents my desktop from accessing anything other than the local network segment until I delete it and add the default gateway back on the system. This would not be that bad of a problem except with Windows 10's propensity to run updates and reboot at all hours of the night, if I have a network emergency and need to remote desktop in from home, I am no longer able because the default route is screwed up after a reboot. Here is the routing table:

C:\Windows\system32>route print
===========================================================================
Interface List
  7...64 00 6a 96 54 4e ......Intel(R) I210 Gigabit Network Connection
  5...64 00 6a 96 54 2d ......Intel(R) Ethernet Connection I217-LM
  1...........................Software Loopback Interface 1
  8...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0         On-link        172.27.9.1     20
          0.0.0.0          0.0.0.0       172.27.0.1       172.27.9.1     10
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      169.254.0.0      255.255.0.0         On-link        172.27.9.1     30
  169.254.255.255  255.255.255.255         On-link        172.27.9.1    266
       172.27.0.0      255.255.0.0         On-link        172.27.9.1    266
       172.27.9.1  255.255.255.255         On-link        172.27.9.1    266
   172.27.255.255  255.255.255.255         On-link        172.27.9.1    266
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link        172.27.9.1    266
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link        172.27.9.1    266
===========================================================================
Persistent Routes:
  None

IPv6 Route Table
===========================================================================
Active Routes:
 If Metric Network Destination      Gateway
  5    266 ::/0                     fe80::214:a9ff:fec6:fbff
  1    306 ::1/128                  On-link
  5    266 2606:7b00:0:4::/64       On-link
  5    266 2606:7b00:0:4::111c/128  On-link
  5    266 2606:7b00:0:4:50d4:fb1f:efce:d15b/128
                                    On-link
  5    266 2606:7b00:0:4:6884:de19:8de3:1a98/128
                                    On-link
  5    266 fe80::/64                On-link
  5    266 fe80::50d4:fb1f:efce:d15b/128
                                    On-link
  1    306 ff00::/8                 On-link
  5    266 ff00::/8                 On-link
===========================================================================
Persistent Routes:
  None

C:\Windows\system32>

Unfortunately I have not found a way to delete just the On-link entry. I have to delete the default route which removes both entries and then readd the router:

C:\Windows\system32>route delete 0.0.0.0
 OK!

C:\Windows\system32>route add 0.0.0.0 mask 0.0.0.0 172.27.0.1
 OK!

No, I do not have iTunes install so Bonjour is not installed.

John Fulton
Anchorage, AK

All replies (6)

Wednesday, June 15, 2016 7:39 PM

Looking it appears two NICs, are both connected? Do they get DHCP addresses or use static? Either not have a default gateway?

Do you have any third party security and or ant-virus software installed?


Wednesday, June 15, 2016 8:50 PM

The primary NIC used for office connectivity is DHCP run on our domain controller. It is handed a static address as I have several port forwards for network management software running. The 2nd NIC is used occasionally for testing DSL modems and has a static IP configured as 192.168.1.10/24 with no gateway. The DSL modems we use come up default with 192.168.1.1 and I don't want them to hand a default gateway to my system when I hook one up. We do have Malware Bytes anti-malware corporate. I have tried uninstalling that but it seems to not make a difference.


Wednesday, June 15, 2016 10:40 PM

In the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\ under the adapters (by GUID, but recognizable by the IP information contained) have any irregularities showing in the default gateway listings?


Wednesday, June 15, 2016 11:49 PM

All parameters look correct. There is only one gateway listed and it is correct. Now I have "fixed" the issue since the last reboot. Do I need to reboot and look at it?


Thursday, June 16, 2016 1:04 PM

Might be worth a look after a reboot but do not believe changing \ deleting routes affects the NIC settings.

Did a couple of tests on a 2 NIC machine did not get and issue. Can you disable the unused NIC in the BIOS or remove it as a test?


Thursday, June 16, 2016 1:36 PM

A quick and effective but maybe not optimal way (depending on your view for MS updates) is to disable the Windows Update Service. I have to do this for my laptop that I frequently connect to a mobile broadband router through cable. As it is not possible to set a wired connection to Metered (for reasons only MS can comprehend) this is necessary as to not consume my monthly quota when a heavy update arrives.

You can always reenable the service during work hours to check for updates.
Note: Setting it to Manual will cause Windows 10 to start it if stopped! It needs to be set to Disabled.

Best regards, George