ppp chap authentication without user database

From: frank.yu@japan.bnpparibas.com
Date: Thu Oct 31 2002 - 10:59:07 GMT-3


Group,

   I am trying to setup ISDN connection with chap authentication without
user database definition. Following is the config and deb ppp authen, I've
omitted the unnecessary part, the router can dialup successfully without
chap authentication, when I put chap on, I got error message that "Username
R2 not found", since R1 use default password why it still asking username
R2?
   I tried this on both version 12.1.17 and 12.1.5T10, same result.
  Any ideas ? Thanks in advance.

Frank

R1:

interface BRI0/0
 ip address 135.6.12.1 255.255.255.0
 encapsulation ppp
 dialer fast-idle 15
 dialer map ip 135.6.12.2 broadcast 0352051090
 dialer-group 1
 isdn switch-type ntt
 ppp authentication chap
 ppp chap password 7 094F471A1A0A
!
.
.
dialer-list 1 protocol ip permit

deb ppp authe

00:03:46: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to up
00:03:46: BR0/0:1 PPP: Treating connection as a callout
00:03:46: BR0/0:1 CHAP: O CHALLENGE id 3 len 23 from "R1"
00:03:46: BR0/0:1 CHAP: I CHALLENGE id 5 len 23 from "R2"
00:03:46: BR0/0:1 CHAP: Username R2 not found
00:03:46: BR0/0:1 CHAP: Using default password
00:03:46: BR0/0:1 CHAP: O RESPONSE id 5 len 23 from "R1"
00:03:46: BR0/0:1 CHAP: I SUCCESS id 5 len 4
00:03:46: BR0/0:1 CHAP: I RESPONSE id 3 len 23 from "R2"
00:03:46: BR0/0:1 CHAP: Unable to validate Response. Username R2 not found
00:03:46: BR0/0:1 CHAP: O FAILURE id 3 len 26 msg is "Authentication failure".
00:03:46: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to down
00:03:48: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to up
00:03:48: BR0/0:1 PPP: Treating connection as a callout
00:03:48: BR0/0:1 CHAP: O CHALLENGE id 4 len 23 from "R1"
00:03:48: BR0/0:1 CHAP: I CHALLENGE id 5 len 23 from "R2"
00:03:48: BR0/0:1 CHAP: Username R2 not found
00:03:48: BR0/0:1 CHAP: Using default password
00:03:48: BR0/0:1 CHAP: O RESPONSE id 5 len 23 from "R1"
00:03:48: BR0/0:1 CHAP: I SUCCESS id 5 len 4
00:03:48: BR0/0:1 CHAP: I RESPONSE id 4 len 23 from "R2"
00:03:48: BR0/0:1 CHAP: Unable to validate Response. Username R2 not found
00:03:48: BR0/0:1 CHAP: O FAILURE id 4 len 26 msg is "Authentication failure".
00:03:48: %LINK-3-UPDOWN: Interface BRI0/0:1, changed state to down...
Success rate is 0 percent (0/5)

R2:
    username R1 password 0 cisco
!
interface BRI0/0
 ip address 135.6.12.2 255.255.255.0
 encapsulation ppp
 dialer fast-idle 30
 dialer map ip 135.6.12.1 broadcast 0352051089
 dialer-group 1
 isdn switch-type ntt
 ppp authentication chap
!
dialer-list 1 protocol ip permit
!

This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.



This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 08:36:01 GMT-3