Lab 2.5.3 Configuring An Asynchronous Dialup PPP: Objective
Lab 2.5.3 Configuring An Asynchronous Dialup PPP: Objective
Lab 2.5.3 Configuring An Asynchronous Dialup PPP: Objective
Objective
In this lab, the student will configure two Cisco routers to connect to each other asynchronously
using PPP. Two Cisco routers will also be configured to support in-band user sessions through
modems connected to the SanJose1 and Capetown serial interfaces. The student will configure the
asynchronous connections to support PPP encapsulation and Dial-on-demand routing (DDR).
Configure each router with their respective hostname and Fastethernet IP Addresses. Configure
each workstation with the correct IP address and default gateway.
Scenario
The International Travel Agency wants to allow Capetown to access to the company headquarters,
SanJose1. Capetown needs only occasional access to company email. As the network administrator,
configure a dial-up PPP connection between the two sites. When finished, Capetown must be able to
establish a DDR connection to SanJose1. Verify this configuration by pinging between the Capetown
Host B and the SanJose1 Host A.
Step 1
Before beginning this lab, it is recommended that each router be reloaded after erasing its startup
configuration. This will prevent problems that may be caused by residual configurations. Build and
configure the network according to the diagram, but do not configure the serial interfaces on either
router yet. Use the Adtran Atlas 550 or similar device to simulate the PSTN. If the Atlas 550 is used,
be sure the line cables from both modems are plugged into the octal FXS voice module ports of the
Atlas 550 as labeled in the diagram. Also, be sure to configure both workstations with the correct IP
address and default gateway, router Fa0/0 IP address.
1-5 CCNP 2: Remote Access v 3.0 - Lab 2.5.3 Copyright 2003, Cisco Systems, Inc.
Step 2
Configure the serial interface on Capetown for an asynchronous connection as follows:
Capetown(config-if)#dialer in-band
The dialer in-band command specifies that the interface will support DDR.
The dialer idle-timeout command specifies the number of seconds the router will allow the
connection to remain idle before disconnecting. The default is 120 seconds.
Capetown(config-if)#dialer wait-for-carrier-time 60
The dialer wait-for-carrier-time command specifies the length of time the interface waits
for a carrier when trying to establish a connection. The default wait time is 30 seconds. The routers
in this lab will use a chat script to initialize the modem and cause it to dial.
Note: A chat script will be configured later in this step. On asynchronous interfaces, the dialer
wait-for-carrier-time command essentially sets the total time allowed for the chat script to
run.
Capetown(config-if)#dialer hold-queue 50
The dialer hold-queue command is used to allow outgoing packets to be queued until a modem
connection is established. If no hold queue is configured, packets are dropped during the time
required to establish a connection. The 50 in this command specifies 50 packets.
2-5 CCNP 2: Remote Access v 3.0 - Lab 2.5.3 Copyright 2003, Cisco Systems, Inc.
Capetown(config-if)#dialer-group 1
This dialer map command creates mapping between an IP address and the phone number that
should be dialed to reach that address. It also tells the router to use the appropriate chat script. Chat
scripts are used in DDR to issue commands to dial a modem and log on to remote systems.
Return to the global configuration mode to define the chat script. The following command should be
used with Hayes 56K Accura modems:
Step 3
Once the serial interface and chat script have been configured for asynchronous PPP, configure the
following line parameters:
Capetown(config)#line 2
Capetown(config-line)#speed 115200
Capetown(config-line)#flowcontrol hardware
Capetown(config-line)#modem inout
Capetown(config-line)#transport input all
Capetown(config-line)#stopbits 1
Step 4
On Capetown, define interesting to establish a dial-up connection for IP traffic as follows:
Since this dialer list is number 1, it is linked to dialer group 1. The dialer-list command specifies
the traffic that is to be permitted on interfaces that belong to the corresponding dialer group.
In order for Capetown to route traffic through the Serial 0/1 interface, configure this default route to
the central site as follows:
3-5 CCNP 2: Remote Access v 3.0 - Lab 2.5.3 Copyright 2003, Cisco Systems, Inc.
Step 5
Configure the company headquarters router, SanJose1. Enter the following commands:
SanJose1(config)#interface s0/1
SanJose1(config-if)#physical-layer async
SanJose1(config-if)#ip address 192.168.8.1 255.255.255.0
SanJose1(config-if)#encapsulation ppp
SanJose1(config-if)#async mode dedicated
SanJose1(config-if)#no cdp enable
SanJose1(config)#line 2
SanJose1(config-line)#speed 115200
SanJose1(config-line)#flowcontrol hardware
SanJose1(config-line)#modem inout
SanJose1(config-line)#transport input all
SanJose1(config-line)#stopbits 1
SanJose1(config-line)#modem autoconfigure discovery
SanJose1(config)#ip route 192.168.216.0 255.255.255.0 192.168.8.3
Step 6
Write the SanJose1 and Capetown configurations to NVRAM and reload the routers. Power cycle the
modem and the Adtran Atlas 550. This will help avoid potential problems due to residual
configurations.
Step 7
From the Capetown Host B, ping the SanJose1 Host A (192.168.0.2). The first set of pings will fail
because the modems must perform the handshaking sequence to establish a connection
(approximately 20 seconds). Once a connection is established, issue the ping command a second or
third time. Eventually the ping should be successful which means the Capetown Host B has dialed
the SanJose1 Host A and the configuration is working. Troubleshoot, as necessary.
Once successful pings have been verified, issue the show dialer command on Capetown. The
following is a sample output:
Capetown#show dialer
4-5 CCNP 2: Remote Access v 3.0 - Lab 2.5.3 Copyright 2003, Cisco Systems, Inc.
3. What is the dial reason?
__________________________________________________________________________
__________________________________________________________________________
4. How much longer will this connection remain up if it is idle?
__________________________________________________________________________
__________________________________________________________________________
5-5 CCNP 2: Remote Access v 3.0 - Lab 2.5.3 Copyright 2003, Cisco Systems, Inc.