|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
Cisco 827h e Alice
Ciao a tutti,
ho da preso usato un cisco 827h e lo vorrei utilizzare con il mio contratto di casa Alice 7mega. Purtroppo (abbastanza normale vista la mia poca esperienza...) non funziona Di seguito tutti i dati, qualcuno mi può dare qualche consiglio? Codice:
Cisco827h#show interfaces atm 0
ATM0 is down, line protocol is down
Hardware is PQUICC_SAR (with Alcatel ADSL Module)
MTU 1500 bytes, sub MTU 1500, BW 800 Kbit, DLY 80 usec,
reliability 0/255, txload 1/255, rxload 1/255
Encapsulation ATM, loopback not set
Encapsulation(s): AAL5 AAL2, PVC mode
10 maximum active VCs, 1024 VCs per VP, 0 current VCCs
VC Auto Creation Disabled.
VC idle disconnect time: 300 seconds
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/224/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: Per VC Queueing
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
Cisco827h#show interfaces dialer 0
Dialer0 is up (spoofing), line protocol is up (spoofing)
Hardware is Unknown
Internet address will be negotiated using IPCP
MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
DTR is pulsed for 1 seconds on reset
Last input never, output never, output hang never
Last clearing of "show interface" counters 00:23:48
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/16 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 42 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes
0 packets output, 0 bytes
Cisco827h#show interfaces ethernet 0
Ethernet0 is up, line protocol is up
Hardware is PQUICC Ethernet, address is 000c.305a.7c8c (bia 00c.305a.7c8c)
Internet address is 192.168.0.1/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Half-duplex, 10Mb/s
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:01:08, output 00:00:07, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/100 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1795 packets input, 109976 bytes, 0 no buffer
Received 14 broadcasts, 0 runts, 0 giants, 0 throttles
6 input errors, 0 CRC, 0 frame, 0 overrun, 6 ignored
0 input packets with dribble condition detected
1911 packets output, 122745 bytes, 0 underruns
0 output errors, 54 collisions, 1 interface resets
0 babbles, 0 late collision, 6 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Codice:
Cisco827h#show configuration Using 1370 out of 131072 bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname Cisco827h ! logging queue-limit 100 enable secret 5 $1$11111 enable password 7 111111111 ! ip subnet-zero ip tcp mss 1453 no ip dhcp conflict logging ip dhcp excluded-address 10.10.10.1 ! ip dhcp pool CLIENT import all network 192.168.0.0 255.255.255.0 default-router 192.168.0.1 dns-server 151.99.125.2 lease infinite ! ! ! ! interface Ethernet0 ip address 192.168.0.1 255.255.255.0 ip nat inside hold-queue 100 out ! interface ATM0 no ip address no atm ilmi-keepalive pvc 8/35 encapsulation aal5mux ppp dialer dialer pool-member 1 ! dsl operating-mode ansi-dmt hold-queue 224 in ! interface Dialer0 ip address negotiated ip nat outside encapsulation ppp ip tcp adjust-mss 1453 dialer pool 1 ppp authentication chap callin ppp pap sent-username aliceadsl password 7 11111111 ! ip nat inside source list 1 interface Dialer0 overload ip classless ip route 0.0.0.0 0.0.0.0 Dialer0 ip http server ! ! access-list 1 permit 192.168.0.0 0.0.0.255 access-list 23 permit 10.10.10.0 0.0.0.255 ! line con 0 exec-timeout 120 0 stopbits 1 line vty 0 4 access-class 23 in exec-timeout 120 0 password 7 1111111111 login length 0 ! scheduler max-task-time 5000 end encapsulation aal5snap protocol ppp dialer dialer pool-member 1 ma niente Ho provato a collegare un altro modem ADSL e la connessione ad internet c'è, navigo senza problemi. Ho provato anche a debuggare l'interfaccia ATM0 Codice:
00:14:27: DSL: 1: Modem state = 0x8 00:14:29: DSL: 2: Modem state = 0x8 00:14:32: DSL: 3: Modem state = 0x8 00:14:34: DSL: 4: Modem state = 0x8 00:14:37: DSL: 5: Modem state = 0x8 00:14:39: DSL: 6: Modem state = 0x8 00:14:42: DSL: 7: Modem state = 0x8 00:14:44: DSL: 8: Modem state = 0x8 00:14:47: DSL: 9: Modem state = 0x8 00:14:49: DSL: 10: Modem state = 0x8 00:14:52: DSL: 11: Modem state = 0x8 00:14:54: DSL: 12: Modem state = 0x8 00:14:57: DSL: 13: Modem state = 0x8 00:14:59: DSL: 14: Modem state = 0x8 00:15:02: DSL: 15: Modem state = 0x8 00:15:04: DSL: 16: Modem state = 0x8 00:15:07: DSL: 17: Modem state = 0x8 00:15:09: DSL: 18: Modem state = 0x8 00:15:12: DSL: 19: Modem state = 0x8 00:15:14: DSL: 20: Modem state = 0x8 00:15:17: DSL: Could not establish connection 00:15:17: DSL: Sent command 0x4 00:15:17: DSL: Send ADSL_OPEN command. 00:15:17: DSL: Using subfunction 0x15 00:15:17: DSL: Using subfunction 0x15 00:15:17: DSL: Sent command 0x5 00:15:17: DSL: Received response: 0x25 00:15:17: DSL: Unexpected response 0x25 00:15:17: DSL: Send ADSL_OPEN command. 00:15:17: DSL: Using subfunction 0x15 00:15:17: DSL: Using subfunction 0x15 00:15:17: DSL: Sent command 0x5 00:15:19: DSL: 1: Modem state = 0x8 ..... Codice:
If the modem state stays at "0x8" and says "Could not establish connection," it means that the device has not heard from the central office (CO). It does not see an incoming signal. Sicuramente sto sbagliando la configurazione. Qualcuno può darmi una mano?
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Mar 2007
Messaggi: 7863
|
comincia con il dare il comando "no shutdown" all' interfaccia ATM.
|
|
|
|
|
|
#3 | |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
Quote:
L'unico dubbio. Cosa devo ripostare una volta fatto tale comando?
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux |
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Nov 2007
Messaggi: 1779
|
Un'interfaccia infatti può essere correttamente configurata, fisicamente connessa ma se è "administratively down" non funzionerà. Il comando per metterla down è shutdown; quello per metterla up è no shutdown.
Se puoi posta l'output del comando Codice:
sh dsl int atm 0
__________________
slowped |
|
|
|
|
|
#5 | |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
Quote:
Codice:
Cisco827h#show interfaces atm 0 ATM0 is down, line protocol is down grazie ancora per l'aiuto!
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux |
|
|
|
|
|
|
#6 |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
Che dire alla fine forse è stato solo il no shutdown ... ma ho visto come output che l'interfaccia cambiava stato in up...
Codice:
827h#show dsl interface atM 0
ATU-R (DS) ATU-C (US)
Modem Status: Showtime (DMTDSL_SHOWTIME)
DSL Mode: ITU G.992.1 (G.DMT)
ITU STD NUM: 0x01 0x01
Vendor ID: 'ALCB' 'IFTN'
Vendor Specific: 0x0000 0x711A
Vendor Country: 0x00 0xB5
Capacity Used: 86% 69%
Noise Margin: 14.5 dB 23.0 dB
Output Power: 14.0 dBm 12.0 dBm
Attenuation: 11.0 dB 5.0 dB
Defect Status: None None
Last Fail Code: None
Selftest Result: 0x49
Subfunction: 0x15
Interrupts: 1466 (2 spurious)
Activations: 1
SW Version: 3.8129
FW Version: 0x1A04
Interleave Fast Interleave Fast
Speed (kbps): 7616 0 480 0
Reed-Solomon EC: 0 0 0 0
CRC Errors: 0 0 0 0
Header Errors: 0 0 0 0
Bit Errors: 0 0
BER Valid sec: 0 0
BER Invalid sec: 0 0
DMT Bits Per Bin
00: 0 0 0 0 0 0 0 2 3 4 5 6 7 8 8 9
10: 9 9 9 9 9 9 8 7 7 7 7 6 6 6 0 0
20: 0 0 0 0 0 0 5 6 7 7 8 8 9 9 A A
30: B B B B B C C C C C C C C C C C
40: 0 C C C C C C C C C C C C C C C
50: C C C C C C C C C C C C 2 C C C
60: C C C C C B C B B B B B B B B B
70: B B B B B B B B B B B B B B B B
80: B B B B B B B B B B B B B B B B
90: B B B B B B B B B B B B B B B B
A0: B B B B B B B B B B B B B B B B
B0: B B A A A A A A A A A A A A A A
C0: A A A A A A A A A A A A A A A A
D0: A A A A A A A A A A A A A A A A
E0: A A A A A A A A A A 9 9 9 8 7 7
F0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
grazie ancora di cuore! Ciao, Bem
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux |
|
|
|
|
|
#7 |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
Ciao,
finalmente il router sembra funzionare di seguito la mia configurazione, se avete qualche consiglio è ben accetto :-) attualmente ho due problemi, non riesco a far attivare il DHCP statico e il NAT su un web server su rete interna. Codice:
Cisco827h#show ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
192.168.0.10 e0cb.4e2c.9f11 Infinite Manual
192.168.0.12 e0cb.4e2c.9f11 Infinite Automatic
la entry nel mio config la potete vedere di seguito Codice:
host 192.168.0.10 255.255.255.0 client-identifier e0cb.4e2c.9f11 richieste su IP pubblico porta 80 --> router --> pc su rete 192.168.0.15 ho provato con Codice:
ip nat inside source static tcp 192.168.0.15 80 interface Dialer0 80 chi mi può dare una mano? Codice:
827h#show ip nat translations Pro Inside global Inside local Outside local Outside global udp 87.16.111.111:9716 192.168.0.3:9716 151.99.125.2:53 151.99.125.2:53 tcp 87.16.111.111:20984 192.168.0.3:20984 79.140.81.35:80 79.140.81.35:80 tcp 87.16.111.111:80 192.168.0.15:80 --- --- Codice:
Using 1977 out of 131072 bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname bem827h ! logging queue-limit 100 enable secret 5 1111111111111111 enable password 7 1111111111111111 ! ip subnet-zero ip tcp mss 1453 ip name-server 151.99.125.2 ip name-server 212.216.112.112 no ip dhcp conflict logging ip dhcp excluded-address 10.10.10.1 ! ip dhcp pool CLIENT import all network 192.168.0.0 255.255.255.0 default-router 192.168.0.1 dns-server 151.99.125.2 lease infinite ! ip dhcp pool STATIC host 192.168.0.10 255.255.255.0 client-identifier e0cb.4e2c.9f11 client-name bemsrv default-router 192.168.0.1 dns-server 151.99.125.2 lease infinite ! ! ! ! interface Ethernet0 ip address 192.168.0.1 255.255.255.0 ip nat inside hold-queue 100 out ! interface ATM0 no ip address no atm ilmi-keepalive pvc 8/35 encapsulation aal5snap protocol ppp dialer dialer pool-member 1 ! dsl operating-mode auto hold-queue 244 in ! interface Dialer0 ip address negotiated ip nat outside encapsulation ppp ip tcp adjust-mss 1453 dialer pool 1 ppp authentication chap callin ppp pap sent-username aliceadsl password 7 1111111111111111 ! 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 inside source list 1 interface Dialer0 overload ip nat inside source static tcp 192.168.0.15 80 interface Dialer0 80 ip classless ip route 0.0.0.0 0.0.0.0 Dialer0 no ip http server ! ! access-list 1 permit 192.168.0.0 0.0.0.255 ! line con 0 exec-timeout 120 0 stopbits 1 line vty 0 4 access-class 23 in exec-timeout 120 0 password 7 1111111111111111 login
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux Ultima modifica di bem80 : 15-02-2010 alle 23:59. |
|
|
|
|
|
#8 | ||
|
Senior Member
Iscritto dal: Nov 2007
Messaggi: 1779
|
Quote:
Se invece si tratta di una macchina Windows, allora è correto usare client-identifier, ma esso deve essere seguito da una stringa che è data dalla concatenazione del media type (che è "01" per l'ethernet) e dell'hardware address. Per maggiori dettagli http://www.cisco.biz/en/US/docs/ios/...html#wp1017558 In ogni caso, a meno che tu non abbia necessità di passare un numero consistente di parametri tramite il DHCP a un consistente numero di hosts (ma guardando la tua configurazione non mi sembra il caso), dicevo a meno che tu non abbia tale necessità, è buona norma assegnare gli IP statici manualmente direttamente nella configurazione del PC (escludendo ovviamente tale indirizzo dal pool DHCP. Quote:
Codice:
show ip http server status Codice:
HTTP server status: Enabled HTTP server port: 80 Codice:
no ip http server Una piccola osservazione, del tutto marginale, che potresti mettere a posto. Il comando: Codice:
ip dhcp excluded-address 10.10.10.1
__________________
slowped |
||
|
|
|
|
|
#9 | ||
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
Quote:
Codice:
ip dhcp pool STATIC host 192.168.0.10 255.255.255.0 hardware-address e0cb.4e2c.9f11 client-name bemsrv default-router 192.168.0.1 dns-server 151.99.125.2 lease infinite Codice:
Cisco827h#show ip http server status HTTP server status: Disabled HTTP server port: 80 HTTP server authentication method: enable HTTP server access class: 0 HTTP server base path: Maximum number of concurrent server connections allowed: 5 Server idle time-out: 180 seconds Server life time-out: 180 seconds Maximum number of requests allowed on a connection: 1 HTTP secure server capability: Not present Quote:
...che dire sei stato veramente gentile e ho risolto tutto, grazie mille!!!
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux Ultima modifica di bem80 : 16-02-2010 alle 10:22. |
||
|
|
|
|
|
#10 |
|
Senior Member
Iscritto dal: Nov 2007
Messaggi: 1779
|
Se posso aiutare a "vedere la luce" di IOS, lo faccio volentieri
__________________
slowped |
|
|
|
|
|
#11 | ||
|
Senior Member
Iscritto dal: Dec 2006
Messaggi: 9542
|
Quote:
Quote:
vai slowped, scrivi una bella guida IOS, qualcuno aveva iniziato un lavoro simile, ma non vedo più aggiornamenti da poco mi sono avvicinato anch'io all'IOS(sono proprio all'inizio) e mi piacerebbe approfondire
__________________
Harry Callahan: We're not just going to let you walk out of here. Crook: Who's "we", sucker? Harry Callahan: Smith, and Wesson, and me. |
||
|
|
|
|
|
#12 | |
|
Senior Member
Iscritto dal: Mar 2007
Messaggi: 7863
|
Quote:
Una guida si IOS possiamo certamente farla. |
|
|
|
|
|
|
#13 | |||
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
Quote:
Quote:
Quote:
Visto che ci sono sfrutto questo bel thread aperto. Ho comprato il mio 827h di seconda mano (anche se completamente nuovo). Cosa dovrei fare per scaricare il nuovo 12.4? io ho ancora il 12.2 e ad esempio non supporta il ddns. bisogna registrarsi sul sito Cisco ma non ho idea del come...sicuramente ci sarà un mondo di cose da fare....e due settimane di tempo da impazzire
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux |
|||
|
|
|
|
|
#14 |
|
Senior Member
Iscritto dal: Nov 2007
Messaggi: 1779
|
A mio giudizio non ha molto senso scrivere una guida su IOS. L'argomento è troppo vasto e le feature estremamente variegate e granulari che per trattarlo per bene occorrerebbe un'enciclopedia mentre scrivere un bignami risulterebbe inutile.
Esso infatti si applica a una gamma di apparati estremamente variegati (dagli switch ai router di fascia alta passando da router soho, firewall e VPN concentrator. Addirittura su uno stesso modello di hardware possono essere presenti o meno delle caratteristiche a seconda della versione del firmware che si è acquistata. Forse avrebbe più senso trattare in una guida alcuni argomenti "core", come le ACL, la gestione delle interfacce e pochi altri.
__________________
slowped |
|
|
|
|
|
#15 | |
|
Senior Member
Iscritto dal: Mar 2007
Messaggi: 7863
|
Quote:
|
|
|
|
|
|
|
#16 |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
DDNS
Ciao,
con gran orgoglio sono riuscito ad aggiornare il mio 827h con l'ultimo bin...molto soddisfatto adesso mi sono cimentato nella configurazione del DDNS...e anche seguendo l'ottima guida http://www.cisco.com/en/US/docs/ios/...html#wp1012384 (diciamo forse un pò prolissa...speravo qualcosa di più user friendly) non sono riuscito a farlo partire.... Codice:
ip ddns update method mymethod HTTP add http://utente:[email protected]=87.87.87.87 interval maximum 10 0 0 0 grazie mille. Ciao, Bem
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux Ultima modifica di bem80 : 19-02-2010 alle 13:55. |
|
|
|
|
|
#17 |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
Vedendo su internet ho visto che dovevo aggiungere anche queste indicazioni:
Codice:
interface Dialer0 ip ddns update hostname miosito.homelinux.com ip ddns update mymethod Codice:
interval minimum 0 1 0 0 Codice:
ip ddns update method mymethod HTTP add http://utente:[email protected]/nic/update?system=dyndns&hostname=misito.homelinux.com&myip=87.87.87.87 interval maximum 10 0 0 0 interval minimum 0 1 0 0 interface Dialer0 ip ddns update hostname misito.homelinux.com ip ddns update mymethod
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux |
|
|
|
|
|
#18 |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
come non detto...maledetto cisco :-) ... adesso è partito!! credetemi non ho fatto nulla, dopo un pò di ore (che sicuramente è definito da quanto ho impostato)
Codice:
interval maximum 10 0 0 0 interval minimum 0 1 0 0
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux Ultima modifica di bem80 : 20-02-2010 alle 18:39. |
|
|
|
|
|
#19 |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
Ciao a tutti,
eccomi di nuovo disperato perchè dopo 5 ore di cisco non sono riuscito a concludere nulla chi mi dà una mano a capire cosa non va in questa configurazione? Codice:
Using 2948 out of 131072 bytes ! ! Last configuration change at 18:55:14 GMT Sun Feb 21 2010 ! NVRAM config last updated at 19:02:00 GMT Sun Feb 21 2010 ! version 12.4 no service pad service timestamps debug uptime service timestamps log datetime service password-encryption ! hostname bem827h ! boot-start-marker boot-end-marker ! no logging on enable secret 5 111111111111111 enable password 7 111111111111111 ! no aaa new-model clock timezone GMT 1 no ip dhcp use vrf connected no ip dhcp conflict logging ! ip dhcp pool CLIENT import all network 192.168.0.0 255.255.255.0 default-router 192.168.0.1 dns-server 151.99.125.2 lease infinite ! ip dhcp pool STATIC host 192.168.0.10 255.255.255.0 hardware-address e0cb.4e2c.9f11 client-name bemsrv default-router 192.168.0.1 dns-server 151.99.125.2 lease infinite ! ! ip name-server 151.99.125.2 ip name-server 212.216.112.112 ip ddns update method 1ddns HTTP add http://user:[email protected]/nic/update?system=dyndns&hostname=miosito.homelinux.com&myip=87.87.87.87 interval maximum 0 0 5 0 ! ip ddns update method 2ddns HTTP add http://user:[email protected]/nic/update?system=dyndns&hostname=miosito2.homelinux.com&myip=87.87.87.87 interval maximum 0 0 1 0 ! ! ! ip tcp mss 1453 ! ! interface Ethernet0 ip address 192.168.0.1 255.255.255.0 ip nat inside ip virtual-reassembly hold-queue 100 out ! interface ATM0 no ip address no atm ilmi-keepalive dsl operating-mode auto hold-queue 244 in pvc 8/35 encapsulation aal5snap protocol ppp dialer dialer pool-member 1 ! ! interface Dialer0 ip ddns update hostname miosito.homelinux.com ip ddns update 1ddns ip ddns update 2ddns ip address negotiated ip nat outside ip virtual-reassembly encapsulation ppp ip tcp adjust-mss 1453 dialer pool 1 ppp authentication chap callin ppp pap sent-username aliceadsl password 7 111111111111111 ! ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 Dialer0 no ip http 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 inside source list 1 interface Dialer0 overload ip nat inside source static tcp 192.168.0.10 22 interface Dialer0 22 ip nat inside source static tcp 192.168.0.10 80 interface Dialer0 80 ! logging 192.168.0.10 access-list 1 permit 192.168.0.0 0.0.0.255 snmp-server community catchme RO snmp-server trap-source Ethernet0 snmp-server enable traps tty snmp-server host 192.168.0.10 catchme ! ! control-plane ! ! line con 0 exec-timeout 120 0 stopbits 1 line vty 0 4 access-class 23 in exec-timeout 120 0 password 7 111111111111111 login length 0 ! scheduler max-task-time 5000 sntp logging sntp server 193.204.114.232 end non mi funziona il ddns, non mi aggiorna con l'ip pubblico non capisco perchè devo impostare l'indirizzo ip (esempio 87.87.87.87) non mi funziona il nat verso l'ip .10 Se provo da qualsiasi altro pc a collegarmi sulla 22 del router mi dice connection refused. Se mi collego direttamente sull'ip .10 il demone sshd funziona correttamente chi mi dà una mano? sono 5 ore che scapoccio sul pc... grazie mille come sempre a tutto il forum per l'aiuto che date a noi poveri sventurati
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux |
|
|
|
|
|
#20 |
|
Member
Iscritto dal: Oct 2006
Messaggi: 109
|
ogni tanto riposto, qualcuno può aiutarmi?
grazie mille
__________________
bem@bemdeb:~$ uname -a Linux bemprt 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 05:55.




















