NOTE: Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
Step 1: Configure the Server That Is Running Routing and Remote Access to Use a Static IP Address Pool
Windows 2000 Server
- Click Start, point to Programs, point to Administrative Tools, and then click Routing and Remote Access.
- Right-click the server that is running Routing and Remote Access, and then click Properties.
- Click the IP tab, click Static address pool, and then click Add.
- Type the start of the Internet Protocol (IP) address range in the Start IP address box, type the end of the IP address range in the End IP address box, and then click OK.
NOTE: Configure a pool of static IP addresses on a different network segment than the network segment on which the internal local area network (LAN) exists.
- Click to select the Enable IP routing check box (if it is not already selected).
- Click OK.
- Enable TCP/IP forwarding. For additional information about how to enable IP forwarding, click the article number below to view the article in the Microsoft Knowledge Base:
230082 How to Enable TCP/IP Forwarding in Windows 2000
Windows NT Server 4.0
- Click Start, point to Settings, click Control Panel, and then double-click Network.
- Click the Services tab, click Remote Access Service in the Network Services list, and then click Properties.
- Click Network, click to select the TCP/IP check box (if it is not already selected), and then click Configure next to TCP/IP.
- Click Use static address pool.
- Type the start of the IP address range in the Begin box, type the end of the IP address range in the End box.
NOTE: Configure a pool of static IP addresses on a different network segment than the network segment on which the internal LAN exists.
- If you want to exclude a range of IP addresses from the static address pool, type the starting IP address of the range that you want to exclude in the From box, type the ending IP address of the range that you want to exclude in the To box, and then click Add.
- Click OK, click OK, and then click Continue.
- Click the Protocols tab, click TCP/IP Protocol, click Properties, click the Routing tab, and then click to select the Enable IP Forwarding check box (if it is not already selected).
- Click OK, and then click Close.
- Click Yes to restart the computer.
Step 2: Configure the VPN Client TCP/IP PropertiesTo disable the Use Default Gateway on Remote Network setting in the VPN dial-up connection item on the client computer:
- Double-click My Computer, and then click the Network and Dial-up Connections link.
- Right-click the VPN connection that you want to change, and then click Properties.
- Click the Networking tab, click Internet Protocol (TCP/IP) in the Components checked are used by this connection list, and then click Properties.
- Click Advanced, and then click to clear the Use default gateway on remote network check box.
- Click OK, click OK, and then click OK.
Step 3: Connect to the Server That Is Running Routing and Remote AccessOn the client computer, connect to the Internet, and then establish a VPN connection to the server that is running Routing and Remote Access.
NOTE: You cannot connect to resources on the remote network because you have disabled the Use Default Gateway on Remote Network setting in the VPN TCP/IP configuration.
Step 4: Add a Static Route on the ClientAdd a static route on the client computer that uses the following configuration:
- The remote network is the destination.
- The correct subnet mask is used for the remote network.
- The first IP address from the static IP address pool that you configured in the "Step 1: Configure the Server That Is Running Routing and Remote Access to Use a Static IP Address Pool" section of this article is the gateway.
NOTE: The Routing and Remote Access server assigns this first IP address to its wide area network (WAN) Miniport driver.
NOTE: The -p switch is not supported on either Microsoft Windows Millennium Edition-based, Microsoft Windows 98-based, or Microsoft Windows 95-based computers.