Cisco 1751 ADSL

Configurazioni per connettività ADSL, ISDN e switch per privati e piccole network

Moderatore: Federico.Lagni

spiegel
n00b
Messaggi: 20
Iscritto il: mer 18 mar , 2009 8:40 am

Salve avrei bisogno di aiuto per risolvere su di un cisco 1751 con wic adsl.
Credo di aver impostato bene la configurazione ma non riesce a connettersi.
Qualcuno può aiutarmi?
Non riesco a trovare qulcuno che ne capisca qui dalle mie parti.Nemmeno il mio docente CCNA non sa risolvere questo tipo di questioni.
Grazie mille a coloro che vorranno aiutarmi.
TeCer
Cisco fan
Messaggi: 67
Iscritto il: sab 16 mag , 2009 5:28 pm

occorre che incolli la configurazione che hai fatto, altrimenti è un pò difficile aiutarti.
spiegel
n00b
Messaggi: 20
Iscritto il: mer 18 mar , 2009 8:40 am

Ok grazie.Eccola te la inserisco.Ti incollo anche il debug del PPP.Spero tu capisca il problema.
Mi da sempre errore username se ho capito ma la username è esatta in quanto se uso un router tradizionale (dlink) funziona perfettamente.
Ho una linea 7 mega solo dati tiscali.
Grazie Paolo

------------------------------------------------------------------------
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 25
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip routing
!
!
!
!
ip cef
ip name-server 213.205.32.70
ip name-server 213.205.36.70
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
no ip route-cache enable
speed auto
no shutdown
full-duplex
!
interface Serial0/0
no ip address
no ip route-cache
shutdown
!
interface ATM1/0
no ip address
no ip route-cache
no shutdown
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp chap username xxxxxxxx
ppp chap password 0 xxxxxx
ppp pap sent-username xxxxx password xxxxxx
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
no ip http server
no ip http secure-server
ip nat translation timeout 420
ip nat translation tcp-timeout 120
ip nat translation pptp-timeout 420
ip nat translation icmp-timeout 1
ip nat translation max-entries 1000
ip nat inside source list nat interface Dialer0 overload
!
ip access-list extended nat
permit ip 192.168.0.0 0.0.0.255 any
permit icmp 192.168.0.0 0.0.0.255 any
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
!
end
-----------------------------------------------------

debug ppp :



*Mar 1 14:54:49.655: Vi2 PPP: Phase is ESTABLISHING, Passive Open
*Mar 1 14:54:49.655: Vi2 LCP: State is Listen
*Mar 1 14:54:51.671: Vi2 LCP: Timeout: State Listen
*Mar 1 14:54:51.671: Vi2 PPP: No remote authentication for call-out
*Mar 1 14:54:51.671: Vi2 LCP: O CONFREQ [Listen] id 58 len 10
*Mar 1 14:54:51.671: Vi2 LCP: MagicNumber 0x0CD3E056 (0x05060CD3E056)
*Mar 1 14:54:51.707: Vi2 LCP: I CONFREQ [REQsent] id 1 len 15
*Mar 1 14:54:51.707: Vi2 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 14:54:51.711: Vi2 LCP: MagicNumber 0x4AA56D88 (0x05064AA56D88)
*Mar 1 14:54:51.711: Vi2 LCP: O CONFACK [REQsent] id 1 len 15
*Mar 1 14:54:51.711: Vi2 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 14:54:51.711: Vi2 LCP: MagicNumber 0x4AA56D88 (0x05064AA56D88)
*Mar 1 14:54:53.687: Vi2 LCP: Timeout: State ACKsent
*Mar 1 14:54:53.687: Vi2 LCP: O CONFREQ [ACKsent] id 59 len 10
*Mar 1 14:54:53.687: Vi2 LCP: MagicNumber 0x0CD3E056 (0x05060CD3E056)
*Mar 1 14:54:53.711: Vi2 LCP: I CONFREQ [ACKsent] id 2 len 15
*Mar 1 14:54:53.711: Vi2 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 14:54:53.711: Vi2 LCP: MagicNumber 0x4AA56D88 (0x05064AA56D88)
*Mar 1 14:54:53.711: Vi2 LCP: O CONFACK [ACKsent] id 2 len 15
*Mar 1 14:54:53.711: Vi2 LCP: AuthProto CHAP (0x0305C22305)
*Mar 1 14:54:53.711: Vi2 LCP: MagicNumber 0x4AA56D88 (0x05064AA56D88)
*Mar 1 14:54:53.715: Vi2 LCP: I CONFACK [ACKsent] id 59 len 10
*Mar 1 14:54:53.719: Vi2 LCP: MagicNumber 0x0CD3E056 (0x05060CD3E056)
*Mar 1 14:54:53.719: Vi2 LCP: State is Open
*Mar 1 14:54:53.719: Vi2 PPP: Phase is AUTHENTICATING, by the peer
*Mar 1 14:54:53.775: Vi2 CHAP: I CHALLENGE id 1 len 35 from "c72g1.rms-atm1"
*Mar 1 14:54:53.775: Vi2 CHAP: Using hostname from unknown source
*Mar 1 14:54:53.775: Vi2 CHAP: Using password from interface CHAP
*Mar 1 14:54:53.779: Vi2 CHAP: O RESPONSE id 1 len 27 from "Router"
*Mar 1 14:54:53.835: Vi2 CHAP: I FAILURE id 1 len 41 msg is "Authentication fai
ledUnknown username"
lorbellu
Network Emperor
Messaggi: 313
Iscritto il: gio 25 ott , 2007 6:14 pm

Ciao,

Quoto dal tuo post:
*Mar 1 14:54:53.719: Vi2 PPP: Phase is AUTHENTICATING, by the peer
*Mar 1 14:54:53.775: Vi2 CHAP: I CHALLENGE id 1 len 35 from "c72g1.rms-atm1"
*Mar 1 14:54:53.775: Vi2 CHAP: Using hostname from unknown source
*Mar 1 14:54:53.775: Vi2 CHAP: Using password from interface CHAP
*Mar 1 14:54:53.779: Vi2 CHAP: O RESPONSE id 1 len 27 from "Router"
*Mar 1 14:54:53.835: Vi2 CHAP: I FAILURE id 1 len 41 msg is "Authentication failed Unknown username"
La risposta sta nel debug, ovvero Authentication failed Unknown username

Il fatto é che nella configurazione del dialer hai usato il comando ppp chap username xxxxxxxx mentre per l'autenticazione via chap
(come sempre indicato dal debug) é richiesto di utilizzare l'hostname come username
*Mar 1 14:54:53.775: Vi2 CHAP: Using hostname from unknown source
Sostituisci il comando sudetto con ppp chap hostname xxxxxx e il gioco dovrebbe essere fatto.

Saluti
Lorbellu
spiegel
n00b
Messaggi: 20
Iscritto il: mer 18 mar , 2009 8:40 am

Ciao grazie per il prezioso aiuto! Sembra che sono vicino alla soluzione...
Ora mi da password errata anche se la password è corretta.Forse la sintassi della password non è corretta?
Ho dovuto anche aggiornare l'orario del router che nella connessione mi dava problemi (mi sa che devo cambiare la batteria,non tiene l'ora aggiornata,poco male)
Ti posto la nuova config aggiornata e il debug.
Mi dai una soluzione?
Grazie paolo
-----------------------------------------------------------------------
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname Cisco
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 25
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip routing
!
!
!
!
ip cef
ip name-server 213.205.32.70
ip name-server 213.205.36.70
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
no ip route-cache enable
speed auto
no shutdown
full-duplex
!
interface Serial0/0
no ip address
no ip route-cache
shutdown
!
interface ATM1/0
no ip address
no ip route-cache
no shutdown
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Dialer0
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp chap hostname xxxxxxx
ppp chap password xxxxxxx
ppp pap sent-username xxxxxx password xxxxx
!
ip route 0.0.0.0 0.0.0.0 Dialer0
!
no ip http server
no ip http secure-server
ip nat translation timeout 420
ip nat translation tcp-timeout 120
ip nat translation pptp-timeout 420
ip nat translation icmp-timeout 1
ip nat translation max-entries 1000
ip nat inside source list nat interface Dialer0 overload
!
ip access-list extended nat
permit ip 192.168.0.0 0.0.0.255 any
permit icmp 192.168.0.0 0.0.0.255 any
!
!
control-plane
!
!
line con 0
line aux 0
line vty 0 4
!
end


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




