La mia necessità è spinta dal fatto che il router è sistemato in un'abitazione molto lontana dalla centrale DSLAM: il rapporto S/N è molto basso e in più di un'occasione la connessione DSL va giù e non c'è verso di ripristinarla se non riavviando il router. Pensando fosse un problema dovuto a Telecom ho più volte aperto la segnalazione del guasto. Il risultato è che il tecnico, durante il sopralluogo, esegue il test con l'analizzatore di rete e vede che la linea è "al limite" (volevo fare una 4Mb/s ma la linea non permette più di 1,2Mb/s) e quindi è probabile che, di tanto in tanto, i modem perdano la capacità di comunicare. Loro mi hanno consigliato di riavviare il router periodicamente, e siccome le disconnessioni sono molto aleatorie (maggiore incidenza quando piove (!!!) a riprova che le connessioni sono, oltre che lunghe, anche mal realizzate) avevo pensato ad un riavvio periodico. Per fugare ogni dubbio allego il risultato di
show run:
Current configuration : 3352 bytes
!
! Last configuration change at 12:46:06 CET Thu May 10 2007
! NVRAM config last updated at 12:37:53 CET Thu May 10 2007
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname XXXXXXX
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 XXXXXXXX
enable password 7 XXXXXXXX
!
clock timezone CET 1
clock summer-time CET recurring last Sun Mar 2:00 last Sun Oct 2:00
ip subnet-zero
ip domain name XXXXXXXXX.XX
ip name-server 208.67.222.222
ip name-server 208.67.222.220
!
!
ip ftp source-interface Loopback0
ip ftp username admin
ip ftp password 7 XXXXXX
ip ssh authentication-retries 4
no aaa new-model
!
!
username admin password 7 XXXXXXXXXX
!
!
no crypto isakmp enable
!
!
!
interface Loopback0
no ip address
!
interface Ethernet0
ip address 192.168.1.254 255.255.255.192
ip nat inside
no ip mroute-cache
hold-queue 100 out
!
interface ATM0
no ip address
ip nat outside
atm vc-per-vp 64
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
ip address 88.XX.XX.XX 255.255.255.248
ip nat outside
pvc 8/35
encapsulation aal5snap
!
!
interface Virtual-Template1
no ip address
!
ip classless
ip route 0.0.0.0 0.0.0.0 ATM0.1
ip route 0.0.0.0 0.0.0.0 88.XX.XX.XX
ip http server
ip http secure-server
ip nat inside source list 1 interface ATM0.1 overload
ip nat inside source list natsource interface ATM0.1 overload
ip nat inside source static tcp 192.168.1.230 80 88.XX.XX.XX 10230 extendable
ip nat inside source static tcp 192.168.1.250 80 88.XX.XX.XX 10250 extendable
ip nat inside source static tcp 192.168.1.251 80 88.XX.XX.XX 10251 extendable
ip nat inside source static tcp 192.168.1.252 80 88.XX.XX.XX 10252 extendable
ip nat inside source static tcp 192.168.1.253 80 88.XX.XX.XX 10253 extendable
ip nat inside source static tcp 192.168.1.254 80 88.XX.XX.XX 10254 extendable
ip nat inside source static tcp 192.168.1.251 23 88.XX.XX.XX 11251 extendable
ip nat inside source static tcp 192.168.1.252 23 88.XX.XX.XX 11252 extendable
ip nat inside source static tcp 192.168.1.253 23 88.XX.XX.XX 11253 extendable
ip nat inside source static tcp 192.168.1.254 23 88.XX.XX.XX 11254 extendable
ip nat inside source static tcp 192.168.1.230 22 88.XX.XX.XX 12230 extendable
ip nat inside source static tcp 192.168.1.230 44646 88.XX.XX.XX 44646 extendabl
e
ip nat inside source static udp 192.168.1.230 44646 88.XX.XX.XX 44646 extendabl
e
!
!
kron occurrence riavvio_giornaliero at 6:30 recurring
policy-list RELOAD
!
kron policy-list RELOAD
cli reload
!
access-list 1 permit any
!
control-plane
!
!
line con 0
password 7 XXXXXXXXX
login
no modem enable
transport preferred all
transport output all
stopbits 1
line aux 0
transport preferred all
transport output all
stopbits 1
line vty 0
password 7 XXXXXXXXXX
login
length 0
transport preferred all
transport input all
transport output all
line vty 1 4
exec-timeout 120 0
password 7 XXXXXXXXX
login
length 0
transport preferred all
transport input all
transport output all
!
exception protocol ftp
scheduler max-task-time 5000
sntp server 193.204.114.232
!
end
e il risultato di
show ver:
Cisco IOS Software, SOHO97 Software (SOHO97-K9OY1-M), Version 12.3(7)T12, RELEAS
E SOFTWARE (fc1)
Technical Support:
http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Fri 12-Aug-05 15:13 by alnguyen
ROM: System Bootstrap, Version 12.2(8r)YN, RELEASE SOFTWARE (fc1)
POLARIS uptime is 3 days, 23 hours, 54 minutes
System returned to ROM by reload
System restarted at 16:37:34 CET Mon May 7 2007
System image file is "flash:soho97.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 SOHO97 (MPC857DSL) processor (revision 0x400) with 29492K/3276K bytes of m
emory.
Processor board ID AMB08270001 (597600061), with hardware revision 0000
CPU rev number 7
1 Ethernet interface
1 ATM interface
128K bytes of NVRAM.
8192K bytes of processor board System flash (Read/Write)
2048K bytes of processor board Web flash (Read/Write)
Configuration register is 0x2102
Grazie comunque per il tuo aiuto.
Gabriele