Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Why this "ping" response?

I am trying to ping an address from a 3560G switch but I am getting a strange response below. Is this imagine not capable of pinging? Strange that it is "IPservices"...

"flash:c3560-ipservices-mz.122-35.SE5/c3560-ipservices-mz.122-35.SE5.bin"

gw1#ping ip ?

WORD Ping destination address or hostname

<cr>

gw1#ping ip 192.168.10.33

% Unrecognized host or address, or protocol not running.

gw1#ping ip ?

WORD Ping destination address or hostname

<cr>

gw1#ping ip 192.168.10.65

% Unrecognized host or address, or protocol not running.

9 REPLIES
Purple

Re: Why this "ping" response?

Just use ping 192.168.10.33 .

Community Member

Re: Why this "ping" response?

I did that too, but instead of returning "time out", it states that protocol may not be running. I never saw this before, just wondering.

switch1#show ip default-gateway

192.168.10.94

switch1#ping 192.168.10.94

% Unrecognized host or address, or protocol not running.

Community Member

Re: Why this "ping" response?

Never mind. Now I am getting the correct ping time out issue.

Thanks.

Community Member

Re: Why this "ping" response?

I did that too, but instead of returning "time out", it states that protocol may not be running. I never saw this before, just wondering.

switch1#show ip default-gateway

192.168.10.94

switch1#ping 192.168.10.94

% Unrecognized host or address, or protocol not running.

Hall of Fame Super Silver

Re: Why this "ping" response?

Hello Marlon,

I guess you have:

no ip routing

if you are using an ip default-gateway

but I agree that this shouldn't prevent the use of ping command

if you enable ip routing you need a default route instead of ip default-gateway:

ip routing

ip route 0.0.0.0 0.0.0.0 192.168.10.94

and you need an ip address in the same subnet as next-hop / ip default-gateway.

Hope to help

Giuseppe

Re: Why this "ping" response?

Do you have an ip address assigned to the switch vlan that your pinging from?

If you do not have a ip address on your switch this will definitely be the issue as there is no returning route.

hth, please rate if so

Regards,

Justin

Community Member

Thanks a lot Justin, your

Thanks a lot Justin, your reply saved me :)

Community Member

Re: Why this "ping" response?

Please use below command for configuring DNS.

Ip domain lookup

ip name server

ip domain name

ip OSPF name-lookup

I have also had a same problem when I setting up new Router.

and see below link

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00800c525f.shtml

Regards

Amit Sharma

Message was edited by: Amit Sharma

Community Member

If you default gateway is 192

If you default gateway is 192.168.10.1/24 or 192.168.10.254/24, the ip of switch is anyone between 192.168.10.2 to 192.168.10.253

 

example

config t
interface vlan 1
ip add 192.168.10.2 255.255.255.0
exit

 

36076
Views
50
Helpful
9
Replies
CreatePlease to create content