*Oct 19 14:04:27.647: Vi2 PPP: Authorization required
*Oct 19 14:04:27.647: Vi2 PPP: No remote authentication for call-out
*Oct 19 14:04:29.695: Vi2 PPP: No authorization without authentication
*Oct 19 14:04:29.699: Vi2 CHAP: I CHALLENGE id 1 len 35 from "c72g1.rms-atm1"
*Oct 19 14:04:29.699: Vi2 CHAP: Using hostname from interface CHAP
*Oct 19 14:04:29.699: Vi2 CHAP: Using password from interface CHAP
*Oct 19 14:04:29.703: Vi2 CHAP: O RESPONSE id 1 len 40 from "xxxxxxx"
*Oct 19 14:04:29.763: Vi2 CHAP: I FAILURE id 1 len 39 msg is "Authentication failed Wrong password"
TeCer
Cisco fan
Messaggi: 67
Iscritto il: sab 16 mag , 2009 5:28 pm

prova con queste due righe al posto di quelle che hai ora.

Codice: Seleziona tutto

 ppp authentication chap pap callin 
 ppp pap sent-username *** password ***
spiegel
n00b
Messaggi: 20
Iscritto il: mer 18 mar , 2009 8:40 am

Ciao ho interrotto per un po la cosa che sono stato impegnato con il lavoro.
Ho sostituito le righe che mi dicevi e questo è il risultato:
Ne capisco sempre meno....

