Re: dial config question

From: roger.wang (roger@sysage.com.cn)
Date: Wed May 26 2004 - 05:05:54 GMT-3


----- Original Message -----
From: "roger.wang" <roger.wang@cyberplus.com.cn>
To: <ccielab@groupstudy.com>
Sent: Wednesday, May 26, 2004 4:03 PM
Subject: dial config question

> HI,GUY:
> i have a question to ask you
> in my lab :
> this is TP
> 3640(AUX )---MODEM(3COM)---->PSTN----->modem----wic-2t (2621)
> i can see modem CD light is good ;but i can't ping ipaddress each other?who can help me ?where is question???
>
>
> 3460 config:
> show run
> Building configuration...
>
> Current configuration : 1390 bytes
> !
> version 12.2
> service timestamps debug datetime msec
> service timestamps log datetime msec
> no service password-encryption
> !
> hostname 3640
> !
> logging queue-limit 100
> enable password cisco
> !
> username 2621 password 0 cisco
>
> !
>
> aaa session-id common
> ip subnet-zero
> !
> !
> no ip domain lookup
>
> !
> chat-script dial ABORT ERROR ABORT BUSY "" "AT" OK "ATDT \T" TIMEOUT 45 CONNECT \c
> !
> !
> !
> interface Loopback0
> ip address 11.11.11.11 255.255.255.255
> !
> interface FastEthernet2/0
> no ip address
> shutdown
> duplex auto
> speed auto
> !
> interface Serial2/0
> no ip address
> shutdown
> clockrate 2000000
> !
> interface Serial2/1
> ip address 192.168.1.1 255.255.255.252
> encapsulation ppp
> !
> interface Async129
> ip address 192.168.2.1 255.255.255.0
> encapsulation ppp
> dialer in-band
> dialer map ip 192.168.2.2 name 2621 modem-script dial broadcast 168
> dialer-group 1
> async mode interactive
> no keepalive
> ppp authentication chap
> !
> ip http server
> ip classless
> ip route 0.0.0.0 0.0.0.0 192.168.2.2
> ip route 192.168.2.2 255.255.255.255 Async129
> !
> !
> !
> dialer-list 1 protocol ip permit
> radius-server authorization permit missing Service-Type
> !
> line con 0
> line aux 0
> exec-timeout 0 0
> modem InOut
> modem autoconfigure discovery
> transport input all
> stopbits 1
> speed 115200
> flowcontrol hardware
> line vty 0 4
> exec-timeout 0 0
> password cisco
> !
> !
> end
>
> 3640#
>
>
> 2621 config:
>
> show run
> Building configuration...
>
> Current configuration : 1449 bytes
> !
> version 12.2
> service timestamps debug uptime
> service timestamps log uptime
> no service password-encryption
> !
> hostname "2621"
> !
> aaa new-model
> aaa authentication ppp default local
> enable password cisco
> !
> username 3640 password 0 cisco
> memory-size iomem 15
> ip subnet-zero
> !
> !
> no ip domain-lookup
> !
> ip audit notify log
> ip audit po max-events 100
> --More--  chat-script dial ABORT ERROR ABORT BUSY "" "AT" OK "ATDT \T" TIMEOUT 45 CONNECT \c
> !
> !
> !
> interface Loopback0
> ip address 10.10.10.10 255.255.255.255
> !
> interface FastEthernet0/0
> no ip address
> shutdown
> duplex auto
> speed auto
> !
> interface Serial0/0
> physical-layer async
> bandwidth 38400
> ip address 192.168.2.2 255.255.255.0
> encapsulation ppp
> dialer in-band
> dialer map ip 192.168.2.1 name 3640 modem-script dial broadcast 169
> dialer-group 1
> async default routing
> --More--   async mode dedicated
> ppp authentication chap
> !
> interface Serial0/1
> no ip address
> shutdown
> !
> interface Serial0/2
> ip address 192.168.1.2 255.255.255.252
> encapsulation ppp
> clockrate 64000
> !
> interface Dialer2
> no ip address
> no cdp enable
> !
> ip classless
> ip route 0.0.0.0 0.0.0.0 192.168.2.1
> ip route 192.168.2.1 255.255.255.255 Serial0/0
> ip http server
> !
> dialer-list 1 protocol ip permit
> no cdp run
> --More--  !
> line con 0
> line 1
> password cisco
> flush-at-activation
> modem InOut
> modem autoconfigure discovery
> transport input all
> stopbits 1
> speed 115200
> flowcontrol hardware
> line aux 0
> line vty 0 4
> exec-timeout 0 0
> password cisco
> !
> end
>
> 2621#
>
>
>
>
> this my debug information from 2621
>
>
> 2621>
> 2621>en
> 01:22:44: TTY0: EXEC creation
> 01:22:44: TTY0: create timer type 1, 600 seconds
> Password:
> 01:22:46: TTY0: set timer type 10, 30 seconds
> Password:
> 01:22:49: TTY0: set timer type 10, 30 seconds
> Password:
> % Bad passwords
>
> 2621>en
> 01:22:50: TTY0: set timer type 10, 30 seconds
> Password:
> 2621#c
> 01:22:52: TTY0: set timer type 10, 30 secondsisco
> Translating "cisco"
>
> Translating "cisco"
> % Unknown command or computer name, or unable to find computer address
> 2621#ciscoen   debug ppp as
> 2621#debug ppp as
> ^
> % Invalid input detected at '^' marker.
>
> 2621#debug ppp as u
> 2621#debug ppp authentication
> PPP authentication debugging is on
> 2621#debug ppp authentication                ne
> 2621#debug ppp negotiation
> PPP protocol negotiation debugging is on
> 2621#debug ppp negotiation                   mo
> 2621#debug modem
> Modem control/process activation debugging is on
> 2621#debug ip rou
> 2621#debug ip routing
> IP routing debugging is on
> 2621#debug ip routing             dial
> 2621#debug dialer
> Dial on demand events debugging is on
> 2621#ping 192.168.2.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
>
> 01:23:31: Se0/0 DDR: Dialing cause ip (s=192.168.2.2, d=192.168.2.1)
> 01:23:31: Se0/0 DDR: Attempting to dial 169
> 01:23:31: CHAT1: Attempting async line dialer script
> 01:23:31: CHAT1: no matching chat script found for 169
> 01:23:31: CHAT1: Dialing using Modem script: d0efault-d0ials0cript & System script: none
> 01:23:31: CHAT1: process started
> 01:23:31: CHAT1: Asserting DTR
> 01:23:31: CHAT1: Chat script d0efault-d0ials0cript started.....
> Success rate is 0 percent (0/5)
> 2621#ping 192.168.2.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
> .....
> Success rate is 0 percent (0/5)
> 2621#ping 192.168.2.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
>
> 01:23:56: CHAT1: Chat script d0efault-d0ials0cript finished, status = Success
> 01:23:56: TTY1: no timer type 1 to destroy
> 01:23:56: TTY1: no timer type 0 to destroy
> 01:23:56: TTY1: no timer type 2 to destroy
> 01:23:58: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up.
> 01:23:58: Se0/0 DDR: Dialer statechange to up
> 01:23:58: Se0/0 DDR: Dialer call has been placed
> 01:23:58: Se0/0 PPP: Using dialer call direction
> 01:23:58: Se0/0 PPP: Treating connection as a callout
> 01:23:58: Se0/0 PPP: Phase is ESTABLISHING, Active Open [0 sess, 0 load]
> 01:23:58: Se0/0 LCP: O CONFREQ [Closed] id 55 len 25
> 01:23:58: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:23:58: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:23:58: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:23:58: Se0/0 LCP: PFC (0x0702)
> 01:23:58: Se0/0 LCP: ACFC (0x0802)
> 01:23:58: is_up: 1 state: 4 sub state: 1 line: 0
> 01:23:59: is_up: 1 state: 4 sub state: 1 line: 0.
> 01:24:00: Se0/0 LCP: TIMEout: State REQsent
> 01:24:00: Se0/0 LCP: O CONFREQ [REQsent] id 56 len 25
> 01:24:00: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:24:00: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:24:00: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:24:00: Se0/0 LCP: PFC (0x0702)
> 01:24:00: Se0/0 LCP: ACFC (0x0802).
> 01:24:02: Se0/0 LCP: TIMEout: State REQsent
> 01:24:02: Se0/0 LCP: O CONFREQ [REQsent] id 57 len 25
> 01:24:02: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:24:02: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:24:02: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:24:02: Se0/0 LCP: PFC (0x0702)
> 01:24:02: Se0/0 LCP: ACFC (0x0802).
> 01:24:04: Se0/0 LCP: TIMEout: State REQsent
> 01:24:04: Se0/0 LCP: O CONFREQ [REQsent] id 58 len 25
> 01:24:04: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:24:04: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:24:04: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:24:04: Se0/0 LCP: PFC (0x0702)
> 01:24:04: Se0/0 LCP: ACFC (0x0802).
> Success rate is 0 percent (0/5)
> 2621#
> 01:24:06: Se0/0 LCP: TIMEout: State REQsent
> 01:24:06: Se0/0 LCP: O CONFREQ [REQsent] id 59 len 25
> 01:24:06: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:24:06: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:24:06: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:24:06: Se0/0 LCP: PFC (0x0702)
> 01:24:06: Se0/0 LCP: ACFC (0x0802)ping 192.168.2.1
>
> Type escape sequence to abort.
> Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
>
> 01:24:08: Se0/0 LCP: TIMEout: State REQsent
> 01:24:08: Se0/0 LCP: O CONFREQ [REQsent] id 60 len 25
> 01:24:08: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:24:08: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:24:08: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:24:08: Se0/0 LCP: PFC (0x0702)
> 01:24:08: Se0/0 LCP: ACFC (0x0802).
> 01:24:10: Se0/0 LCP: TIMEout: State REQsent
> 01:24:10: Se0/0 LCP: O CONFREQ [REQsent] id 61 len 25
> 01:24:10: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:24:10: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:24:10: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:24:10: Se0/0 LCP: PFC (0x0702)
> 01:24:10: Se0/0 LCP: ACFC (0x0802).
> 01:24:12: Se0/0 LCP: TIMEout: State REQsent
> 01:24:12: Se0/0 LCP: O CONFREQ [REQsent] id 62 len 25
> 01:24:12: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:24:12: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:24:12: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:24:12: Se0/0 LCP: PFC (0x0702)
> 01:24:12: Se0/0 LCP: ACFC (0x0802).
> 01:24:14: Se0/0 LCP: TIMEout: State REQsent
> 01:24:14: Se0/0 LCP: O CONFREQ [REQsent] id 63 len 25
> 01:24:14: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:24:14: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:24:14: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:24:14: Se0/0 LCP: PFC (0x0702)
> 01:24:14: Se0/0 LCP: ACFC (0x0802).
> 01:24:16: Se0/0 LCP: TIMEout: State REQsent
> 01:24:16: Se0/0 LCP: O CONFREQ [REQsent] id 64 len 25
> 01:24:16: Se0/0 LCP: ACCM 0x000A0000 (0x0206000A0000)
> 01:24:16: Se0/0 LCP: AuthProto CHAP (0x0305C22305)
> 01:24:16: Se0/0 LCP: MagicNumber 0x0A0496BE (0x05060A0496BE)
> 01:24:16: Se0/0 LCP: PFC (0x0702)
> 01:24:16: Se0/0 LCP: ACFC (0x0802).
> Success rate is 0 percent (0/5)
> 2621#
> 01:24:18: Se0/0 LCP: TIMEout: State REQsent
> 01:24:18: TTY1: Async Int reset: Dropping DTR
> 01:24:18: Se0/0 LCP: State is Listen
> 01:24:18: TTY1: DSR was dropped
> 01:24:18: tty1: Modem: READY->(unknown)
> 01:24:19: TTY1: dropping DTR, hanging up
> 01:24:19: tty1: Modem: HANGUP->(unknown)
> 01:24:20: %LINK-5-CHANGED: Interface Serial0/0, changed state to reset
> 01:24:20: Se0/0 LCP: State is Closed
> 01:24:20: Se0/0 PPP: Phase is DOWN [0 sess, 0 load]
> 01:24:20: is_up: 0 state: 5 sub state: 1 line: 0
> 01:24:20: RT: interface Serial0/0 removed from routing table
> 01:24:20: RT: del 192.168.2.0/24 via 0.0.0.0, connected metric [0/0]
> 01:24:20: RT: delete subnet route to 192.168.2.0/24
> 01:24:20: RT: delete route to 192.168.2.1 via 0.0.0.0, Serial0/0
> 01:24:20: RT: no routes to 192.168.2.1, flushing
> 01:24:20: RT: delete network route to 192.168.2.0
> 01:24:20: TTY1: cleanup pending. Delaying DTR
> 01:24:21: RT: del 0.0.0.0 via 192.168.2.1, static metric [1/0]
> 01:24:21: RT: delete network route to 0.0.0.0
> 01:24:21: TTY1: cleanup pending. Delaying DTR
> 01:24:22: TTY1: cleanup pending. Delaying DTR
> 01:24:23: TTY1: no timer type 0 to destroy
> 01:24:23: TTY1: no timer type 1 to destroy
> 01:24:23: TTY1: no timer type 3 to destroy
> 01:24:23: TTY1: no timer type 4 to destroy
> 01:24:23: TTY1: no timer type 2 to destroy
> 01:24:23: Serial0/0: allowing modem_process to continue hangup
> 01:24:23: TTY1: restoring DTR
> 01:24:24: TTY1: autoconfigure probe started
> 01:24:25: %LINK-3-UPDOWN: Interface Serial0/0, changed state to down
> 01:24:25: Se0/0 LCP: State is Closed
> 01:24:25: is_up: 0 state: 0 sub state: 1 line: 0
> 2621#
> 2621#192.168.1.1
> Trying 192.168.1.1 ... Open
>
>
> User Access Verification
>
> Password:
> 01:24:30: TTY0: pause timer type 1 (OK)
> 3640>en
> Password:
> 3640#
> 01:24:35: Se0/0 DDR: re-enable timeout
> 01:24:35: is_up: 1 state: 4 sub state: 1 line: 0
> 01:24:35: RT: add 192.168.2.0/24 via 0.0.0.0, connected metric [0/0]
> 01:24:35: RT: interface Serial0/0 added to routing table
> 01:24:36: RT: network 192.168.2.0 is now variably masked
> 01:24:36: RT: add 192.168.2.1/32 via 0.0.0.0, static metric [1/0]
> 01:24:36: RT: add 0.0.0.0/0 via 192.168.2.1, static metric [1/0]
> 01:24:36: RT: default path is now 0.0.0.0 via 192.168.2.1
> 01:24:36: RT: new default network 0.0.0.0
> 01:24:36: is_up: 1 state: 4 sub state: 1 line: 0



This archive was generated by hypermail 2.1.4 : Wed Jun 02 2004 - 11:12:17 GMT-3