Cisco 1841 e ADSL

Tutto ciò che ha a che fare con la configurazione di apparati Cisco (e non rientra nelle altre categorie)

Moderatore: Federico.Lagni

ottobrerosso
Cisco fan
Messaggi: 56
Iscritto il: mer 05 ott , 2011 2:14 pm

Ciao a tutti,
stavo seguendo quanto riportato in questo post per configurare un 1841 per il collegamento all'ADSL.

Però ricevo questo errore quando configure il nat sulla FastEthernet...

R1841(config-if)#ip nat inside
% NBAR ERROR: due to memory problem, parsing stopped
% NBAR Error : Activation failed due to insufficient dynamic memory
% NBAR Error: Stile could not add protocol node
%NAT: Error activating CNBAR on the interface FastEthernet0/0
R1841(config-if)#
*Jan 1 00:11:37.883: %SYS-2-MALLOCFAIL: Memory allocation of 10260 bytes failed from 0x624823B8, alignment 0
Pool: Processor Free: 28976 Cause: Memory fragmentation
Alternate Pool: None Free: 0 Cause: No Alternate pool
-Process= "Exec", ipl= 0, pid= 3, -Traceback= 0x6029C62Cz 0x602B55B0z 0x631587CCz 0x62479700z 0x62479864z 0x62454B48z 0x62454C78z 0x62454D1Cz 0x62455884z 0x6248DEB0z 0x62498EF4z 0x6248525Cz 0x624A46ECz 0x624A4A84z 0x61716774z 0x61718ACCz
*Jan 1 00:11:37.883: %NBAR-2-NOMEMORY: No memory available for StILE lmalloc, -Traceback= 0x62479728z 0x62479864z 0x62454B48z 0x62454C78z 0x62454D1Cz 0x62455884z 0x6248DEB0z 0x62498EF4z 0x6248525Cz 0x624A46ECz 0x624A4A84z 0x61716774z 0x61718ACCz 0x60F8C87Cz 0x60FB2904z 0x625BF1B4z
R1841(config-if)#

da qui in poi qualsiasi comando inserisca mi dice "comando non riconosciuto" e devo spegnere e riaccendere il router...

Sono alle prime armi e sto cercando di imparare a fare qualcosa...
Avete qualche suggerimento su cosa potrei fare ?
Grazie!
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Ciao.
Probabilmente hai poca RAm per l'IOS che hai messo.

Posta uno

Codice: Seleziona tutto

show ver
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
ottobrerosso
Cisco fan
Messaggi: 56
Iscritto il: mer 05 ott , 2011 2:14 pm

Ciao,
ecco l'output di show version sul mio 1841:

R1841#show version
Cisco IOS Software, 1841 Software (C1841-ADVENTERPRISEK9-M), Version 12.4(24)T3, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 23-Mar-10 04:50 by prod_rel_team

ROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)

R1841 uptime is 1 minute
System returned to ROM by power-on
System image file is "flash:c1841-adventerprisek9-mz.124-24.T3.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
[email protected].

Cisco 1841 (revision 5.0) with 120832K/10240K bytes of memory.
Processor board ID FCZ092123DN
2 FastEthernet interfaces
1 ATM interface
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity disabled.
191K bytes of NVRAM.
1990296K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102

R1841#

Grazie!
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Ciao.
Hai solo 128MB di RAM e l'IOS che usi ne chiede 194MB. O fai un upgrade di RAM o metti un IOS che richiede meno memoria.

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
ottobrerosso
Cisco fan
Messaggi: 56
Iscritto il: mer 05 ott , 2011 2:14 pm

Ciao,
grazie, per cui cambio l'IOS.
Che versione di IOS mi consigliate?
Grazie
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Rimanendo sulla 12.4 puoi mettere ADVANCED IP SERVICE

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
ottobrerosso
Cisco fan
Messaggi: 56
Iscritto il: mer 05 ott , 2011 2:14 pm

Ciao, ho messo la 12.4
qui lo show version:

Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(25g), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Wed 22-Aug-12 03:36 by prod_rel_team

ROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)

R1841 uptime is 0 minutes
System returned to ROM by power-on
System image file is "flash:c1841-advipservicesk9-mz.124-25g.bin"


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
[email protected].

Cisco 1841 (revision 5.0) with 115712K/15360K bytes of memory.
Processor board ID FCZ092123DN
2 FastEthernet interfaces
1 ATM interface
1 Virtual Private Network (VPN) Module
DRAM configuration is 64 bits wide with parity disabled.
191K bytes of NVRAM.
1990296K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102

R1841> enable


poi ho provato a seguire questo thread per la configurazione però non mi va...
http://www.ciscoforums.it/viewtopic.php?f=22&t=29372
questa la mia configurazione:

R1841#sh running-config
Building configuration...

Current configuration : 1455 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1841
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip cef
!
!
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
archive
log config
hidekeys
!
!
!
!
!
!
interface FastEthernet0/0
description "To Netgear"
ip address 10.136.12.254 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1410
no ip mroute-cache
speed 100
full-duplex
no cdp enable
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface ATM0/0/0
no ip address
no ip route-cache cef
no ip route-cache
no ip mroute-cache
atm restart timer 300
no atm ilmi-keepalive
atm pppatm link reset
bundle-enable
dsl operating-mode auto
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface Dialer0
description Internet Connection
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp authentication pap callin
ppp pap sent-username miamail password 0 miapassword
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
no ip http server
no ip http secure-server
ip nat inside source list 1 interface Dialer0 overload
!
access-list 1 permit 10.135.100.0 0.0.0.255
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end

R1841#


cosa c'è che non va ?
Grazie!
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Posta

Codice: Seleziona tutto

show ip int brief
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
ottobrerosso
Cisco fan
Messaggi: 56
Iscritto il: mer 05 ott , 2011 2:14 pm

Ecco:

R1841#sh ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.136.12.254 YES NVRAM up up
FastEthernet0/1 unassigned YES NVRAM administratively down down
ATM0/0/0 unassigned YES NVRAM up up
NVI0 unassigned NO unset up up
Virtual-Access1 unassigned YES unset up up
Virtual-Access2 unassigned YES unset up down
Dialer0 unassigned YES NVRAM up up
R1841#
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Codice: Seleziona tutto

debug ppp authentication
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
ottobrerosso
Cisco fan
Messaggi: 56
Iscritto il: mer 05 ott , 2011 2:14 pm

Ecco qua:

R1841#debug ppp authenticatio
PPP authentication debugging is on
R1841#
R1841#
R1841#
R1841#
R1841#
*Jan 1 00:06:11.599: Vi2 PPP: Authorization required
*Jan 1 00:06:11.599: Vi2 PPP: No remote authentication for call-out
*Jan 1 00:07:01.775: Vi2 PPP: Authorization required
*Jan 1 00:07:01.775: Vi2 PPP: No remote authentication for call-out
*Jan 1 00:07:51.951: Vi2 PPP: Authorization required
*Jan 1 00:07:51.951: Vi2 PPP: No remote authentication for call-out
paolomat75
Messianic Network master
Messaggi: 2965
Iscritto il: ven 29 gen , 2010 10:25 am
Località: Prov di GE

Solo quello ti dice?
Non è che hai una linea aziendale con IP statico?

Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
ottobrerosso
Cisco fan
Messaggi: 56
Iscritto il: mer 05 ott , 2011 2:14 pm

Ciao,
si l'ho lasciato li un paio di minuti e quello è l'unico messaggio che mi dava...

no no il router lo sto provando sulla linea di casa, Alice 7Mb niente ip statico.
Ora per la linea ADSL uso un router Netgear... volevo provare a far funzionare il 1841.
I parametri Telecom sono questi:
Parametri richiesti

Connessione Internet
Sia che utilizzi un Wizard oppure la configurazione manuale del tuo modem/router, i parametri necessari per la configurazione con una connessione Alice ADSL sono i seguenti:

USERNAME: aliceadsl
PASSWORD: aliceadsl
PROTOCOLLO: PPPoE
INCAPSULAMENTO: LLC
VPI: 8
VCI: 35
DHCP: abilitato (gli indirizzi IPsono assegnati in automatico ai pc in rete e sono dinamici)
DNS: impostare l'assegnazione automatica da provider (ISP)
CiscoEVPN
Cisco power user
Messaggi: 76
Iscritto il: sab 08 nov , 2014 11:12 am

Ciao Ottobre,

A me sembra che la tua configurazione sia impostata per una connessione PPPoA
Il tuo provider ti fornisce una connessione PPPoE

Prova con questa, modificandone gli IP:

!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
!
!
!
!
!
!
!
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0/0.1 point-to-point
pvc 8/35
pppoe-client dial-pool-number 1
!
!
!
interface Ethernet0/0
ip address 192.168.1.254 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
half-duplex
hold-queue 100 out
!
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
ppp authentication chap callin
ppp chap hostname aliceadsl
ppp chap password 0 aliceadsl
ppp ipcp dns request
ppp ipcp wins request
ottobrerosso
Cisco fan
Messaggi: 56
Iscritto il: mer 05 ott , 2011 2:14 pm

Ciao!
Ok, sta sera la provo e vi faccio sapere!
Solo un informazione:
ppp ipcp dns request
ppp ipcp wins request

lo posso impostare io il DNS ?
Grazie
Rispondi