Salve,
vorrei collegare un router cisco 887Va a un pc.
Configurazione pc:
192.168.1.100
255.255.255.0
192.168.1.1
Configurazione router cisco (spoglio):
interface ethernet 0
ip address 192.168.1.1 255.255.255.0
no shutdown
A questo punto eseguo un show interface ethernet 0 e ottengo:
Ethernet0 is up, line protocol is down
Come posso risolvere?
Problema Configurazione router 887 va e pc
Moderatore: Federico.Lagni
-
- Messianic Network master
- Messaggi: 1158
- Iscritto il: ven 12 ott , 2007 2:48 pm
- Contatta:
Verifica i cavi o l'ethernet dello switch in mezzo perchè il problema sembra lì.
Rizio
Rizio
Si vis pacem para bellum
- emiliano
- Network Emperor
- Messaggi: 280
- Iscritto il: lun 19 nov , 2012 11:44 am
Se non sbaglio sul 887 per non avere problemi non devi configurare l'ip sull'interfaccia eth ma sulla vlan.
resetta la configurazione dell'interfaccia eth e configura la vlan:
Prova e vedi se funziona 
resetta la configurazione dell'interfaccia eth e configura la vlan:
Codice: Seleziona tutto
Interface eth0
no ip address
switchport mode access
switchport access vlan 1
Interface vlan 1
no shut
ip address 192.1681.1 255.255.255.0

