
11-12 Internetwork Design Guide
Dial-on-Demand Routing
Encapsulation and Authentication
ISDN interfaces can be configured for High-Level Data Link Control (HDLC), Frame Relay, Link
Access Procedure, Balanced (LAPB), Point-to-Point Protocol (PPP), and X.25 encapsulation. When
you configure PPP encapsulation, you can specify the use of Password Authentication Protocol
(PAP) or Challenge Handshake Authentication Protocol (CHAP). CHAP is recommended because
it sends an encrypted form of the password. (PAP sends the password in clear text.)
Sample IP Configuration
The following configurations for Router A and Router B use DDR to enable IP over BRI 0 using
static IP routes. For information about using access lists to prevent routing updates from initiating
connections, see the section “Tariff Management” later in this chapter.
hostname RouterA
!
enable password ######
!
username RouterB password 7 2394943E02B17
isdn switch-type basic-5ess
!
interface ethernet 0
ip address 171.68.158.18 255.255.255.248
!
interface bri 0
ip address 171.68.158.25 255.255.255.248
encapsulation ppp
dialer map ip 171.68.158.26 name RouterB 14085552222
dialer-group 1
ppp authentication chap
!
ip route 171.68.158.48 255.255.255.248 171.68.158.26
access-list 101 permit ip any any
!
dialer-list 1 protocol ip list 101
The configuration for Router B is as follows:
!hostname RouterB
!
enable password ######
!
username RouterA password 7 094E5B1739522
isdn switch-type basic-5ess
interface ethernet 0
ip address 171.68.158.49 255.255.255.248
!
interface bri 0
ip address 171.68.158.26 255.255.255.248
encapsulation ppp
dialer map ip 171.68.158.25 name RouterA 14085551111
dialer-group 1
ppp authentication chap
!
ip route 171.68.158.16 255.255.255.248 171.68.158.25
access-list 101 permit ip any any
!
dialer-list 1 protocol ip list 101
Comentarios a estos manuales