*Oct 19 14:18:07.639: Vi2 PPP: Phase is ESTABLISHING, Passive Open
*Oct 19 14:18:07.639: Vi2 LCP: State is Listen
*Oct 19 14:18:09.647: Vi2 LCP: Timeout: State Listen
*Oct 19 14:18:09.647: Vi2 PPP: No remote authentication for call-out
*Oct 19 14:18:09.647: Vi2 LCP: O CONFREQ [Listen] id 232 len 10
*Oct 19 14:18:09.647: Vi2 LCP: MagicNumber 0x0CD54AA3 (0x05060CD54AA3)
*Oct 19 14:18:09.683: Vi2 LCP: I CONFREQ [REQsent] id 1 len 15
*Oct 19 14:18:09.683: Vi2 LCP: AuthProto CHAP (0x0305C22305)
*Oct 19 14:18:09.683: Vi2 LCP: MagicNumber 0x9755824B (0x05069755824B)
*Oct 19 14:18:09.683: Vi2 LCP: O CONFACK [REQsent] id 1 len 15
*Oct 19 14:18:09.683: Vi2 LCP: AuthProto CHAP (0x0305C22305)
*Oct 19 14:18:09.683: Vi2 LCP: MagicNumber 0x9755824B (0x05069755824B)
*Oct 19 14:18:11.663: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:11.663: Vi2 LCP: O CONFREQ [ACKsent] id 233 len 10
*Oct 19 14:18:11.663: Vi2 LCP: MagicNumber 0x0CD54AA3 (0x05060CD54AA3)
*Oct 19 14:18:11.695: Vi2 LCP: I CONFACK [ACKsent] id 233 len 10
*Oct 19 14:18:11.695: Vi2 LCP: MagicNumber 0x0CD54AA3 (0x05060CD54AA3)
*Oct 19 14:18:11.695: Vi2 LCP: State is Open
*Oct 19 14:18:11.695: Vi2 PPP: Phase is AUTHENTICATING, by the peer
*Oct 19 14:18:11.695: Vi2 CHAP: I CHALLENGE id 1 len 35 from "c72g1.rms-atm1"
*Oct 19 14:18:11.699: Vi2 CHAP: Unable to authenticate for peer
*Oct 19 14:18:11.699: Vi2 PPP: Sending Acct Event[Down] id[4D]
*Oct 19 14:18:11.703: Vi2 PPP: Phase is TERMINATING
*Oct 19 14:18:11.703: Vi2 LCP: O TERMREQ [Open] id 234 len 4
*Oct 19 14:18:11.735: Vi2 LCP: I TERMACK [TERMsent] id 234 len 4
*Oct 19 14:18:11.735: Vi2 LCP: State is Closed
*Oct 19 14:18:11.735: Vi2 PPP: Phase is DOWN
*Oct 19 14:18:11.735: Vi2 PPP: Phase is ESTABLISHING, Passive Open
*Oct 19 14:18:11.735: Vi2 LCP: State is Listen
*Oct 19 14:18:13.743: Vi2 LCP: Timeout: State Listen
*Oct 19 14:18:13.743: Vi2 PPP: No remote authentication for call-out
*Oct 19 14:18:13.743: Vi2 LCP: O CONFREQ [Listen] id 235 len 10
*Oct 19 14:18:13.743: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:13.779: Vi2 LCP: I CONFREQ [REQsent] id 1 len 15
*Oct 19 14:18:13.779: Vi2 LCP: AuthProto CHAP (0x0305C22305)
*Oct 19 14:18:13.779: Vi2 LCP: MagicNumber 0x97559252 (0x050697559252)
*Oct 19 14:18:13.779: Vi2 LCP: O CONFACK [REQsent] id 1 len 15
*Oct 19 14:18:13.783: Vi2 LCP: AuthProto CHAP (0x0305C22305)
*Oct 19 14:18:13.783: Vi2 LCP: MagicNumber 0x97559252 (0x050697559252)
*Oct 19 14:18:15.759: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:15.759: Vi2 LCP: O CONFREQ [ACKsent] id 236 len 10
*Oct 19 14:18:15.759: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:17.775: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:17.775: Vi2 LCP: O CONFREQ [ACKsent] id 237 len 10
*Oct 19 14:18:17.775: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:19.795: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:19.795: Vi2 LCP: O CONFREQ [ACKsent] id 238 len 10
*Oct 19 14:18:19.795: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:21.807: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:21.807: Vi2 LCP: O CONFREQ [ACKsent] id 239 len 10
*Oct 19 14:18:21.807: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:23.823: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:23.823: Vi2 LCP: O CONFREQ [ACKsent] id 240 len 10
*Oct 19 14:18:23.823: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:25.839: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:25.839: Vi2 LCP: O CONFREQ [ACKsent] id 241 len 10
*Oct 19 14:18:25.839: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:27.855: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:27.855: Vi2 LCP: O CONFREQ [ACKsent] id 242 len 10
*Oct 19 14:18:27.855: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:29.871: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:29.871: Vi2 LCP: O CONFREQ [ACKsent] id 243 len 10
*Oct 19 14:18:29.871: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:31.151: %LINK-3-UPDOWN: Interface ATM1/0, changed state to down
*Oct 19 14:18:31.887: Vi2 LCP: Timeout: State ACKsent
*Oct 19 14:18:31.887: Vi2 LCP: O CONFREQ [ACKsent] id 244 len 10
*Oct 19 14:18:31.887: Vi2 LCP: MagicNumber 0x0CD55AA4 (0x05060CD55AA4)
*Oct 19 14:18:32.135: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state t
o down

Riesci a capire che succede?
Se possibile possiamo sentirci a voce?
Ciao grazie Paolo
spiegel
n00b
Messaggi: 20
Iscritto il: mer 18 mar , 2009 8:40 am

Ho provato ad aumentare i timeout ed ora ho la seguente situazione:

