configurazione cisco 877

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

Moderatore: Federico.Lagni

Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

ok bene
fai sh e poi no sh sulla dialer0
vedi se outputta
k1ll3r
Cisco fan
Messaggi: 34
Iscritto il: mar 24 feb , 2009 7:58 pm
Località: ancona

scusa l'ingoranza...ma per sh che intendi show interface dialer0? (non credo visto che non c'0è la versione no :lol: )

p.s.: grazie fino ad ora per l'aiuto!!!!!
Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

intendo shutdown e no shutdown sotto la dialer0

conf t
int dia0
shutdown

poi no sh

cosi' dovresti vedere i log del debug attivo
k1ll3r
Cisco fan
Messaggi: 34
Iscritto il: mar 24 feb , 2009 7:58 pm
Località: ancona

ah ok scusa so come si fa lo shutdown dell'inter. ma non capivo... :lol:

edit: neanche così...provato r riprovato anche giocando col cavo...booooooooooh...
Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

cioe' scusa, mi stai dicendo che debug non vomita niente? :)

prova a dare un "terminal no monitor" .. con la stessa prova dell'interfaccia
k1ll3r
Cisco fan
Messaggi: 34
Iscritto il: mar 24 feb , 2009 7:58 pm
Località: ancona

no non vomita...

Codice: Seleziona tutto

massimo#debug ppp packet
PPP packet display debugging is on
massimo#debug ppp error
PPP protocol errors debugging is on
massimo#debug ppp negotiation
PPP protocol negotiation debugging is on
massimo#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
massimo(config)#int dialer0
massimo(config-if)#shutdown
massimo(config-if)#no shut
massimo(config-if)#exit
massimo(config)#exit
massimo#terminal no monitor
massimo#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
massimo(config)#int dialer0
massimo(config-if)#shut
massimo(config-if)#no shut
massimo(config-if)#exit
massimo(config)#exit
massimo#debug ppp nego
PPP protocol negotiation debugging is on
massimo#debug ppp packet
PPP packet display debugging is on
massimo#debug ppp err
PPP protocol errors debugging is on
massimo#terminal no monitor
massimo#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
massimo(config)#int dialer0
massimo(config-if)#shut
massimo(config-if)#no shut
massimo(config-if)#exit
massimo(config)#exit
massimo#
a breve sturalavandini o pompa ad immersione per i debug
:lol:
Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

aaaaaaaaaaargh
mannaggia a te :D :D :D
non hai settato i pvc sotto l'atm!!



interface ATM0
description Interfaccia ATM0 - Connessione ADSL
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip virtual-reassembly
no ip split-horizon
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
!


questa e' per pppoa.. se sei in pppoe cambia l'encapsulation
k1ll3r
Cisco fan
Messaggi: 34
Iscritto il: mar 24 feb , 2009 7:58 pm
Località: ancona

ho pppoe...quindi ho fatto enca aal5snap...

sto giro sempre niente debug...ma risultati ci sono...atm0 sputa fuori qualche paccketto (il led txd ha lampeggiato per 2-3 secondi :o )

Codice: Seleziona tutto

Dialer0 is up, 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
  Keepalive set (10 sec)
  DTR is pulsed for 1 seconds on reset
  Interface is bound to Vi2
  Last input never, output never, output hang never
  Last clearing of "show interface" counters 02:09:55
  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
Bound to:
Virtual-Access2 is up, line protocol is down
  Hardware is Virtual Access interface
  MTU 1500 bytes, BW 100000 Kbit, DLY 20000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation PPP, LCP Listen
  PPPoATM vaccess, cloned from Dialer0
  Vaccess status 0x44
  Bound to ATM0 VCD: 1, VPI: 8, VCI: 35, loopback not set
  Keepalive set (10 sec)
  DTR is pulsed for 5 seconds on reset
  Interface is bound to Di0 (Encapsulation PPP)
  Last input never, output never, output hang never
  Last clearing of "show interface" counters 00:02:22
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  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
     36 packets output, 432 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 output buffer failures, 0 output buffers swapped out
     0 carrier transitions
massimo#show int atm0
ATM0 is up, line protocol is up
  Hardware is MPC ATMSAR (with Alcatel ADSL Module)
  Description: Interfaccia ATM0 - Connessione ADSL
  MTU 1500 bytes, sub MTU 1500, BW 478 Kbit, DLY 770 usec,
     reliability 255/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, 1 current VCCs
  VC Auto Creation Disabled.
  VC idle disconnect time: 300 seconds
  Last input never, output 00:00:14, 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: 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
     46 packets output, 920 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 output buffer failures, 0 output buffers swapped out
ma ancora niente debug :lol: :lol: :lol:
Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

ascolta, m'incolli lo sh run attuale?

ciao
k1ll3r
Cisco fan
Messaggi: 34
Iscritto il: mar 24 feb , 2009 7:58 pm
Località: ancona

Codice: Seleziona tutto

Building configuration...

