Configuration example for NT server-to-router callback with DCC

Network requirements

As shown in Figure 55:

Configure PPP callback with C-DCC between Router and PC, specifying Router as the callback client and NT Server as the callback server to make return calls according to dialer routes.

Figure 55: Network diagram

Configuring Router

# Configure a dial access control rule for dialer access group 1. Create a local user account usernt for NT Server and configure PPP authentication for the account.

<Router> system-view
[Router] dialer-rule 1 ip permit
[Router] local-user usernt 
[Router-luser-userc] password simple usernt
[Router-luser-userc] service-type ppp
[Router-luser-userc] quit 

# Configure physical layer parameters for interface Serial 2/0.

[Router] interface serial 2/0
[Router-Serial2/0] physical-mode async
[Router-Serial2/0] async mode protocol

# Configure PPP encapsulation and other PPP parameters.

[Router-Serial2/0] link-protocol ppp
[Router-Serial2/0] ppp authentication-mode pap
[Router-Serial2/0] ppp pap local-user Router password simple Router

# Configure the interface to obtain an IP address through PPP negotiation.

[Router-Serial2/0] ip address ppp-negotiate

# Configure the interface as the PPP callback client.

[Router-Serial2/0] ppp callback client
[Router-Serial2/0] dialer timer enable 15

# Enable C-DCC and configure C-DCC parameters on the interface.

[Router-Serial2/0] dialer enable-circular
[Router-Serial2/0] dialer-group 1
[Router-Serial2/0] dialer route ip 100.1.1.254 8810052 
[Router-Serial2/0] quit

# Configure the user interface to be used and enable modem dial-in and dial-out on it.

[Router] user-interface tty1
[Router-ui-tty1] modem both

Configuring NT Server

For Microsoft Windows users, the server must be Windows 2000 and a later version such as Windows XP. For the purposes of this example, Windows XP is used.

To create a dialup connection with callback capability enabled:

  1. Right-click the My Network Places icon, and select the Properties option from the popup menu.

    The Network and Dial-up Connections window appears.

  2. Right-click the Make New Connection icon, and select the New Connection…option from the popup menu.

    The Network Connection Wizard window appears.

  3. Click Next.

    The Network Connection Type dialog box appears.

  4. Select Set up an advanced connection. Click Next.

  5. Select the Accept incoming connections option, and click Next to set the devices for incoming connections. Click Next.

    The Incoming Virtual Private Network (VPN) Connection window appears.

  6. Select the Allow virtual private connections option if the server is connected to the Internet to provide Internet access requests for the client. Otherwise, select the Do not allow virtual private connections. Then click Next.

    The User Permissions window appears, where you can set the usernames and passwords for the clients allowed to call back.

  7. Click Add. In the popup New User dialog box, add the username and password for the PPP callback client and click OK.

    An icon for the new user account appears in the box in the User Permissions window.

  8. Select the new user and click Properties.

    The properties setting dialog appears.

  9. On the Callback tab, do one of the following:

    • Select the Do not allow callback option.

      After the PPP authentication is passed in a call, this option prevents the callback server from disconnecting the current connection and calling back. Instead, the server will maintain the current connection and allow the client to access the LAN or the Internet.

    • Select the Allow the caller to set the callback number option.

      After the PPP authentication is passed in a call, the server will disconnect and then call back the client at the number configured in the ppp callback ntstring dial-number command. This option is almost the same as the last option except that the charges are paid by the server end instead of the client end.

    • Select the Always use the following callback number option to set a callback number.

  10. Click Next.

    The Networking Software window appears.

  11. Set the networking components, and use the default settings for the network protocols. Click Next.

  12. Assign a name to your connection.

  13. Click Finish to complete the creation.