221
# Configure an IP address for the interface.
[RouterD-Serial2/3/0:15] ip address 100.1.1.254 255.255.255.0
# Enable PPP encapsulation on the interface.
[RouterD-Serial2/3/0:15] link-protocol ppp
# Configure CHAP authentication on the interface.
[RouterD-Serial2/3/0:15] ppp authentication-mode chap
[RouterD-Serial2/3/0:15] ppp chap user userd
# Configure the interface to assign IP addresses to PPP users.
[RouterD-Serial2/3/0:15] remote address pool 1
[RouterD-Serial2/3/0:15] quit
# Configure an IP address pool for assigning addresses in the system domain.
[RouterD] domain system
[RouterD-isp-system] ip pool 1 100.1.1.1 100.1.1.16
[RouterD-isp-system] quit
Dynamic route backup for traditional DDR configuration
example
Network requirements
As shown in Figure 68, Router A and Router B are directly connected through their serial interfaces
running PPP. They can also call each other by using traditional DDR. The telephone number of Router B
is 8810052.
Enable dynamic route backup on Router A to monitor network segment 40.0.0.0/8 on Router B.
The PPP link acts as the primary link between Router A and Router B. When there are no valid routes to
the 40.0.0.0/8 network segment, Router A automatically creates an ISDN BRI link.
Figure 68 Network diagram
Configuration procedure
1. Configure Router A:
# Create dialer group 1 and configure a dial rule for it.
<RouterA> system-view
[RouterA] dialer-group 1 rule ip permit
# Configure an IP address for interface BRI 2/4/0.
[RouterA] interface bri 2/4/0