Deleted route automatically reappears

beginn_er

Distinguished
Jun 30, 2011
2
0
18,510
I have not been able to find a solution for this problem so I am hoping the smart people here can help me.

I have 2 NICs in my Windows 7 PC at work.
NIC #1 connects to our private network and is also how I connect to the internet.
NIC #2 connects to our customer's network and does not allow internet connectivity for me.

When I first boot up my Windows 7 machine I get the following info in route print:

route.jpg


Despite the fact that I have a persistent route with metric 1 to send my internet traffic to the 172 subnet, the internet requests go to the 10 subnet. I am guessing that is because the non-persistent route to the 10 subnet has a metric of 20 vs. the 21 for the 172 subnet. I delete the route 0.0.0.0 mask 0.0.0.0 10.242.1.254 and I am able to connect to the internet again.

HOWEVER, after something like 4-6 hours, (without rebooting) the bad route automatically reappears in my route table! I become aware of it because I suddenly have connectivity problems. There are no entries in the Windows Logs that seem to be related (i.e., no DHCP renewal requests.) so I do not know how or why it reappears.

How do I make the route 0.0.0.0 mask 0.0.0.0 10.242.1.254 go away permanently?

Thank you!
 
I think I figured it out. In win 7, I went into the "Internet Protocol Version 4 (TCP/IPv4)" properties --> Advanced and unchecked the "Automatic Metric" checkbox. I entered "30" for the metric to make it rank lower than the other interface (which is "21").

It seems to work so far...
 

TRENDING THREADS