168
Configuration example for NT server-to-router callback with
DCC
Network requirements
As shown in Figure 55:
• Router and NT Server are interconnected through modems across a PSTN network.
• NT Server is assigned the IP address of 100.1.1.254/24.
• Router accepts the address assigned by NT Server.
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