Options

Old School - Modem

cleveohcleveoh Member Posts: 38 ■■□□□□□□□□
Not sure why I am wasting time with this lab http://www.cisco.com/application/pdf/paws/14281/async_backup_14281.pdf, but I love the sound of the modem. Anyways, the lab I am working on is for a backup to a serial link, the problem is that when the serial cable is removed the backup will not dialup. I can get the back up to dial but I have to ping the loopback interface of the other router. Any help would be appreciated.

Router configs:

r2_gaugin

hostname r2_gaugin
username r4_sphinx password 0 cisco

chat-script CALLOUT "" "atdt\T" TIMEOUT 60 CONNECT \c

interface Loopback1
ip address 1.1.1.1 255.255.255.255
no ip directed broadcast

interface Serial 0
ip address 3.3.3.1 255.255.255.0
backup interface serial 2
no shut

interface Serial 2
physical-layer async
!
ip unnumbered Loopback1
encapsulation ppp
dialer in-band
dialer map ip 2.2.2.1 name r4_sphinx modem-script CALLOUT 5555555
dialer-group 1
async mode dedicated
no peer default ip address
no fair-queue
ppp authentication chap callin

ip route 2.2.2.1 255.255.255.255 Serial 0
ip route 2.2.2.1 255.255.255.255 Serial 2

dialer-list 1 protocol ip permit

line 2
script dialer CALLOUT
login
password cisco
modem InOut
transport input all
stopbits 1
speed 38400
flowcontrol hardware
modem autoconfigure discovery

r4_sphinx

hostname r4_sphinx
username r2_gaugin password 0 cisco

interface Loopback 1
ip address 2.2.2.1 255.255.255.255
no ip directed broadcast

interface Serial 0
clock rate 56000
ip address 3.3.3.2 255.255.255.0
no shut

interface Serial 2
physical-layer async
!
ip unnumbered Loopback 1
no ip directed-broadcast
encapsulation ppp
dialer in-band
dialer-group 1
async mode dedicated
no peer default ip address
no fair-queue
no cdp enable
ppp authentication chap

ip route 1.1.1.1 255.255.255.255 Serial 0
ip route 1.1.1.1 255.255.255.255 Serial 2 2

line 2
login
password cisco
modem InOut
transport input all
stopbits 1
speed 38400
flowcontrol hardware
modem autoconfigure discovery

debug modem
debug chat line 2
debug dialer events
debug ppp authentication


r2_gaugin#ping 2.2.2.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.1, timeout is 2 seconds:

01:20:00: Se2 DDR: Dialing cause ip (s=1.1.1.1, d=2.2.2.1)
01:20:00: Se2 DDR: Attempting to dial 5555555
01:20:00: CHAT2: Attempting async line dialer script
01:20:00: CHAT2: Dialing using Modem script: CALLOUT & System script: none
01:20:00: TTY2: cleanup pending. Delaying DTR
01:20:00: CHAT2: process started
01:20:00: CHAT2: Asserting DTR
01:20:00: CHAT2: Chat script CALLOUT started
01:20:00: CHAT2: Sending string: atdt\T<5555555>
01:20:00: CHAT2: Expecting string: CONNECT
01:20:00: CHAT2: Input mismatch expecting: CONNECT :: atdt5555555\015.....
Success rate is 0 percent (0/5)
r2_gaugin#\015\012
01:20:16: CHAT2: Input match for: CONNECT:: CONNECT
01:20:16: CHAT2: Completed match for expect: CONNECT
01:20:16: CHAT2: Sending string: \c
01:20:16: CHAT2: Chat script CALLOUT finished, status = Success
01:20:16: TTY2: no timer type 1 to destroy
01:20:16: TTY2: no timer type 0 to destroy
01:20:16: TTY2: no timer type 2 to destroy
01:20:18: %LINK-3-UPDOWN: Interface Serial2, changed state to up
01:20:18: Se2 DDR: Dialer statechange to up
01:20:18: Se2 DDR: Dialer call has been placed
01:20:18: Se2 PPP: Using dialer call direction
01:20:18: Se2 PPP: Treating connection as a callout
01:20:18: Se2 CHAP: I CHALLENGE id 7 len 30 from "r4_sphinx"
01:20:18: Se2 CHAP: O RESPONSE id 7 len 30 from "r2_gaugin"
01:20:18: Se2 CHAP: I SUCCESS id 7 len 4
01:20:19: Se2 DDR: dialer protocol up
01:20:19: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2, changed state to up

r2_gaugin#
01:20:48: Se2 DDR: idle timeout
01:20:48: Se2 DDR: disconnecting call
01:20:48: TTY2: Async Int reset: Dropping DTR
01:20:48: TTY2: DSR was dropped
01:20:48: tty2: Modem: READY->(unknown)
01:20:49: TTY2: dropping DTR, hanging up
01:20:49: tty2: Modem: HANGUP->(unknown)
01:20:50: %LINK-5-CHANGED: Interface Serial2, changed state to reset
01:20:50: TTY2: cleanup pending. Delaying DTR
01:20:51: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2, changed state to down
01:20:51: TTY2: cleanup pending. Delaying DTR
01:20:53: TTY2: cleanup pending. Delaying DTR
01:20:53: TTY2: no timer type 0 to destroy
01:20:53: TTY2: no timer type 1 to destroy
01:20:53: TTY2: no timer type 3 to destroy
01:20:53: TTY2: no timer type 4 to destroy
01:20:53: TTY2: no timer type 10 to destroy
01:20:53: TTY2: no timer type 2 to destroy
01:20:53: Serial2: allowing modem_process to continue hangup
01:20:54: TTY2: restoring DTR
01:20:55: TTY2: autoconfigure probe started
01:20:55: %LINK-3-UPDOWN: Interface Serial2, changed state to down
01:21:05: Se2 DDR: re-enable timeout
r2_gaugin#
Sign In or Register to comment.