METRIC
is never recreated. I have no idea why that is, but it's probably just Windows trying to outsmart the user. You may have better success with using '.. METRIC 1'. Also, to re-create On-link
, you simply use 0.0.0.0
. Network Destination
. So they need to be recreated as you noticed.netsh winsock reset
. It requires reboot of the machine, but it just worked for me.