- KEEP CALM AND CARRY ON -
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
-
- Messianic Network master
- Messaggi: 2965
- Iscritto il: ven 29 gen , 2010 10:25 am
- Località: Prov di GE
Il cavo è cross?
Paolo
Paolo
Non cade foglia che l'inconscio non voglia (S.B.)
-
- n00b
- Messaggi: 6
- Iscritto il: mer 16 gen , 2013 4:56 pm
Ciao,
ho provato sia con un cavo cross che con uno dritto e non ho risolto.
Ho provato a inserire uno switch tra il router e il pc e non ho risolto.
Ho provato la soluzione suggerita da emiliano (nb.il comando switchport non era operativo sull'interfaccia ethernet ma su quella fastethernet) e non ho risolto.
Vi viene in mente altro??
ho provato sia con un cavo cross che con uno dritto e non ho risolto.
Ho provato a inserire uno switch tra il router e il pc e non ho risolto.
Ho provato la soluzione suggerita da emiliano (nb.il comando switchport non era operativo sull'interfaccia ethernet ma su quella fastethernet) e non ho risolto.
Vi viene in mente altro??
- emiliano
- Network Emperor
- Messaggi: 280
- Iscritto il: lun 19 nov , 2012 11:44 am
Prova a postare il risultato del comando
e dello
Codice: Seleziona tutto
sh ip int brief
Codice: Seleziona tutto
sh run
- KEEP CALM AND CARRY ON -
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
- emiliano
- Network Emperor
- Messaggi: 280
- Iscritto il: lun 19 nov , 2012 11:44 am
Dimenticavo, se puoi posta anche anche l'output di
Codice: Seleziona tutto
sh vlan-swicth
- KEEP CALM AND CARRY ON -
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
- emiliano
- Network Emperor
- Messaggi: 280
- Iscritto il: lun 19 nov , 2012 11:44 am
Prova inoltre a modificare la configurazione come segue:
se NON hai modificato anche la configurazione delle interfacce Fastethernet basta così, altrimenti:
Il problema potrebbe stare nel fatto che hai configurato l'interfaccie eth0 anzichè la vlan.
Codice: Seleziona tutto
int eth 0
no ip address
shut
int vlan 1
ip address 192.168.1.1 255.255.255.0
no shut
Codice: Seleziona tutto
Int range fa0 - 3
switchport mode access
switchport access vlan 1
no shut
- KEEP CALM AND CARRY ON -
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
-
- n00b
- Messaggi: 6
- Iscritto il: mer 16 gen , 2013 4:56 pm
show ip interface brief:
ATM0 unassigned YES unset administratively down down
Ethernet0 unassigned YES unset up down
FastEthernet0 unassigned YES unset down down
FastEthernet1 unassigned YES unset down down
FastEthernet2 unassigned YES unset down down
FastEthernet3 unassigned YES unset down down
Vlan1 192.168.1.1 YES manual down down
show run:
! Last configuration change at 10:58:20 UTC Thu Jan 17 2013
subject to re
version 15.1 set forth i
no service pad
service timestamps debug datetime msecc) of the Commercial Computer Software
service timestamps log datetime msec
Rights
no service password-encryptiond subparagraph
!
hostname Router
!
boot-start-markere Rights in Techn
boot-end-markermputer
!
!
!
no aaa new-model
memory-size iomem 10e at DFARS sec. 252.
crypto pki token default removal timeout 0
cisco Systems, Inc.
!
!
ip source-route
!
!7
!W
!t
!a
ip cefive
no ipv6 cef
!
!
license udi pid CISCO887VA-K9 sn FCZ16499227
!s
!
!S
!o
!w
!e
controller VDSL 0880DATA-UNIVERSAL
!-
!,
!e
!i
!
!.
!4
!4
interface Ethernet0
no ip address
!
interface ATM0EASE SOFTWA
interface FastEthernet2.347: %IO
This produc
no ip addresstographic feat
!e
interface FastEthernet3ed
no ip address
!
interface Vlan1
States and loc
ip address 192.168.1.1 255.255.255.0rt, transfer and
!
ip forward-protocol nd
no ip http serverisco cryptographi
no ip http secure-server nvram:/ifIndex-tab
!
!
!
!
!
!
!
line con 0
third
line aux 0ority to i
line vty 0 4, distribute
login encry
transport input all
Jan 17 08
!7
end147
Router#-6-INFO
Router#y
Impor
Router#porters
Router#show ip address brre responsible for
Router#show ip address br
to: I
Router#show ip interfa
If you require further ass
FastEthernet1 unassigned YES unset down downce Ethernet0,
[email protected].
Installed
FastEthernet2 unassigned YES unset down sion 1.0) with 236Interface
Router#sh runtion memory.t
Building configuration...
Jan 17 09:13:06.
125
Current configuration : 955 bytesd/Write)
!
! Last configuration change at 10:58:20 UTC Thu Jan 17 2013g ----UNIVERSALK9-M), Version 15.1(4)M4, R
Would yo
version 15.1er the initi
no service padn dialog? [yes
service timestamps debug datetime msec
Technical Support: http
service timestamps log datetime msec
Jan 2 12:00
no service password-encryptionLICATION-6-LICENSE_LEVEL: Modu
!
hostname Router
!
boot-start-markerar-12 00:27 by pr
boot-end-marker = c880-data Ne
!
!b
!t
no aaa new-model
memory-size
!o
license udi pid CISCO887VA-K9 sn FCZ164992277 09:38:45.147: %VPN_HW-6-INFO_LOC: Crypto e
!i
!:
!n
!a
!
!
controller VDSL 0
!
!
!
!
!
!
!
!
interface Ethernet0o down
to:
no ip addressn 17 09:13:07
!n
interface ATM07: %VPN_HW-6-I
no ip address engine: onboa
shutdowne changed
no atm ilmi-keepalive
!
interface FastEthernet0nged sta
to: Enabled
no ip address17 09:39:11.42
!
interface FastEthernet1e protocol on Interface
no ip addressEtherne
!
interface FastEthernet2
no ip addressd state to dow
!n
interface FastEthernet3:39:11.423: %LINK-3-UPD
ip address 192.168.1.1 255.255.255.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
transport input all
!
end
ATM0 unassigned YES unset administratively down down
Ethernet0 unassigned YES unset up down
FastEthernet0 unassigned YES unset down down
FastEthernet1 unassigned YES unset down down
FastEthernet2 unassigned YES unset down down
FastEthernet3 unassigned YES unset down down
Vlan1 192.168.1.1 YES manual down down
show run:
! Last configuration change at 10:58:20 UTC Thu Jan 17 2013
subject to re
version 15.1 set forth i
no service pad
service timestamps debug datetime msecc) of the Commercial Computer Software
service timestamps log datetime msec
Rights
no service password-encryptiond subparagraph
!
hostname Router
!
boot-start-markere Rights in Techn
boot-end-markermputer
!
!
!
no aaa new-model
memory-size iomem 10e at DFARS sec. 252.
crypto pki token default removal timeout 0
cisco Systems, Inc.
!
!
ip source-route
!
!7
!W
!t
!a
ip cefive
no ipv6 cef
!
!
license udi pid CISCO887VA-K9 sn FCZ16499227
!s
!
!S
!o
!w
!e
controller VDSL 0880DATA-UNIVERSAL
!-
!,
!e
!i
!
!.
!4
!4
interface Ethernet0
no ip address
!
interface ATM0EASE SOFTWA
interface FastEthernet2.347: %IO
This produc
no ip addresstographic feat
!e
interface FastEthernet3ed
no ip address
!
interface Vlan1
States and loc
ip address 192.168.1.1 255.255.255.0rt, transfer and
!
ip forward-protocol nd
no ip http serverisco cryptographi
no ip http secure-server nvram:/ifIndex-tab
!
!
!
!
!
!
!
line con 0
third
line aux 0ority to i
line vty 0 4, distribute
login encry
transport input all
Jan 17 08
!7
end147
Router#-6-INFO
Router#y
Impor
Router#porters
Router#show ip address brre responsible for
Router#show ip address br
to: I
Router#show ip interfa
If you require further ass
FastEthernet1 unassigned YES unset down downce Ethernet0,
[email protected].
Installed
FastEthernet2 unassigned YES unset down sion 1.0) with 236Interface
Router#sh runtion memory.t
Building configuration...
Jan 17 09:13:06.
125
Current configuration : 955 bytesd/Write)
!
! Last configuration change at 10:58:20 UTC Thu Jan 17 2013g ----UNIVERSALK9-M), Version 15.1(4)M4, R
Would yo
version 15.1er the initi
no service padn dialog? [yes
service timestamps debug datetime msec
Technical Support: http
service timestamps log datetime msec
Jan 2 12:00
no service password-encryptionLICATION-6-LICENSE_LEVEL: Modu
!
hostname Router
!
boot-start-markerar-12 00:27 by pr
boot-end-marker = c880-data Ne
!
!b
!t
no aaa new-model
memory-size
!o
license udi pid CISCO887VA-K9 sn FCZ164992277 09:38:45.147: %VPN_HW-6-INFO_LOC: Crypto e
!i
!:
!n
!a
!
!
controller VDSL 0
!
!
!
!
!
!
!
!
interface Ethernet0o down
to:
no ip addressn 17 09:13:07
!n
interface ATM07: %VPN_HW-6-I
no ip address engine: onboa
shutdowne changed
no atm ilmi-keepalive
!
interface FastEthernet0nged sta
to: Enabled
no ip address17 09:39:11.42
!
interface FastEthernet1e protocol on Interface
no ip addressEtherne
!
interface FastEthernet2
no ip addressd state to dow
!n
interface FastEthernet3:39:11.423: %LINK-3-UPD
ip address 192.168.1.1 255.255.255.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
login
transport input all
!
end
-
- n00b
- Messaggi: 6
- Iscritto il: mer 16 gen , 2013 4:56 pm
Router#show vlan-switch
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0, Fa1, Fa2, Fa3
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0, Fa1, Fa2, Fa3
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
- emiliano
- Network Emperor
- Messaggi: 280
- Iscritto il: lun 19 nov , 2012 11:44 am
lo show run non è molto chiaro, forse ci sono delle interruzioni, comunque prova a modificare la conf come nel 2° esempio che ho postato:
e vedi che succede.
Codice: Seleziona tutto
int eth 0
no ip address
shut
int vlan 1
ip address 192.168.1.1 255.255.255.0
no shut
Int range fa0 - 3
switchport mode access
switchport access vlan 1
no shut
- KEEP CALM AND CARRY ON -
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
- emiliano
- Network Emperor
- Messaggi: 280
- Iscritto il: lun 19 nov , 2012 11:44 am
Ok, andiamo per pordine e iniziamo dall'Eth0.dindiri ha scritto:ok. Ho pingato pc e router e si vedono.
Ora la domanda più importante.....spiegami cosa abbiamo fatto.
Grazie
Eth0 non è un interfaccia fisica, bensi è un'interfaccia virtuale che si associa alla configirazione della connettività VDSL, quindi nella maggior parte dei casi in Italia va "ignorata".
Passiamo ora alle interfacce VLAN e Fastethernet.
Le interfacce Fa 0 - 3 non sono interfacce Layer 3 (non puoi dunque configurarle con indirizzi ip, routing ecc.) ma sono interfacce Layer 2, di fatto quelle porte devi vederle come uno switch Layer 2 a 4 porte.
Quello che puoi fare con queste porte, spiegazione approssimativa, è ad esempio associarle ad una vlan o renderle Trunk (consentono di far transitare le informazioni di più VLAN).
Di default le porte Fa0 - 3 sono associate alla VLAN1, quindi configurando quest'ultima e collegando un pc ad una qualsiasi di queste 4 porte riesci a pingare il router,
ovviamente se devi collegare il router ad uno switch basta che colleghi una sola delle porte...
Spero di averti chiarito le idee

Emiliano
- KEEP CALM AND CARRY ON -
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
-
- n00b
- Messaggi: 6
- Iscritto il: mer 16 gen , 2013 4:56 pm
Si sei stato chiarissimo.
Ho appena configurato l'atm+ dialer, abilitato il nat sulla vlan e sono su internet.
Grazie mille
P.S Cercando e ricercando nella rete non ho trovato una soluzione come quella che mi hai dato tu (e credimi ne ho cercate), tutto quello che ho trovato era la configurazione dell'interfaccia ethernet standard anche su altri prodotti cisco della serie 800. Ho io un router particolare?
Ho appena configurato l'atm+ dialer, abilitato il nat sulla vlan e sono su internet.
Grazie mille
P.S Cercando e ricercando nella rete non ho trovato una soluzione come quella che mi hai dato tu (e credimi ne ho cercate), tutto quello che ho trovato era la configurazione dell'interfaccia ethernet standard anche su altri prodotti cisco della serie 800. Ho io un router particolare?
- emiliano
- Network Emperor
- Messaggi: 280
- Iscritto il: lun 19 nov , 2012 11:44 am
Assolutamente no, il tuo è un router comune, soprattutto nelle piccole aziende.
Il concetto delle vlan è stato introdotto con i router tipo 877 (per fare un paragone diretto con il modello per cui hai postato), nella più datata versione 837 effettivamente non c'era l'interfaccia vlan ma andavi a configurare l'interfaccia virtuale Eth0.
L'interfaccia Eth0 è stata reintrodotta nei modelli 887-VA, proprio perchè associata alle connessioni VDSL, nel predecessore diretto (es 887-SEC-K9) l'Eth0 non era minimamente presente.
Ora per capire perchè gli esempi citavano configurazioni dell'interfaccia Eth bisognerebbe analizzarli nel complesso, se hai a portata di mano qualche link e lo posti possiamo darci un'occhiata.
Comunque l'importante è che tutto funzioni
Emiliano
Il concetto delle vlan è stato introdotto con i router tipo 877 (per fare un paragone diretto con il modello per cui hai postato), nella più datata versione 837 effettivamente non c'era l'interfaccia vlan ma andavi a configurare l'interfaccia virtuale Eth0.
L'interfaccia Eth0 è stata reintrodotta nei modelli 887-VA, proprio perchè associata alle connessioni VDSL, nel predecessore diretto (es 887-SEC-K9) l'Eth0 non era minimamente presente.
Ora per capire perchè gli esempi citavano configurazioni dell'interfaccia Eth bisognerebbe analizzarli nel complesso, se hai a portata di mano qualche link e lo posti possiamo darci un'occhiata.
Comunque l'importante è che tutto funzioni

Emiliano
- KEEP CALM AND CARRY ON -
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified
CISCO CCNA - CCNA Voice - CCDA - CCNP R&S - CCDP Certified
MICROSOFT MCP Certified