! Listing 8.10: Router HQrouter2 configuration for access with dial backup to a private service provider ! !Copyright (C) 2001 by Vincent C Jones. All Rights Reserved. version 11.2 ! hostname HQrouter2 ! username ServiceProvider password sharedsecret isdn switch-type basic-ni1 ! interface Loopback1 description Target for Service Provider Routing ip address 192.168.0.11 255.255.255.255 ! interface Ethernet0/0 description HQ LAN ip address 10.200.20.2 255.255.255.0 ! interface BRI0/0 no ip address encapsulation ppp isdn spid1 21255512120101 isdn spid2 21255512130101 dialer pool-member 11 ppp authentication chap ! interface Dialer1 description Dial Out to Service Provider ip address 192.168.0.5 255.255.255.252 ip access-group 101 in ip access-group 102 out encapsulation ppp no ip route-cache dialer remote-name ServiceProvider dialer string 19735551212 dialer hold-queue 10 dialer pool 11 dialer-group 1 ppp authentication chap ! router ospf 123 redistribute static metric 100 metric-type 2 subnets network 10.200.20.0 0.0.0.255 area 1 ! ip route 172.17.30.55 255.255.255.255 192.168.0.6 200 ! ! access lists for security (101 and 102) go here ! dialer-list 1 protocol ip permit ! end