Pagina 1 di 1

c837 - c1721

Inviato: mer 26 ott , 2011 3:13 pm
da pcsupport
ciao a tutti su entrambe i router ho lo stesso problema con il ddns.
entrambe con ios 12.4
riporto la conf (simile con entrambe i router)

version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname c837
!
boot-start-marker
boot-end-marker
!
enable password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
no ip dhcp use vrf connected
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.254.1
ip dhcp excluded-address 192.168.254.4
ip dhcp excluded-address 192.168.254.7
ip dhcp excluded-address 192.168.254.11
!
ip dhcp pool CLIENT
network 192.168.254.0 255.255.255.0
default-router 192.168.254.1
dns-server 85.37.17.40 212.216.112.112
lease infinite
!
!
ip tcp mss 1452
ip cef
ip name-server 85.37.17.40
ip name-server 212.216.112.112
no ip ips deny-action ips-interface
ip ddns update method ddns
HTTP
add http://user:[email protected]/nic/u ... h>&myip=<a>
interval maximum 0 0 5 0
!
!
!
!
!
!
!
!
!
interface Ethernet0
ip address 192.168.254.1 255.255.255.0
ip nat inside
ip virtual-reassembly
hold-queue 100 out
!
interface Ethernet2
no ip address
shutdown
hold-queue 100 out
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
pvc 8/35
encapsulation aal5snap
protocol ppp dialer
dialer pool-member 1
!
!
interface FastEthernet1
duplex auto
speed auto
!
interface FastEthernet2
duplex auto
speed auto
!
interface FastEthernet3
duplex auto
speed auto
!
interface FastEthernet4
duplex auto
speed auto
!
interface Dialer0
description Connessione ADSL Telecom 7MB
ip ddns update hostname member.dyndns.org
ip ddns update host
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
ppp pap sent-username aliceadsl password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxx
!
ip classless
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 udp-timeout 120
ip nat translation finrst-timeout 300
ip nat translation syn-timeout 120
ip nat translation dns-timeout 300
ip nat translation icmp-timeout 120
ip nat translation max-entries 5000
ip nat service sip udp port 5061
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source static tcp 192.168.254.7 80 interface Dialer0 80
!
access-list 1 permit 192.168.254.0 0.0.0.255
!
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
login
!
scheduler max-task-time 5000
end
scollego la linea adsl per far aggiornare il ddns questo è il risultato:
*Mar 3 16:45:14.467: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to down
*Mar 3 16:45:14.467: %DIALER-6-UNBIND: Interface Vi2 unbound from profile Di0
*Mar 3 16:45:15.063: %LINK-3-UPDOWN: Interface ATM0, changed state to down
*Mar 3 16:45:15.467: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to down
*Mar 3 16:45:16.063: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0, changed state to down
*Mar 3 16:45:32.959: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to up
*Mar 3 16:45:32.959: %DIALER-6-BIND: Interface Vi2 bound to profile Di0
*Mar 3 16:45:33.523: %LINK-3-UPDOWN: Interface ATM0, changed state to up
Translating "member.dyndns.org"...domain server (85.37.17.40)
*Mar 3 16:45:36.523: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0, changed state to up
*Mar 3 16:45:38.851: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to up [OK]
ogni un tot di secondi
Translating "member.dyndns.org"...domain server (85.37.17.40) [OK]

Translating "member.dyndns.org"...domain server (85.37.17.40) [OK]
l'indirizzo ip npn viene aggiornato.
spero possiate darmi una mano, non capisco dove sbaglio.
grazie in anticipo.
in fase di configurazione ddns ho inserito questo comando:
ddns both
adesso il risultato è questo:
Translating "member.dyndns.org"...domain server (216.146.35.35) [OK]

*Mar 3 19:01:35.399: DYNDNSUPD: Adding DNS mapping for member.dyndns.org <=> 79.6.82.5
*Mar 3 19:01:35.399: HTTPDNS: Update add called for member.dyndns.org <=> 79.6.82.5
*Mar 3 19:01:35.399: HTTPDNSUPD: Session ID = 0x5C
*Mar 3 19:01:35.399: HTTPDNSUPD: URL = 'http://users:[email protected]/nic/ ... =79.6.82.5'
*Mar 3 19:01:35.399: HTTPDNSUPD: Sending request
*Mar 3 19:01:55.591: HTTPDNSUPD: Call returned Connection time out for update member.dyndns.org <=> 79.6.82.5
*Mar 3 19:01:55.591: DYNDNSUPD: Another update completed (outstanding=0, total=0)
*Mar 3 19:01:55.591: HTTPDNSUPD: Clearing all session 92 info
va in timeout senza aggiornare l'ip.

Re: c837 - c1721

Inviato: mer 26 ott , 2011 5:18 pm
da anubisg1

Re: c837 - c1721

Inviato: sab 29 ott , 2011 10:46 am
da pcsupport
anubisg1 ha scritto:la config non è completa:

http://www.ciscoforums.it/viewtopic.php?f=10&t=28702
ciao
quindi mi manca "remove http"?
ho fatto queste modifiche:
dal pannello di controllo DDNS ho cambiato da ip a url Webhop
adesso il router si aggiorna.
quando provo l'accessso dall'esterno al server mi esce per un attimo la schermata del webserver, poi scompare e non riesco ad accedere, come se il router non mi facesse entrare.
grazie

Re: c837 - c1721

Inviato: sab 29 ott , 2011 1:39 pm
da paolomat75
pcsupport ha scritto:
anubisg1 ha scritto:la config non è completa:

http://www.ciscoforums.it/viewtopic.php?f=10&t=28702
ciao
quindi mi manca "remove http"?
ho fatto queste modifiche:
dal pannello di controllo DDNS ho cambiato da ip a url Webhop
adesso il router si aggiorna.
quando provo l'accessso dall'esterno al server mi esce per un attimo la schermata del webserver, poi scompare e non riesco ad accedere, come se il router non mi facesse entrare.
grazie
In che senso vedi per un attimo? Se il router non ti facesse passare non dovresti vederla neanche per un attimo.
Prova a cancellare la cache del browser e rifai la prova. La configurazione sembra corretta.

Paolo