07-16-2008 12:51 AM - edited 03-03-2019 10:44 PM
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
Solved! Go to Solution.
07-21-2008 03:57 AM
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
07-16-2008 02:27 AM
What did you see in the debugs?
07-16-2008 03:10 AM
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
07-16-2008 03:48 AM
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)
07-16-2008 03:50 AM
07-16-2008 03:55 AM
try
interface Async1
async mode dedicated
and show again the debugs...
07-16-2008 04:10 AM
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
07-16-2008 04:14 AM
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
07-16-2008 04:22 AM
Try to use PAP instead of CHAP.
ppp authentication pap callin
ppp pap sent-username PAPUSER password xxxx
07-17-2008 12:44 AM
07-17-2008 04:23 AM
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
07-17-2008 08:08 PM
07-18-2008 03:17 AM
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
07-21-2008 02:56 AM
07-21-2008 03:57 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide