cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1890
Views
4
Helpful
20
Replies

dialup on Cisco 1811 build in modem

usmanjathol
Level 1
Level 1

i am having problem, it connects and disconnects shortly. here is the config.

interface Dialer0

ip address negotiated

encapsulation ppp

dialer pool 1

dialer remote-name name

dialer idle-timeout 300

dialer string 13101310

dialer hold-queue 10

dialer-group 1

no peer default ip address

no cdp enable

ppp authentication pap chap callin

ppp chap hostname dial1@motorola.com

ppp chap password 0 wateen

exit

interface Async1

no ip address

encapsulation ppp

dialer in-band

dialer pool-member 1

async mode interactive

exit

ip route 0.0.0.0 0.0.0.0 Dialer0

access-list 101 permit ip any any

dialer-list 1 protocol ip list 101

logging on

loggin monitor

exit

terminal monitor

debug dialer

debug async state

debug ppp negotiation

1 Accepted Solution

Accepted Solutions

Usman

It looks like you are making some progress. In the output of 21-debug-ppp-auth.TXT authentication is failing on both sides. In the output of 21-debug-ppp-auth-nag.TXT (which is a bit later according to the timestamps) you are being authenticated successfully by the other device - but you are not authenticating the other device.

You are receiving a CHAP challenge from the other device using ID of lah-as5400-as1. To be able to authenticate successfully that device I would think that you would need a username configuration statement giving the name and password of that device.

HTH

Rick

HTH

Rick

View solution in original post

20 Replies 20

a.alekseev
Level 7
Level 7

What did you see in the debugs?

Usman

I agree that knowing what is in the debug output would be very helpful. I would be especially interested in the output of debug ppp negotiation. In addition I would suggest running debug ppp authentication. In my experience symptoms similar to what you describe are frequently the result of problems with authentication.

HTH

Rick

HTH

Rick

Router#ping 192.168.196.97

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.196.97, timeout is 2 seconds:

*Jul 16 11:40:13.775: As1 DDR: rotor dialout [best] least recent failure is also

most recent failure

*Jul 16 11:40:13.775: As1 DDR: rotor dialout [best] also has most recent failure

*Jul 16 11:40:13.775: As1 DDR: rotor dialout [best]

*Jul 16 11:40:13.775: As1 DDR: Dialing cause ip (s=10.10.0.1, d=192.168.196.97)

*Jul 16 11:40:13.775: As1 DDR: Attempting to dial 13101310

*Jul 16 11:40:13.775: CHAT1: Attempting async line dialer script

*Jul 16 11:40:13.775: CHAT1: no matching chat script found for 13101310

*Jul 16 11:40:13.775: CHAT1: Dialing using Modem script: d0efault-d0ials0cript &

System script: none

*Jul 16 11:40:13.775: CHAT1: process started

*Jul 16 11:40:13.775: CHAT1: Asserting DTR

*Jul 16 11:40:13.775: CHAT1: Chat script d0efault-d0ials0cript started.....

Success rate is 0 percent (0/5)

Router#

*Jul 16 11:40:42.435: CHAT1: Chat script d0efault-d0ials0cript finished, status

= Success

*Jul 16 11:40:42.435: As1 PPP: Async Protocol Mode started for 0.0.0.0

*Jul 16 11:40:44.435: %LINK-3-UPDOWN: Interface Async1, changed state to up

*Jul 16 11:40:44.435: As1 DDR: Dialer statechange to up

*Jul 16 11:40:44.435: %DIALER-6-BIND: Interface As1 bound to profile Di0

*Jul 16 11:40:44.435: As1 DDR: Dialer call has been placed

*Jul 16 11:40:44.435: As1 PPP: Using dialer call direction

*Jul 16 11:40:44.435: As1 PPP: Treating connection as a callout

*Jul 16 11:40:44.435: As1 PPP: Session handle[44000008] Session id[4]

*Jul 16 11:40:44.435: As1 PPP: Phase is ESTABLISHING, Active Open

*Jul 16 11:40:44.435: As1 PPP: No remote authentication for call-out

*Jul 16 11:40:44.435: As1 LCP: O CONFREQ [Closed] id 31 len 20

*Jul 16 11:40:44.435: As1 LCP: ACCM 0x000A0000 (0x0206000A0000)