Current configuration : 3686 bytes
!
version 12.4
service nagle
no service pad
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname massimo
!
boot-start-marker
boot-end-marker
!
logging exception 100000
logging count
logging userinfo
logging queue-limit 10000
logging buffered 150000 notifications
logging console critical
enable secret xxxxxxxxxxxxxx
enable password xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
!
no aaa new-model
clock timezone MET 1
clock summer-time MEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
!
!
!
!
no ip source-route
no ip gratuitous-arps
ip icmp rate-limit unreachable 1000
ip cef
!
!
!
!
no ip bootp server
ip inspect log drop-pkt
ip inspect max-incomplete low 300
ip inspect max-incomplete high 400
ip inspect one-minute low 300
ip inspect hashtable-size 2048
ip inspect tcp synwait-time 20
ip inspect tcp max-incomplete host 300 block-time 60
ip inspect name IDS tcp
ip inspect name IDS udp
ip inspect name IDS ftp
login block-for 1 attempts 3 within 30
login on-failure
login on-success
!
multilink bundle-name authenticated
!
!
username xxxxxxxxxxxx password xxxxxxxxxxxxxx
archive
 log config
  hidekeys
!
!
ip tcp selective-ack
ip tcp window-size 2144
ip tcp synwait-time 10
!
!
!
interface Loopback0
 description INTERFACCIA VIRTUALE END-POINT VPN
 ip address 192.168.254.1 255.255.255.255
!
interface ATM0
 description Interfaccia ATM0 - Connessione ADSL
 mtu 1500
 no ip address
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip virtual-reassembly
 no ip split-horizon
 no atm ilmi-keepalive
 pvc 8/35
  encapsulation aal5snap
  protocol ppp dialer
  dialer pool-member 1
 !
 dsl operating-mode auto
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
 description CONNESSIONE LAN ***
 ip address 192.168.1.1 255.255.255.0
 ip accounting output-packets
 ip nat inside
 ip virtual-reassembly
 ip route-cache flow
 no ip mroute-cache
 hold-queue 100 out
!
interface Dialer0
 ip address negotiated
 ip mtu 1492
 ip nat outside
 ip virtual-reassembly
 encapsulation ppp
 ip tcp header-compression
 dialer pool 1
 no cdp enable
 ppp authentication pap callin
 ppp chap hostname aliceadsl
 ppp chap password 7 045A070F0C244D4A1A15
 ppp pap sent-username aliceadsl password 7 070E2D454D0C1801041E
!
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 192.168.1.0 0.0.0.255
access-list 100 remark *************************************************************
access-list 100 remark *** ACL PER PAT E NAT0 ***
access-list 100 permit ip 192.168.1.0 0.0.0.255 any
!
!
!
!
control-plane
!
banner motd ^CC
****************************************************************
----------------------------------------------------------------
* ***   ROUTER PERIMETRALE ----      ***   *
----------------------------------------------------------------
* WARNING: System is RESTRICTED to authorized personnel ONLY! *
* Unauthorized use of this system will be logged and *
* prosecuted to the fullest extent of the law. *
* *
* If you are NOT authorized to use this system, LOG OFF NOW! *
* *
****************************************************************
^C
!
line con 0
 exec-timeout 120 0
 login local
 no modem enable
 transport output ssh
 stopbits 1
line aux 0
 login local
 transport output ssh
 stopbits 1
line vty 0 4
 exec-timeout 0 0
 login local
 transport input telnet ssh
 transport output telnet ssh
!
scheduler max-task-time 5000
scheduler interval 500

!
webvpn cef
end

Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

k1ll3r ha scritto:

Codice: Seleziona tutto

interface ATM0
 description Interfaccia ATM0 - Connessione ADSL
 mtu 1500
 no ip address
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip virtual-reassembly
 no ip split-horizon
 no atm ilmi-keepalive
 pvc 8/35
  encapsulation aal5snap
  protocol ppp dialer
  dialer pool-member 1
 !

prova ad eliminare protocol ppp dialer ed mtu 500, io non li ho mai usati.
magari sono questi che non fanno salire PPP
k1ll3r
Cisco fan
Messaggi: 34
Iscritto il: mar 24 feb , 2009 7:58 pm
Località: ancona

Codice: Seleziona tutto

interface ATM0
 description Interfaccia ATM0 - Connessione ADSL
 no ip address
 no ip redirects
 no ip unreachables
 no ip proxy-arp
 ip virtual-reassembly
 no ip split-horizon
 no atm ilmi-keepalive
 pvc 8/35
  encapsulation aal5snap
  protocol ppp dialer
  dialer pool-member 1
 !
 dsl operating-mode auto
!

non sale...e proto ppp dialer non si leva...boooooooooooooh
Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

prova con "default proto ppp dialer" se il "no" davanti non funge.
alle brutte elimina startup-config e rifalla ex-novo


ciao
k1ll3r
Cisco fan
Messaggi: 34
Iscritto il: mar 24 feb , 2009 7:58 pm
Località: ancona

viene fuori da sola appena scrivo "dialer pool-member 1"...non si leva manco con default, ho erasato...che devo fare?
Gianremo.Smisek
Messianic Network master
Messaggi: 1159
Iscritto il: dom 11 mar , 2007 2:23 pm
Località: Termoli

rifai la config da 0
configurando l'atm, dialer0, ip nat inside, e default route...
Rispondi