Demand-Dial Routing |
Demand-dial routing is the forwarding of packets across a Point-to-Point Protocol (PPP) link. The PPP link is represented inside the Windows 2000 router as a demand-dial interface. Demand-dial interfaces can be used to create on-demand connections across dial-up, non-permanent or persistent media.
With local area network (LAN) and permanent wide area network (WAN) links, the interface that is being used to forward the packet is always in an active or connected state. The packet can be forwarded without having to create the physical or logical connection. However, the demand-dial interface can either be in a connected state or a disconnected state. If in a disconnected state when the packet is being forwarded, the demand-dial interface must be changed to a connected state before the packet can be forwarded.
The connection establishment process, consisting of creating a physical connection or a logical connection and a PPP connection, introduces a delay in the forwarding of the packet called the connection establishment delay. The length of the connection establishment delay varies for the type of physical or logical connection being established. For example, the connection establishment delay for analog phone lines or X.25 dialing in to a packet assembler-disassembler (PAD) can be 10 to 20 seconds or more. For Integrated Services Digital Network (ISDN) lines, the connection establishment delay can be as small as 3 to 5 seconds.
The connection establishment delay is an important consideration for applications being used across a demand-dial connection. There are two behaviors of applications to consider:
Applications that have long time-outs or multiple retries might not fail while waiting for the link to become available. Interactive applications such as Web browsers and Telnet might fail when first connecting. However, when the user retries the connection attempt, it succeeds because the first connection attempt created the demand-dial connection.
Once the connection is established, packets are forwarded across the demand-dial connection. Because the costs of demand-dial connections are typically time sensitive, after a configured amount of idle time the demand-dial link is terminated. Demand-dial connections have the benefit of allowing the user to use cheaper dial-up WAN links and only pay for the link when it is being used.
Demand-dial routing is not the same as remote access; remote access connects a single user to a network, and demand-dial routing connects networks together. However, both remote access and demand-dial routing use PPP as the protocol mechanism to negotiate and authenticate the connection and encapsulate data sent on the connection. As implemented in the Windows 2000 Routing and Remote Access service, both remote access and demand-dial connections can be enabled separately but share the same: