PDA

View Full Version : configuare cisco 1710


Paolosnz
11-09-2006, 10:43
Ciao! mi ritrovo a dover configurare un 1710 per avere più indirizzi ip...
il 1710 è attaccato al router del provider che distribuisce 10 ip da 192.168.30.40 a 49
ho dato all'interfaccia ethernet l'ip 192.168.30.41/24
e alla fastethernet 192.168.30.121/25
se attacco un pc alla fastethernet con indirizzo 192.168.30.122 riesco a pingare
l'interfaccia fastethernet e l'ethernet ma non riesco a navigare... cosa dimentico?
non sono molto ferrato in router... allego lo show interface...


dsmcisco#show interfaces
Ethernet0 is up, line protocol is up
Hardware is PQUICC Ethernet, address is 0006.53be.37ee (bia 0006.53be.37ee)
Internet address is 192.168.30.41/24
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 217/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Half-duplex, 10BaseT
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:03, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
24 packets input, 3362 bytes, 0 no buffer
Received 23 broadcasts, 0 runts, 0 giants, 0 throttles
95 input errors, 0 CRC, 0 frame, 0 overrun, 95 ignored
0 input packets with dribble condition detected
144 packets output, 8910 bytes, 0 underruns
95 output errors, 0 collisions, 0 interface resetsr. Transceiver problem?minute output rate 0 bits/
0 babbles, 0 late collision, 0 deferred
95 lost carrier, 0 no carrierpback not set
0 output buffer failures, 0 output buffers swapped out, lost carrier. Transceiver problem?known duplex, Unknown S
FastEthernet0 is up, line protocol is down
Hardware is PQUICC_FEC, address is 0006.53be.37ed (bia 0006.53be.37ed)HER-1-LOSTCARR: Unit 0, lost carrier. Transceiver problem?nts, 0
Internet address is 192.168.30.121/25

MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,ever
reliability 128/255, txload 1/255, rxload 1/2550, lost carrier. Transceiver problem?ers never
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
01:47:12: %PQUICC_ETHER-1-LOSTCARR:
Last input never, output 00:00:08, output hang nevercasts, 0 runts, 0 giants
Last clearing of "show interface" counters never
5 minute in
Queueing strategy: fifoCC_ETHER-1-LOSTCARR: Unit
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/secackets/sec CRC, 0 frame, 0 overru
5 minute output rate 0 bits/sec, 0 packets/sec
01:49:12: %PQUICC_ETHER-1-LOSTCARR: Uni
0 packets input, 0 bytes
Received 0 broadcasts, 0 runts, 0 giants, 0 throttlesr. Transceiver problem?put delay
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
R


142 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out loopback not set
02:
dsmcisco#UICC_ETHE
00:25:49: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0, changed
Half-duplex, 10BaseT
state to ushow interfacespe: ARPA, ARP Ti
Ethernet0 is up, line protocol is up
Hardware is PQUICC Ethernet, address is 0006.
Encapsulation ARPA, loopback not set:02:12: %PQUICC_ETHER-1-LOSTCARR: Unit
Keepalive set (10 sec)iver problem?2343 packet
Half-duplex, 10BaseT
ARP type: ARPA, ARP Timeout 04:00:00

Last input 00:00:42, output 00:00:06, output hang never: %PQUICC_ETHER-1-LOSTCARR: Unit
Last clearing of "show interface" counters never Unit 0, lost carrier. Transceiver problem?
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 115 drops
dsmcisco#ging for

5 minute input rate 0 bits/sec, 0 packets/secPQUICC_ETHER-1-LOSTCARR: Unit
Received 285 broadcasts, 0 runts, 0 giants, 0 throttles
00:24:12: %PQUICC_
02:1
95 input errors, 0 CRC, 0 frame, 0 overrun, 95 ignoredeiver problem? Assign a priority group to an interface1/
0 input packets with dribble condition detected
174 packets output, 10710 bytes, 0 underruns25:12: %PQUICC_
02:15:12: %PQUI
95 output errors, 0 collisions, 0 interface resetsroblem?
0 babbles, 0 late collision, 0 deferredICC_
02:16:12: %PQUICC_ETH
95 lost carrier, 0 no carrier. Transceiver problem?nive set (10
0 output buffer failures, 0 output buffers swapped out
reliability 215/255, txload 1/255, rxload 1/255ETHER-1-LOSTCARR: Unit 0, lost carrier. Transceiver
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)CC_ETHER-1-LOSTCARR: Uni
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00CARR: Unit 0, lost carrier. Transceive
Last input 00:05:52, output 00:00:05, output hang never
00:37:12: %PQUICC_ETHER-1-
Last clearing of "show interface" counters never

Queueing str
5 minute output rate 0 bits/sec, 0 packets/sec
33 packets input, 2676 bytesLOSTCARR: Unit 0, lost carrier. T
Received 20 broadcasts, 0 runts, 0 giants, 0 throttles
00:39:12: %PQUICC_ETH
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
02:58:2
02:33:12: %PQUICC_ETHER-1-LOSTCARR: Unit
0 watchdog. Transceiver p
0 input packets with dribble condition detected

ip ipv6


215 packets output, 13054 bytes, 0 underruns
02:34:12: %PQUICC_ETHER-1-LOSTCARR: U
159 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0



