Compartir a través de


A dial-up router-to-router VPN connection

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

A dial-up router-to-router VPN connection

A router-to-router VPN connection is typically used to connect remote offices together when both routers are connected to the Internet through permanent WAN links, such as T1 or Frame Relay. In this configuration, the VPN connection is always available. However, when a permanent WAN link is not possible or practical, you can configure a dial-up router-to-router VPN connection.

The following illustration shows a dial-up router-to-router VPN connection.

A dial-up router-to-router VPN connection

A dial-up router-to-router VPN connection consists of two demand-dial interfaces and two static routes that are configured on the VPN client (the calling router):

  1. A demand-dial interface to dial in to a local Internet service provider (ISP).

  2. A demand-dial interface for the router-to-router VPN connection.

  3. A static host route to dynamically connect to the Internet.

  4. A static route to reach the locations of the corporate office.

A dial-up router-to-router VPN connection is automatically established when you route traffic to a specific location. For example, in a branch office configuration, when a packet is received to be routed to the corporate office, the branch office router uses a dial-up link to connect to a local Internet service provider (ISP) and then creates a router-to-router VPN connection with the corporate office router located on the Internet.

Note

  • This discussion assumes that the corporate office router (the answering router) is connected to the Internet by using a permanent WAN link. It is possible to have both routers connected to the Internet by using a dial-up WAN link. However, this is only feasible if the ISP supports demand-dialing routing to customers; the ISP calls the customer router when an IP datagram is to be delivered to the customer. Demand-dial routing to customers is not widely supported by ISPs.

To configure a dial-up router-to-router VPN connection at the branch office router, do the following:

  1. Create a demand-dial interface for the Internet connection that is configured for the appropriate equipment (a modem or ISDN device), the phone number of the local ISP, and the user name and password to gain Internet access.

  2. Create a demand-dial interface for the VPN connection with the corporate office router that is configured for a VPN port (a PPTP or L2TP port), the IP address of the interface on the Internet for the corporate office router, and a user name and password that can be verified by the VPN server. The user name must match the name of a demand-dial interface on the corporate office router.

  3. Create a static host route to the corporate office router that uses the ISP demand-dial interface.

  4. Create a static route (or routes) for the IP network IDs of the corporate intranet that uses the VPN demand-dial interface.

To configure the corporate office router, do the following:

  1. Create a demand-dial interface for the VPN connection with the branch office that is configured for a VPN device (a PPTP or L2TP port). The demand-dial interface must have the same name as the user name in the authentication credential that is used by the branch office router to create the VPN connection.

  2. Create a static route (or routes) for the IP network IDs of the branch office that uses the VPN demand-dial interface.

The router-to-router VPN connection is automatically initiated by the branch office router through the following process:

  1. Packets sent to a corporate hub network location from a computer in the branch office are forwarded to the branch office router.

  2. The branch office router checks its routing table and finds a route to the corporate intranet network ID, which uses the VPN demand-dial interface.

  3. The branch office router checks the state of the VPN demand-dial interface and finds it is in a disconnected state.

  4. The branch office router retrieves the configuration of the VPN demand-dial interface.

  5. Based on the VPN demand-dial interface configuration, the branch office router attempts to initialize a router-to-router VPN connection at the IP address of the corporate office router on the Internet.

  6. To establish a VPN, either a TCP (by using PPTP) or UDP (by using L2TP/IPSec) packet must be sent to corporate office router that acts as the VPN server. The VPN establishment packet is created.

  7. To forward the VPN establishment packet to the corporate office router, the branch office router checks its routing table and finds the host route that is using the ISP demand-dial interface.

  8. The branch office router checks the state of the ISP demand-dial interface and finds it is in a disconnected state.

  9. The branch office router retrieves the configuration of the ISP demand-dial interface.

  10. Based on the ISP demand-dial interface configuration, the branch office router uses its modem to dial and establish a connection with its local ISP.

  11. Once the ISP connection is made, the VPN establishment packet is sent to the corporate office router.

  12. A router-to-router VPN connection is negotiated between the branch office router and the corporate office router. As part of the negotiation, the branch office router sends authentication credentials that are verified by the corporate office router.

  13. The corporate office router checks its demand-dial interfaces and finds one that matches the user name sent during authentication and changes the interface to a connected state.

  14. The branch office router forwards the routed packet across the VPN and the corporate office router forwards the packet to the appropriate intranet location.

  15. When the intranet location responds to the packet sent to it by the user in the branch office, the packet is forwarded to the corporate office router.

  16. The corporate office router checks its routing table and finds a route to the branch office network that uses the VPN demand-dial interface.

  17. The corporate office router checks the state of the VPN demand-dial interface and finds it is in a connected state.

  18. The response packet is forwarded across the Internet by using the VPN connection.

  19. The response packet is received by the branch office router and is forwarded to the original user.