Question Mystery connection loss

jjgurley

Distinguished
Jan 27, 2015
66
2
18,545
Latest Win10 version, wired desktop.

My desktop runs a batchfile every night that connects an L2TP Vpn (using MS built-in) to the office, transfers some files, then disconnects the VPN (using RASDIAL).

Occasionally, my internet connection is bad the following morning. I can log into my router from the desktop and ping and trace to the world, but the desktop can't reach beyond the subnet. Here are the things I've tried:
  1. disable/re-enable the adapter
  2. delete the VPN adapter
  3. Compare the routing table between the failed state and working state. They are identical except the Interface List includes the VPN adapter and the IVP6 table has one extra entry.

I've been re-booting to fix it, but I just discovered that simply logging off/on fixes it.

Any suggestions?
 

jjgurley

Distinguished
Jan 27, 2015
66
2
18,545
Triggered by my initial email, I took a fresh reboot, connected the VPN, disconnected the VPN, and then verified the network was up. The VPN adapter does not appear in the Interface List of the route table and the extra IVP6 entry is not there, so I'll look into removing an entry from the Interface List as a possible bandaid.