cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2709
Views
0
Helpful
2
Replies

Switch can't ping a host

huyan
Level 1
Level 1

Hello, 

I have a switch with Vlan 1 192.168.10.2/24 , there is a host (192.168.10.10/24) connected to the switch. 

I tried to ping like these: 

Host pings VLAN --> Successful

Switch pings host --> Fail

(I tried these on real equipment)

 

I tried to replicate this on Packet Tracer, the same configuration and Switch can ping host. 

 

Can you help to spot the error?

 

Here is the log I got from the Switch: 

 

Switch#debug ip packet detail
IP packet debugging is on (detailed)
Switch#ping 192.168.10.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds:

*Mar 1 03:35:13.867: IP: s=192.168.10.2 (local), d=192.168.10.10, len 100, local feature
*Mar 1 03:35:13.867: ICMP type=8, code=0, RCLI(7), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdchk FALSE
*Mar 1 03:35:13.867: IP: s=192.168.10.2 (local), d=192.168.10.10, len 100, local feature
*Mar 1 03:35:13.867: ICMP type=8, code=0, Local Clustering(8), rtype 0, forus FALSE, sendself FALSE, mtu 0, fwdc hk FALSE
*Mar 1 03:35:13.867: IP: tableid=0, s=192.168.10.2 (local), d=192.168.10.10 (Vlan1), routed via RIB
*Mar 1 03:35:13.867: IP: s=192.168.10.2 (local), d=192.168.10.10 (Vlan1), len 100, sending
*Mar 1 03:35:13.867: ICMP type=8, code=0
*Mar 1 03:35:13.875: IP: s=192.168.10.2 (local), d=192.168.10.10 (Vlan1), len 100, sending full packet
*Mar 1 03:35:13.875: ICMP type=8, code=0.

 

 

 

1 Accepted Solution

Accepted Solutions

pieterh
VIP
VIP

is there a firewall active on the host ????

if so check if rules allow ping incoming.

 

ps duplicate with this ?

https://community.cisco.com/t5/switching/switch-can-t-ping-a-host/m-p/3751260#M453081

View solution in original post

2 Replies 2

pieterh
VIP
VIP

is there a firewall active on the host ????

if so check if rules allow ping incoming.

 

ps duplicate with this ?

https://community.cisco.com/t5/switching/switch-can-t-ping-a-host/m-p/3751260#M453081

Hi Pieterh,
You save my day, I spent hours just to figure out this. I am so dumb :)
Thank you!