No internet access after disconnecting from VPN
Summary: windows fails to restore normal network after disconnecting from a VPN network, the PPP adapter which represent VPN connection stays in the interface list even after disconnection. system has no network access to anywhere. Synopsis: a. Win 7 Pro x64 Client computer in a home network without any corporate firewall software connects successfully to VPN using windows VPN connection. (Rasdial) b. after disconnecting from VPN, client lost internet and local connections. c. ipconfig -all shows PPP adapter (VPN) still exits as an network interface in nonoperational state. d. pinging any ip address except localhost results in "no resources" error. e. trying to dial VPN again results in "element not found" error. Solutions I tried so far: ipconfig -release and ipconfig -renew. Disable / Enable Wireless Adapter. rasdial "vpn connection" /d currently the only solution is restarting the PC after each VPN usage which is very frustrating.
June 16th, 2012 11:26am

Have you filled in alternative tcp/ip settings? For trobleshooting use network monitor. regards Milos
Free Windows Admin Tool Kit Click here and download it now
June 16th, 2012 2:27pm

Have you filled in alternative tcp/ip settings? For trobleshooting use network monitor. regards Milos
June 16th, 2012 2:40pm

Thanks for the answer Milos, what do you mean by alternative tcp/ip settings? another Static IP address? and about the network monitor I already tried that with netstat, most of connections got stock with VPN IP address in Close_wait state. I speculate that windows can't release or drop the VPN connection successfully and networking got stock in the middle of nowhere.
Free Windows Admin Tool Kit Click here and download it now
June 16th, 2012 6:23pm

Hi, May I know the statu of the network icon that is on the lower right corner of the desktop? What is the TCP/IP settings? Have a try to run the commands below with high privilege and check it again. >ipconfig /flushdns >netsh winsock resetIvan-Liu TechNet Community Support
June 18th, 2012 2:38am

Hi, May I know the statu of the network icon that is on the lower right corner of the desktop? What is the TCP/IP settings? Have a try to run the commands below with high privilege and check it again. >ipconfig /flushdns >netsh winsock resetIvan-Liu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2012 2:43am

Hi Ivan and thanks for your reply, I tried "netsh winsock reset", unfortunately it didn't fix the problem. The status Icon is normal, no indication of limited or no connectivity, I can ping and open the router webpage at 192.168.1.1. here is the result of ip config command, hope it helps, if you want I can provide netstat result or any other net diag command you want. as you can see the PPP adapter still in the list which it shouldn't be. C:\Windows\system32>ipconfig -all Windows IP Configuration Host Name . . . . . . . . . . . . : PC11 Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : ASUS 802.11n Wireless LAN Card Physical Address. . . . . . . . . : DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::e5f6:2dba:87d2:24bd%23(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.3(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Tuesday, June 19, 2012 10:11:44 PM Lease Expires . . . . . . . . . . : Wednesday, June 20, 2012 10:12:10 PM Default Gateway . . . . . . . . . : 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 393245116 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-6B-9B-DF-E0-CB-4E-BD-BA-97 DNS Servers . . . . . . . . . . . : 192.168.1.1 NetBIOS over Tcpip. . . . . . . . : Enabled PPP adapter : Media State . . . . . . . . . . . : Media unoperational Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Office Physical Address. . . . . . . . . : DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Autoconfiguration IPv4 Address. . : 169.254.0.32(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : 0.0.0.0 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter Teredo Tunneling Pseudo-Interface: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{5990D2D5-1838-4CFD-911A-10108283C856}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{56840267-98F4-49BF-A6EE-85724D65C35E}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes
June 19th, 2012 7:28pm

Hi Ivan and thanks for your reply, I tried "netsh winsock reset", unfortunately it didn't fix the problem. The status Icon is normal, no indication of limited or no connectivity, I can ping and open the router webpage at 192.168.1.1. here is the result of ip config command, hope it helps, if you want I can provide netstat result or any other net diag command you want. as you can see the PPP adapter still in the list which it shouldn't be. C:\Windows\system32>ipconfig -all Windows IP Configuration Host Name . . . . . . . . . . . . : PC11 Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : ASUS 802.11n Wireless LAN Card Physical Address. . . . . . . . . : DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::e5f6:2dba:87d2:24bd%23(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.3(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Tuesday, June 19, 2012 10:11:44 PM Lease Expires . . . . . . . . . . : Wednesday, June 20, 2012 10:12:10 PM Default Gateway . . . . . . . . . : 192.168.1.1 DHCP Server . . . . . . . . . . . : 192.168.1.1 DHCPv6 IAID . . . . . . . . . . . : 393245116 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-6B-9B-DF-E0-CB-4E-BD-BA-97 DNS Servers . . . . . . . . . . . : 192.168.1.1 NetBIOS over Tcpip. . . . . . . . : Enabled PPP adapter : Media State . . . . . . . . . . . : Media unoperational Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Office Physical Address. . . . . . . . . : DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Autoconfiguration IPv4 Address. . : 169.254.0.32(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : 0.0.0.0 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter Teredo Tunneling Pseudo-Interface: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{5990D2D5-1838-4CFD-911A-10108283C856}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{56840267-98F4-49BF-A6EE-85724D65C35E}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes
Free Windows Admin Tool Kit Click here and download it now
June 19th, 2012 7:33pm

Do you mean that you cannot ping your router 192.168.1.1 successfully? When your VPN is connected, could you access to the internet? Have a try to uncheck the option "use default gateway on remote network". Ivan-Liu TechNet Community Support
June 19th, 2012 10:30pm

Do you mean that you cannot ping your router 192.168.1.1 successfully? When your VPN is connected, could you access to the internet? Have a try to uncheck the option "use default gateway on remote network". Ivan-Liu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 19th, 2012 10:35pm

Ivan thanks again for you answer and sorry for my delayed answer. Nope, it didn't help and it's not an option for me, I need the default gateway on remote network setting for some of our business softwares to work correctly. I tried playing with VPN connection properties, so far I found out with "unchecking internet protocol version 6" system will restore local internet connection upon exiting from VPN successfully. but can not dial any VPN connection again (regardless of it's setting) without restarting the computer.
June 27th, 2012 9:00am

Ivan thanks again for you answer and sorry for my delayed answer. Nope, it didn't help and it's not an option for me, I need the default gateway on remote network setting for some of our business softwares to work correctly. I tried playing with VPN connection properties, so far I found out with "unchecking internet protocol version 6" system will restore local internet connection upon exiting from VPN successfully. but can not dial any VPN connection again (regardless of it's setting) without restarting the computer.
Free Windows Admin Tool Kit Click here and download it now
June 27th, 2012 9:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics