Pagina 1 di 1
Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 11:09 am
da vassiskansa
Salve a tutti,
spero che qualcuno sappia darmi consigli preziosi riguardo alla configurazione del mio cisco 877, perchè io non so più a che santo votarmi...
La configurazione che interessa sapere è la seguente:
Codice: Seleziona tutto
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
switchport access vlan 2
!
interface Vlan1
description DATI
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
interface Vlan2
description VOIP
ip address 192.168.10.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
Il problema è che se faccio uno
show ip route il risultato è il seguente
Codice: Seleziona tutto
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
185.21.0.0/32 is subnetted, 2 subnets
C 185.21.72.7 is directly connected, Dialer1
C 185.21.72.8 is directly connected, Dialer2
82.0.0.0/32 is subnetted, 1 subnets
C 82.113.192.22 is directly connected, Dialer1
is directly connected, Dialer2
77.0.0.0/32 is subnetted, 1 subnets
S 77.239.128.7 is directly connected, Dialer2
C 192.168.1.0/24 is directly connected, Vlan1
S* 0.0.0.0/0 is directly connected, Dialer1
Come vedete la rotta per la Vlan2 (192.168.10.0/24) non è menzionata.
Come mai secondo voi per la Vlan1 la rotta c'è e per la Vlan2 la rotta non viene creata in automatico? E come dovrei fare per "attivarla"?
Grazie.
Simone.
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 2:45 pm
da scolpi
La vlan 2 è stata creata? La vlan 1 esiste di default, ma la 2 va creata e poi va assegnata alla porta fisica.
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 2:55 pm
da Braveheart84
dovrebbe avertela creata nel momento in cui hai assegnato la fastethernet alla vlan 2. PRova a fare uno show vlan brief per vedere se è presente nel database
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:05 pm
da vassiskansa
scolpi ha scritto:La vlan 2 è stata creata? La vlan 1 esiste di default, ma la 2 va creata e poi va assegnata alla porta fisica.
Penso di averla creata quando ho fatto interface Vlan2, oppure devo fare anche qualche altra cosa?
Braveheart84 ha scritto:dovrebbe avertela creata nel momento in cui hai assegnato la fastethernet alla vlan 2. PRova a fare uno show vlan brief per vedere se è presente nel database
Purtroppo non ho a disposizione quel comando, ma posso fare questo:
Codice: Seleziona tutto
show interfaces vlan2
Vlan2 is up, line protocol is down
Hardware is EtherSVI, address is 001e.f721.d0c7 (bia 001e.f721.d0c7)
Description: VOIP
Internet address is 192.168.10.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, 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/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
1 packets output, 60 bytes, 0 underruns
0 output errors, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:08 pm
da Braveheart84
ma hai scritto "no shutdown" sulla fastethernet della vlan??
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:12 pm
da vassiskansa
Braveheart84 ha scritto:ma hai scritto "no shutdown" sulla fastethernet della vlan??
Si, l'avevo già scritto...
Codice: Seleziona tutto
show interface fastEthernet 3
FastEthernet3 is up, line protocol is down
Hardware is Fast Ethernet, address is 001e.f721.d0ca (bia 001e.f721.d0ca)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, 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/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 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:14 pm
da Braveheart84
le porte fastethernet sono tutte sul router?
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:16 pm
da scolpi
vedrai che se digiti:
è presente solo la vlan 1.
Per crearla:
cont t
vlan 2
name pippo
exit
e per magia funziona

Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:19 pm
da Braveheart84
ma in genere se uno assegna una porta a una vlan, la crea automaticamente, cmq prova pure a seguire il metodo di scolpi.
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:21 pm
da scolpi
ovviamente affinche l'interface vlan 2 vada up deve esserci attaccato qualcosa alla fastetherneth relativaaltrimenti rimane down
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:22 pm
da vassiskansa
Braveheart84 ha scritto:le porte fastethernet sono tutte sul router?
Intendi fisicamente? Si.
scolpi ha scritto:vedrai che se digiti:
è presente solo la vlan 1.
Per crearla:
cont t
vlan 2
name pippo
exit
e per magia funziona

Negativo... ho provato.
Codice: Seleziona tutto
#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
(config)#vlan2
^
% Invalid input detected at '^' marker.
(config)#vlan 2
(config-vlan)#name VoIP
(config-vlan)#exit
(config)#exit
#show vlan-switch
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0, Fa1, Fa2
2 VoIP active 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
2 enet 100002 1500 - - - - - 0 0
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
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:27 pm
da Braveheart84
prova così:
conf t
interface vlan 2
no shut
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:28 pm
da vassiskansa
scolpi ha scritto:ovviamente affinche l'interface vlan 2 vada up deve esserci attaccato qualcosa alla fastetherneth relativaaltrimenti rimane down
... and the winner is ... scolpi!
Grazie anche a tutti gli altri, ovviamente.
Re: Problema Rotte VLan con Cisco 877
Inviato: mar 27 ago , 2013 3:30 pm
da Braveheart84

Scolpi paga da bere a tutti!