Why this "ping" response?

Unanswered Question
May 19th, 2009
User Badges:

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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (10 ratings)
Loading.
glen.grant Tue, 05/19/2009 - 11:43
User Badges:
  • Purple, 4500 points or more

Just use ping 192.168.10.33 .

news2010a Tue, 05/19/2009 - 11:45
User Badges:

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.



news2010a Tue, 05/19/2009 - 11:50
User Badges:

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


Thanks.

news2010a Tue, 05/19/2009 - 11:50
User Badges:

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.



Giuseppe Larosa Tue, 05/19/2009 - 12:46
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

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


Justin Brenton Tue, 05/19/2009 - 11:58
User Badges:
  • Silver, 250 points or more

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


Amit Sharma Thu, 04/28/2011 - 05:46
User Badges:
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}

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

beeomakina Wed, 05/20/2015 - 15:26
User Badges:

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

 

Actions

This Discussion