Cisco#
*Oct 19 14:18:42.267: Vi2 PPP: No authorization without authentication
*Oct 19 14:18:42.307: Vi2 CHAP: I CHALLENGE id 1 len 35 from "c72g1.rms-atm1"
*Oct 19 14:18:42.311: Vi2 CHAP: Unable to authenticate for peer
*Oct 19 14:18:44.351: Vi2 PPP: Authorization required
*Oct 19 14:18:44.351: Vi2 PPP: No remote authentication for call-out
*Oct 19 14:18:46.395: Vi2 PPP: No authorization without authentication
*Oct 19 14:18:46.407: Vi2 CHAP: I CHALLENGE id 1 len 35 from "c72g1.rms-atm1"
*Oct 19 14:18:46.407: Vi2 CHAP: Unable to authenticate for peer
*Oct 19 14:18:48.447: Vi2 PPP: Authorization required
*Oct 19 14:18:48.447: Vi2 PPP: No remote authentication for call-out
*Oct 19 14:18:50.491: Vi2 PPP: No authorization without authentication
*Oct 19 14:18:50.499: Vi2 CHAP: I CHALLENGE id 1 len 35 from "c72g1.rms-atm1"
*Oct 19 14:18:50.503: Vi2 CHAP: Unable to authenticate for peer


cosa posso fare?
Avatar utente
Wizard
Intergalactic subspace network admin
Messaggi: 3441
Iscritto il: ven 03 feb , 2006 10:04 am
Località: Emilia Romagna
Contatta:

Ma sei sicuro che tu debba usare questo tipo di configurazione e non una con IP statico?
Il futuro è fatto di persone che hanno delle intuizioni e visioni .....sono quelle persone che fanno la differenza...... quelle dotate di un TERZO OCCHIO....
spiegel
n00b
Messaggi: 20
Iscritto il: mer 18 mar , 2009 8:40 am

Penso di si.Io non ho un IP statico nella mia connessione. Ho una linea solo dati tiscali con IP dinamico.Ti riferisci a questo?
spiegel
n00b
Messaggi: 20
Iscritto il: mer 18 mar , 2009 8:40 am

Sto ancora imparando e molte cose le prendo cosi come sono...
Se hai una configurazione ottimale magari commentata mandamela pure.
Mi basta semplicemente andare online senza access list,voip o altro.
Sto facendo esperienza
Grazie per l'interesse.
spiegel
n00b
Messaggi: 20
Iscritto il: mer 18 mar , 2009 8:40 am

Ciao grazie x il consiglio.
Ho provato ma questo è il risultato:


No remote authentication for call-out
*Oct 19 14:28:28.591: Vi2 PPP: No authorization without authentication
*Oct 19 14:28:28.651: Vi2 CHAP: I CHALLENGE id 1 len 35 from "c72g1.rms-atm1"
*Oct 19 14:28:28.651: Vi2 CHAP: Unable to authenticate for peer
*Oct 19 14:28:30.671: Vi2 PPP: Authorization required
*Oct 19 14:28:30.671: Vi2 PPP: No remote authentication for call-out
*Oct 19 14:28:32.715: Vi2 PPP: No authorization without authentication
*Oct 19 14:28:32.747: Vi2 CHAP: I CHALLENGE id 1 len 35 from "c72g1.rms-atm1"
*Oct 19 14:28:32.747: Vi2 CHAP: Unable to authenticate for peer
*Oct 19 14:28:34.799: Vi2 PPP: Authorization required
*Oct 19 14:28:34.799: Vi2 PPP: No remote authentication for call-out

mi sembra uguale a prima che dici?
Hai qualche idea?
Avatar utente
Wizard
Intergalactic subspace network admin
Messaggi: 3441
Iscritto il: ven 03 feb , 2006 10:04 am
Località: Emilia Romagna
Contatta:

Sono 2 anni che nn configuro + un router adsl però da questo log:

No remote authentication for call-out

Mi sembra che non ci sia un server (radisu credo) che autentichi.
E' x questo che ti ho chiesto se eri sicuro...

Ma hai aperto una bella chiamata al provider?
Il futuro è fatto di persone che hanno delle intuizioni e visioni .....sono quelle persone che fanno la differenza...... quelle dotate di un TERZO OCCHIO....
spiegel
n00b
Messaggi: 20
Iscritto il: mer 18 mar , 2009 8:40 am

Ciao si ho gia chiesto a loro ma mi dicono che non possono aiutarmi x configurazione di apparati.
Però ora gli chiedo che server è utilizzato x l'autenticazione.
Ti faccio sapere.
Rispondi