*Jul 16 11:40:44.435: As1 LCP: MagicNumber 0x1EFEFE04 (0x05061EFEFE04)

*Jul 16 11:40:44.435: As1 LCP: PFC (0x0702)

*Jul 16 11:40:44.435: As1 LCP: ACFC (0x0802)

*Jul 16 11:40:44.527: As1 LCP: I CONFREQ [REQsent] id 1 len 24

*Jul 16 11:40:44.527: As1 LCP: ACCM 0x000A0000 (0x0206000A0000)

*Jul 16 11:40:44.527: As1 LCP: AuthProto PAP (0x0304C023)

*Jul 16 11:40:44.527: As1 LCP: MagicNumber 0xA6EB8E29 (0x0506A6EB8E29)

*Jul 16 11:40:44.527: As1 LCP: PFC (0x0702)

*Jul 16 11:40:44.527: As1 LCP: ACFC (0x0802)

*Jul 16 11:40:44.527: As1 LCP: O CONFNAK [REQsent] id 1 len 9

*Jul 16 11:40:44.527: As1 LCP: AuthProto CHAP (0x0305C22305)

*Jul 16 11:40:44.535: As1 LCP: I CONFACK [REQsent] id 31 len 20

*Jul 16 11:40:44.535: As1 LCP: ACCM 0x000A0000 (0x0206000A0000)

*Jul 16 11:40:44.535: As1 LCP: MagicNumber 0x1EFEFE04 (0x05061EFEFE04)

*Jul 16 11:40:44.535: As1 LCP: PFC (0x0702)

*Jul 16 11:40:44.535: As1 LCP: ACFC (0x0802)

Please check attachment

a.alekseev
Level 7
Level 7

try

interface Async1

async mode dedicated

and show again the debugs...

Usman

In looking at the debug output that you posted I see that most of the negotiation seems to be about disagreement about authentication. Can you post how the other end of the connection is configured - especially how it is configured for authentication?

Your router is configured to authenticate on callin. I see these messages in your logs:

*Jul 16 11:40:44.435: As1 PPP: No remote authentication for call-out

and it makes me wonder what the remote end is expecting about authentication.

HTH

Rick

HTH

Rick

I am passing the dialup number, user id and password.

when i give same number, user and pwd on laptop modem it connects and i get ip and works fine.

i need to dial thru router and get ip and ping the auto assigned gateway thru router..

the nde debug with dedicated is attached

thanks a lot for help

Try to use PAP instead of CHAP.

ppp authentication pap callin

ppp pap sent-username PAPUSER password xxxx

Hi,

Please check. Still not working.

I am attaching the running and debug.

Plz help

the same user id and pwd works fine when i connect thru laptop modem.

i want to establish a backup dialup settings. so when my WAN link goes down it should dial dialup and keep connected.

thanks

usman

Usman

The debugs that are in either of the files posted today are much less helpful than the previous posted ones. It would be helpful to see output of debug ppp negotiation. And it would be especially helpful to see output of debug ppp authentication.

But without seeing those debugs I have a suggestion. change:

ppp authentication pap callin

to

ppp authentication pap

Give it a try and let us know what happens.

HTH

Rick

HTH

Rick

Rick,

Please check again.

I have attached ppp auth log.

thanks for help

usman

Usman

The ppp authentication debug is helpful. It clearly shows that while you are configured to authenticate with PAP that the other end is configured to authentidcate with CHAP:

*Jul 18 03:57:42.843: As1 CHAP: I CHALLENGE id 1 len 34 from "lah-7206-vhg1"

*Jul 18 03:57:42.843: As1 CHAP: Unable to authenticate for peer

I would suggest that either you change your router to authenticate with CHAP or that you get the other side to accept authentication with PAP.

HTH

Rick

HTH

Rick

please check the attachment.. not working yet..

it works fine when i dial thru laptop modem.

thanks

usman

Usman

It looks like you are making some progress. In the output of 21-debug-ppp-auth.TXT authentication is failing on both sides. In the output of 21-debug-ppp-auth-nag.TXT (which is a bit later according to the timestamps) you are being authenticated successfully by the other device - but you are not authenticating the other device.

You are receiving a CHAP challenge from the other device using ID of lah-as5400-as1. To be able to authenticate successfully that device I would think that you would need a username configuration statement giving the name and password of that device.

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card