ping command

Unanswered Question
Aug 29th, 2007
User Badges:

Hi experts,


In my network I am able to ping from my one of the lan pc to external network but I am unable to do the same thing from my router int. any body can give suggestions.


Regards,

naidu.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jon Marshall Wed, 08/29/2007 - 23:06
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi Naidu


This could well be down to the interface the router uses as it's source IP address when you do the ping.


Could you use the extended ping on the router and when it asks for the source interface use the IP address of the router interface that connects to your LAN.


HTH


Jon

ilnaiduccna Wed, 08/29/2007 - 23:28
User Badges:

Hi Jon,


Thanks for your early reply,


But I am not aware to use extended ping, can you tell what is the extended ping and how, from where shall we use it.


And what is the difference btw extended ping and normal ping (which from router int.)


many thanks in advance.


naidu.

Jon Marshall Wed, 08/29/2007 - 23:41
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Naidu


Extended ping on a router just gives you the ability to set more options. To use it just type


router# ping


and then hit return and it asks you questions as to what you want to do with the packet. Here's an example from one of our lab routers


=============================================


2600_rtr1#ping

Protocol [ip]:

Target IP address: 10.5.1.1

Repeat count [5]:

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface: 10.15.1.1

Type of service [0]:

Set DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]:

Sweep range of sizes [n]:

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.5.1.1, timeout is 2 seconds:

Packet sent with a source address of 10.15.1.1

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

2600_rtr1#


=============================================


HTH


Jon

ilnaiduccna Thu, 08/30/2007 - 00:45
User Badges:

Hi Jon,


So thanks,


This type I used so many times but I don't know people called this is a extended ping, just small confusion but however my doubt been cleared by jon.


Thanks :)

naidu.

Actions

This Discussion