Simulating Connection Persistence When the Internet Link Changes
Applies To: Windows 7, Windows Server 2008 R2
In the previous section, you tested a remote connection with VPN Reconnect settings. Now we can simulate the interface switch for the remote connection with VPN Reconnect and demonstrate seamless reconnection.
Following are the steps on CLIENT1 required to simulate the interface switch:
Establish the remote connection with VPN Reconnect between the client computer and the VPN server.
Disconnect the client computer from the local internet interface (Ethernet – Wired LAN). Note here that the VPN Reconnect connection still sustains and does not get automatically disconnected.
Establish the internet interface through a Wireless LAN. The VPN Reconnect connection will automatically detect the new interface and will switch to it, restoring the VPN connection and application connectivity.
This step assumes that a wireless access point for Internet is available on the client side for CLIENT1 to establish the Internet interface. For more information, see 4 steps to set up your home wireless network on the Microsoft Web site. Alternatively, for simulating the VPN Reconnect switch without a wireless network, you can:
- Remove the Ethernet cable and connect to a different Ethernet switch in the same IP subnet.
- Remove the Ethernet cable and connect to different switch in a different IP subnet.
- Verify that the connection switch was completed successfully.
To establish the remote connection with VPN Reconnect between the client and the VPN server
On CLIENT1, click the network icon in the notification area of the Start bar, which by default is in the lower right of the display.
Click VPN Reconnect Connection, and then click Connect.
In the connection dialog box, click Connect.
Verify that the connection was completed successfully: Click the network icon in the notification area of the Start bar again. The VPN Reconnect Connection displays the status Connected.
To disconnect the client from the local internet interface
On CLIENT1, unplug the Ethernet cable from your network adapter.
Click the network icon in the notification area of the Start bar again. The status of the VPN Reconnect Connection has changed to Dormant: Server Unavailable.
To establish the Internet interface through a wireless (or other) network connection
In Network and Sharing Center, click Connect to a network.
Select the wireless (or other) Internet connection from the list of available connections, and then click Connect.
Open Network and Sharing Center and under View your active networks, note Identifying… for your new internet interface.
Wait for a few seconds until Internet connectivity is restored. The VPN Reconnect connection automatically restores the application connectivity after the restoration of Internet connectivity.
Click the network icon in the notification area of the Start bar again. The status of your connection changes to Dormant: waiting to reconnect, and then changes to Connected.
Click Start, type cmd and then press ENTER.
In the Command Prompt window, type ping dc1.contoso.com.
Verify that you can successfully ping DC1 again.
In this guide you configured a lab computer to serve as a VPN gateway server that could accept IKEv2-based VPN connections from a remote client. For more information about RRAS and VPN servers, see Routing and Remote Access Server (http://go.microsoft.com/fwlink/?linkid=149606) in the Windows Server Technical Library.