Internet address is 192.168.30.121/25
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 229/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:22, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
48 packets input, 3871 bytes
Received 27 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
236 packets output, 14426 bytes, 0 underruns
159 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
159 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
dsmcisco#

hmetal
11-09-2006, 16:19
lo schema di indirizzamento che hai dato non è corretto.
Avresti 2 indirizzi sulla stessa subnet assegnate a 2 interfaccie diverse del router. Cosi non funzionera mai.

Posta la configurazione totale che ti fornisce il provider (anche con indirizzi "camuffati" come hai fatto) ma le maschere devono essere corrette. Un provider non dara mai una maschera a 24.

Questo sempre se ho capito bene e che tu hai a disposizione un pool pubblico fornito dal provider.

Ho bisogno di quei dati e poi ti posto i comandi per configurarli. Inoltre se è un hdsl ho bisogno del dlci.

Fatto cio posta una schermata del comando:

router#sh ip int brief

al contrario del tuo show interface che nn mi da informazioni che per adesso mi servono

ciao

Paolosnz
11-09-2006, 16:33
gli indirizzi "privati" che mi da il provider vanno da 192.168.30.40 a 49 con gateway 192.168.30.254 e poi i dns che non penso servano... altro non so non posso metterci mani su quel router..
attualmente sto usando un router netgear così configurato
wan
IP Address 192.168.30.40
IP Subnet Mask 255.255.255.0
Gateway IP Address 192.168.30.254
lan
IP Address 192.168.30.120
IP Subnet Mask 255.255.255.128
con server dhcp da 192.168.30.10 a 30

il tutto funziona ma quando c'è troppo traffico il netgear non regge....
volevo usare il 1710 per l'ethernet e il netgear per il wi-fi...

quello che chiedevi:
dsmcisco#sh ip int brief
Interface IP-Address OK? Method Status Prot
ocol
Ethernet0 192.168.30.41 YES NVRAM up up

FastEthernet0 192.168.40.130 YES manual up up

dsmcisco#

CH1CC0
11-09-2006, 16:52
Anche secondo me c'è un errore nell'assegnazione delle subnet... mi sembra mooooolto strana...

2 interfacce non dovrebbero avere 2 IP su 2 network diverse e per giunta una è una subnet dell'altra... :mbe:
io chiederei un controllino al provider che ti ha fornito i dati.

Altra cosa molto importante:
se il provider non fa NAT, la tua interfaccia WAN viola le leggi sull'indirizzamento (è vietato rendere raggiungibili dall'esterno delle reti appartenenti ad indirizzamenti privati).

E ancora:
quando dalla rete più larga (quella /24) cercherai di pingare un IP compreso nel range 0-127, il routing indirizzerà il pacchetto verso l'altra rete.

Paolosnz
11-09-2006, 17:17
Anche secondo me c'è un errore nell'assegnazione delle subnet... mi sembra mooooolto strana...

2 interfacce non dovrebbero avere 2 IP su 2 network diverse e per giunta una è una subnet dell'altra... :mbe:
io chiederei un controllino al provider che ti ha fornito i dati.

Altra cosa molto importante:
se il provider non fa NAT, la tua interfaccia WAN viola le leggi sull'indirizzamento (è vietato rendere raggiungibili dall'esterno delle reti appartenenti ad indirizzamenti privati).

E ancora:
quando dalla rete più larga (quella /24) cercherai di pingare un IP compreso nel range 0-127, il routing indirizzerà il pacchetto verso l'altra rete.

ti tranquillizzo subito dicendo che il provider fa NAT, gli indrizzi non sono visibile dall'esterno
gli indirizzi sul netgear li ho scelti io... se mettevo due ip della stessa network il router non funzionava..

ho scritto appunto per avere suggerimenti... su come fare...

CH1CC0
12-09-2006, 14:29
ti tranquillizzo subito dicendo che il provider fa NAT
in questo modo hai risolto il problema "legale", ma resta il problema di "overlapping" cioé 2 reti diverse con lo stesso indirizzamento.

Gli IP che vanno dallo 0 al 127 (e che fanno parte di entrambe le subnet) verranno visti solo nella più piccola (/25)... invece non avrai alcun problema con gli IP dal 128 al 255 (perché fanno parte solo della /24).


gli indirizzi sul netgear li ho scelti io... se mettevo due ip della stessa network il router non funzionava..
Quello che hai fatto è un "artificio" per non far notare al router che hai configurato 2 reti praticamente identiche su 2 interfacce diverse...
Il mio consiglio principale è: cambia l'indirizzamento!
Ci sono quintali di indirizzamenti tra cui scegliere:
10.0.0.0 -> 10.255.255.255
172.16.0.0 -> 172.31.255.255
192.168.0.0 -> 192.168.255.255
Perché limitarsi? A scegliere la stessa rete? (anche se con subnet mask diversa)

Per il problema di mancata navigazione, prova a postare la config del router (naturalmente cancella tutti i riferimenti a login e password :D )

Paolosnz
12-09-2006, 14:45
guarda per il netgear per il momento lo lascio così... non posso mettermi a fare prove finchè nn metto su il cisco
quale configurazione vuoi del cisco? non basta lo show interfaces? scusa ma non sono molto pratico..

cisketto
12-09-2006, 14:56
il comando per la configurazione è:

show runn