Can you ping it? … Yes you can!

Ping is the most simplest tool to use whilst troubleshooting connectivity and can be very useful. The purpose of ping to verify that device that you are trying to communicate with is alive and is available.

Ping in it’s simplest form is saying “are you there?
Extended ping on the other hand has various options that provides Network Admins with the arsenal to troubleshoot connectivity at an advanced level for example, here are some of many options that can be used appended to the ping command.

 

  • Protocols: Whilst  IP is predominantly used, most admins don’t realise  that you can do an AppleTalk, CLNS, Novell, or other types of ping with extended ping.
  • Repeat count: How many pings do you want to send? The default is five with standard ping, but you could send 1000 with extended ping. Perhaps your network is having intermittent connectivity issues — you could test this with extended ping.
  • Datagram size: While the default is to send a 100-byte ping, with extended ping you could send very large ping packets (1500 bytes). Perhaps your network is having trouble with large data transfers.
  • Timeout: The default timeout is two seconds, but you could allow ping to wait much longer for a reply if you choose to do so.
  • Source interface: For me this command is invaluable — you can specify the source of your ping because, otherwise, the receiving router may not be able to see all interfaces of your router and your standard ping may fail.
  • Loose, Strict, Record, Timestamp, Verbose: You can specify these options to gain additional information about your ping tests, such as forcing the ping to take a strict path through the network.

 

Here’s and example of and extended ping from a Cisco router.

 

Router# ping
Protocol [ip]:
Target IP address: 192.168.1.129
Repeat count [5]: 10
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 192.168.1.155
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 192.168.1.155, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 1/1/1 ms
Router#

Here’s a shortened extended ping, all on the command line, like this:

ping ip 192.168.1.155 data 0000 repeat 100 size 17000 verbose

Now go PING!!

 

 

Share and Enjoy:
  • Facebook
  • Google Bookmarks
  • Digg
  • email
  • LinkedIn
  • Live

Leave a Reply