Cisco 2960 pas de ping- routage impossible

Cisco 2960 pas de ping- routage impossible - Réseaux - Systèmes & Réseaux Pro

Marsh Posté le 22-11-2016 à 14:23:42    

Bonjour j'ai un petit problème su une installation d'un switch.
 
J'arrive bien a y accéder par console ou par telnet depuis le lan, il faudra y accéder depuis le wan aussi mais le switch n'est pas encore en production donc pas encore test.
je n'arrive pas a pinger le switch depuis le lan et il n’apparaît pas sur la liste des équipements connecter sur mon router fortinet 60D.
Les équipements relier au switch apparaissent bien sur la liste des équipements connecter sur mon router.
J'ai mis une adresse au switch via le vlan1, donc ensuite il faudrait faire une règle de routage  ip route address mais cette commande n'est pas reconnu via le switch.
Je l'ai essayer sur interface FastEthernet0/1 (relier au routeur), sur interface vlan1 ou même hors interface.
J'au essayer de remplacer no ip source-route par ip source-route 172.30.42.250 172.30.42.251 255.255.255.0 mais il me dit que la mise en forme est incorrecte
L’adresse du switch est 172.30.42.250
L’adresse du routeur est 172.30.42.251
Me dites pas pour cette utilisation un simple hub suffit c'est pas moi qui est décider ><
 
Ais je oublier une regle essentiel?
 
Merci d'avance a ceux qui pourront m'aider.
 
voici la conf
 
DG-AOYAMA-S01#sh run
Building configuration...
 
Current configuration : 1899 bytes
!
! Last configuration change at 18:53:11 JST Tue Nov 22 2016
! NVRAM config last updated at 18:53:12 JST Tue Nov 22 2016
!
version 15.2
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone
service password-encryption
!
hostname DG-AOYAMA-S01
!
boot-start-marker
boot-end-marker
!
logging buffered 64000
enable secret 5  
enable password 7  
!
no aaa new-model
clock timezone JST 9 0
system mtu routing 1500
!
!
!
!
!
no ip source-route
no ip dhcp use vrf connected
!
!
!
mls qos
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
 ip address 172.30.42.250 255.255.255.0
 no ip route-cache
!
ip default-gateway 172.30.42.251
no ip http server
no ip http secure-server
!
!
!
line con 0
line vty 0 4
 access-class 23 in
 exec-timeout 120 0
 password 7  
 login
 transport input telnet
 transport output telnet
line vty 5 15
 login
!
end

Message cité 1 fois
Message édité par arckaine le 23-11-2016 à 09:11:07

---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 22-11-2016 à 14:23:42   

Reply

Marsh Posté le 22-11-2016 à 14:30:24    

rajoute la ligne :   no shutdown          pour le vlan 1
 
si tu fais show vlan 1      tu vois quoi ?
 
edit :
 

Citation :

witch#conf t
 
switch(config)#int vlan1
 
switch(config-if)#no shut
 
switch(config-if)#end
 
switch#copy run start


Message édité par com21 le 22-11-2016 à 14:31:05

---------------
Cherche geekette | Traquez vos billets d'€ | Don du sang | Don de moelle osseuse
Reply

Marsh Posté le 22-11-2016 à 14:33:01    

après faut peut être rajouter le ports du switch où tu es branché dans le vlan 1 pour que ça marche (ils y sont probablement)
 
Show vlan    pour  le vérifier.


---------------
Cherche geekette | Traquez vos billets d'€ | Don du sang | Don de moelle osseuse
Reply

Marsh Posté le 22-11-2016 à 14:41:16    

j'ai taper la commande no shutdown mais ca ne me l'ajoute pas
par contre je n'ai pas fais copy run start mais wr
 
 
DG-AOYAMA-S01#show vlan
 
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
                                                Gi0/1, Gi0/2
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  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0
1003 tr    101003     1500  -      -      -        -    -        0      0
1004 fdnet 101004     1500  -      -      -        ieee -        0      0
1005 trnet 101005     1500  -      -      -        ibm  -        0      0
 
Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------
 
 
 
 
edit:  
 
Citation :
 
witch#conf t  
 
switch(config)#int vlan1  
 
switch(config-if)#no shut  
 
switch(config-if)#end  
 
switch#copy run start
 
 
switch#sh run
 
interface Vlan1
 ip address 172.30.42.250 255.255.255.0
 no ip route-cache
 
 
 
no shutdown n'apparait pas


Message édité par arckaine le 22-11-2016 à 14:46:01

---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 22-11-2016 à 14:47:57    

et si tu fais  :    show interface vlan 1
 


---------------
Cherche geekette | Traquez vos billets d'€ | Don du sang | Don de moelle osseuse
Reply

Marsh Posté le 22-11-2016 à 14:48:41    

DG-AOYAMA-S01#show interface vlan 1
Vlan1 is up, line protocol is up
  Hardware is EtherSVI, address is 5006.aba3.1f40 (bia 5006.aba3.1f40)
  Internet address is 172.30.42.250/24
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:03:20, output 02:21:09, 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
     2422 packets input, 231800 bytes, 0 no buffer
     Received 0 broadcasts (0 IP multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     447 packets output, 38936 bytes, 0 underruns
     0 output errors, 3 interface resets
     0 unknown protocol drops
     0 output buffer failures, 0 output buffers swapped out


---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 22-11-2016 à 15:08:23    

zarb, normalement depuis le lan tu devrais le pinguer.
 
Tu as bien une adresse ip sur ton pc en 172.30.42.* /24 ?
et tu es bien branché sur l'un des ports ethernet du switch ?
 
Depuis le switch,  ping 172.30.42.251  marche ?


---------------
Cherche geekette | Traquez vos billets d'€ | Don du sang | Don de moelle osseuse
Reply

Marsh Posté le 22-11-2016 à 15:12:41    

sur le pc, je suis bien sur ma plage dhcp oui. mais je ne ping ni le switch ni le routeur


---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 22-11-2016 à 15:22:37    

test sur le switch :
 
Switch(config)#interface range fastEthernet 0/1-24
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 1
Switch(config-if-range)#no shut
Switch(config-if-range)#exit


---------------
Cherche geekette | Traquez vos billets d'€ | Don du sang | Don de moelle osseuse
Reply

Marsh Posté le 22-11-2016 à 15:25:20    

arckaine a écrit :


Bonjour,
 
[...]L’adresse du routeur est 172.42.30.251[...]
 
[...]ip default-gateway 172.30.42.251[...]


 
Il n'y aurait pas une petite inversion entre le 2è et 3è octets ?
 
ps= la commande "no shutdown" ne s'affiche pas en CLI, c'est l'inverse de mémoire.

Reply

Marsh Posté le 22-11-2016 à 15:25:20   

Reply

Marsh Posté le 22-11-2016 à 15:27:55    

le no shut n'apparait pas. et toujours pas de ping
 
 
 
Building configuration...
 
Current configuration : 2451 bytes
!
! Last configuration change at 23:25:54 JST Tue Nov 22 2016
! NVRAM config last updated at 23:25:59 JST Tue Nov 22 2016
!
version 15.2
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone
service password-encryption
!
hostname DG-AOYAMA-S01
!
boot-start-marker
boot-end-marker
!
logging buffered 64000
enable secret 5 $1$B/VJ$f2DIgkdVyMmthmXosjECk0
enable password 7 14161D120D092B387479363B
!
no aaa new-model
clock timezone JST 9 0
system mtu routing 1500
!
!
!
!
!
no ip source-route
no ip dhcp use vrf connected
!
!
!
mls qos
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
interface FastEthernet0/1
 switchport mode access
!
interface FastEthernet0/2
 switchport mode access
!
interface FastEthernet0/3
 switchport mode access
!
interface FastEthernet0/4
 switchport mode access
!
interface FastEthernet0/5
 switchport mode access
!
interface FastEthernet0/6
 switchport mode access
!
interface FastEthernet0/7
 switchport mode access
!
interface FastEthernet0/8
 switchport mode access
!
interface FastEthernet0/9
 switchport mode access
!
interface FastEthernet0/10
 switchport mode access
!
interface FastEthernet0/11
 switchport mode access
!
interface FastEthernet0/12
 switchport mode access
!
interface FastEthernet0/13
 switchport mode access
!
interface FastEthernet0/14
 switchport mode access
!
interface FastEthernet0/15
 switchport mode access
!
interface FastEthernet0/16
 switchport mode access
!
interface FastEthernet0/17
 switchport mode access
!
interface FastEthernet0/18
 switchport mode access
!
interface FastEthernet0/19
 switchport mode access
!
interface FastEthernet0/20
 switchport mode access
!
interface FastEthernet0/21
 switchport mode access
!
interface FastEthernet0/22
 switchport mode access
!
interface FastEthernet0/23
 switchport mode access
!
interface FastEthernet0/24
 switchport mode access
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
 ip address 172.30.42.250 255.255.255.0
 no ip route-cache
!
ip default-gateway 172.30.42.251
no ip http server
no ip http secure-server
!
!
!
line con 0
line vty 0 4
 access-class 23 in
 exec-timeout 120 0
 password 7 12180A0E13060D177A7A302D3F3B2707
 login
 transport input telnet
 transport output telnet
line vty 5 15
 login
!
end


---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 22-11-2016 à 15:41:04    

ton pc est branché sur le port fa0/1 ?
 
Que donne show interface fa0/1
 
Et sinon oui, vérifie bien que tu n'as pas une faute de frappe dans tes adresses ip ?
 
Et côté ping, tu as essayé entre quoi et quoi ?


---------------
Cherche geekette | Traquez vos billets d'€ | Don du sang | Don de moelle osseuse
Reply

Marsh Posté le 22-11-2016 à 15:53:49    

fa0/1 c'Est le routeur
actuellement le pc est sur fa0/14
actuellement la conf est hors production donc pas d’accès wan.
juste routeur - switch - pc
pour info sans le switch donc routeur - pc , le ping du routeur fonctionne.
 
DG-AOYAMA-S01#show interface fa0/1
FastEthernet0/1 is up, line protocol is up (connected)
  Hardware is Fast Ethernet, address is 5006.aba3.1f01 (bia 5006.aba3.1f01)
  MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, media type is 10/100BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:00, 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
     16608 packets input, 1816234 bytes, 0 no buffer
     Received 1847 broadcasts (896 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 896 multicast, 0 pause input
     0 input packets with dribble condition detected
     47446 packets output, 4048767 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out
 
DG-AOYAMA-S01#show interface fa0/14
FastEthernet0/14 is up, line protocol is up (connected)
  Hardware is Fast Ethernet, address is 5006.aba3.1f0e (bia 5006.aba3.1f0e)
  MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, media type is 10/100BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:01, 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 1000 bits/sec, 1 packets/sec
  5 minute output rate 1000 bits/sec, 1 packets/sec
     27860 packets input, 2505551 bytes, 0 no buffer
     Received 2743 broadcasts (1540 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 1540 multicast, 0 pause input
     0 input packets with dribble condition detected
     30762 packets output, 2845720 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out


---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 23-11-2016 à 01:49:30    

plus d’idées?  Le problème viendrait du no shutdown ou il y a encore autre chose?


---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 23-11-2016 à 09:26:34    

Tu pourrais déjà commencer par répondre et confirmer avoir bien vérifier si tu n'as pas fait une faute de frappe avec ton adresse de passerelle.

Reply

Marsh Posté le 23-11-2016 à 09:29:53    

désoler, j'ai modifier mon post. les adresses sont bien  
L’adresse du switch est 172.30.42.250  
L’adresse du routeur est 172.30.42.251


Message édité par arckaine le 23-11-2016 à 09:30:57

---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 23-11-2016 à 10:28:37    

Com21 t'a demandé de pinger (du switch) la passerelle 172.30.42.251, ca donne quoi ?
Fais la même chose du switch vers le PC.
Et tu fais tout inversement, passerelle vers switch, passerelle vers PC, PC vers switch et passerelle.
Dis nous ce qui fonctionne et ce qui fonctionne pas.
Postes les conf IP (IP + mask) de ton routeur et de ton PC.

Reply

Marsh Posté le 24-11-2016 à 10:24:31    

J'ai resolu mon probleme. j'avais depuis le routeur ou depuis le switch du ping mais depuis le poste client je ne pouvrais pas pinger ni le routeur ni le switch.
 
Le probleme viens que si il n'y a pas de wan sur le routeur la commande ping est invalide depuis un poste client.
 
Quand je met du wan sur mon routeur les ping sont remonter automatiquement


---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 24-11-2016 à 16:53:02    

ton client était en dhcp ?


---------------
Cherche geekette | Traquez vos billets d'€ | Don du sang | Don de moelle osseuse
Reply

Marsh Posté le 27-11-2016 à 07:48:52    

oui. j'etais bien sur la plage dhcp defini par mon routeur


---------------
http://forum.hardware.fr/hfr/Hardw [...] 1574_1.htm
Reply

Marsh Posté le 27-11-2016 à 11:08:43    

non mais il était configuré en dhcp ton client ou tu avais mis une ip fixe ?
 


---------------
Cherche geekette | Traquez vos billets d'€ | Don du sang | Don de moelle osseuse
Reply

Marsh Posté le    

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed