Objective
The objective here is to configure two Cisco routers to connect to each other using PPP. The routers will also be configured to provide in-band connections through the serial interfaces. Then configure the asynchronous connections to support PPP and Dial-On-Demand Routing (DDR).
Inventory
- ROUTER 1 Fa0/0 192.168.0.1/24, S0/1 192.168.8.1/24
- MODEM 1
- HOST 1 192.168.0.2/24 GW 192.168.0.1
- ————————————
- ROUTER 2
- MODEM 2
- HOST 1
Steps
Step 1
Make sure your router configuration is cleared or will provide for all the following settings.
Step 2
Configure the serial interface on ROUTER 2 as follows.
ROUTER2(config)#interface serial 0/1
ROUTER2(config-if)#physical-layer async
ROUTER2(config-if)#ip address 192.168.8.3 /24
ROUTER2(config-if)#encapsulation ppp
ROUTER2(config-if)#async mode dedicated
ROUTER2(config-if)#no cdp enable
ROUTER2(config-if)#dialer in-band
ROUTER2(config-if)#dialer idle-timeout 300
ROUTER2(config-if)#dialer wait-for-carrier-time 60
ROUTER2(config-if)#dialer hold-queue 50
ROUTER2(config-if)#dialer-group 1
ROUTER2(config-if)#dialer map ip 192.168.8.1 name ROUTER1 modem-script hayes56k broadcast 5556666
###
#Note hayes56k is the script name and 5556666 is your telephone number
###
ROUTER2(config-if)#exit
ROUTER2(config)chat-script hayes56k ABORT ERROR "" "AT Z" OK "ATDT \T" TIMEOUT 30 CONNECT \c
ROUTER2(config)line 2
ROUTER2(config-line)#speed 115200
ROUTER2(config-line)#flowcontrol hardware
ROUTER2(config-line)#modem inout
ROUTER2(config-line)#transport input all
ROUTER2(config-line)#stopbits 1
ROUTER2(config-line)#exit
ROUTER2(config)#dialer list 1 protocol ip permit
ROUTER2(config)#ip router 0.0.0.0 0.0.0.0 192.168.8.1
ROUTER2(config)#exit
Step 3
Configure the serial interface on ROUTER 1 as follows.
ROUTER1(config)#interface s0/1
ROUTER1(config-if)#physical-layer async
ROUTER1(config-if)#ip address 192.168.8.1 255.255.255.0
ROUTER1(config-if)#encapsulation ppp
ROUTER1(config-if)#async mode dedicated
ROUTER1(config-if)#no cdp enable
ROUTER1(config-if)exit
ROUTER1(config)#line 2
ROUTER1(config-line)#115200
ROUTER1(config-line)#flowcontrol hardware
ROUTER1(config-line)#modem inout
ROUTER1(config-line)#transport input all
ROUTER1(config-line)#stopbits 1
ROUTER1(config-line)#modem autoconfigure discovery
ROUTER1(config-line)#exit
ROUTER1(config)#ip route 192.168.216.0 255.255.255.0 192.168.8.3
ROUTER1(config)#exit
Step 4
Use show dialer to review the output….







Discussion
No comments for “Configuring an asynchronous dialup connection on Cisco Routers”