Tuesday, January 14, 2014

Advanced Ping Concepts

Everyone know of the command 'ping' which helps to see whether internet connection is available in a Computer (of any sort - [i.e., laptop, desktop, server]). And prior to check the internet connection whether internet gateway is up (i.e., either firewall or the gateway device). In general Routers acts as gateway device. Either it is per-configured with least parameters or can be configured on a very low level on several networking algorithms with wide set of options and configurability For ex:- Cisco Routers.

This command is useful to check whether this kind of ROUTER is up [or] to check the availability of any specialized device which has a valid IP in order to access (like NAS, SAN, Firewall, configured UNIX boxes which are meant for some purpose like LDAP server, DNS server, Version control systems like CVS, SVN etc., DHCP server, Clustered Application Servers like Weblogic, Websphere, JBoss etc., Well Configured Web Servers - Apache and so on )

And simply to say this command helps to check the network availability of a system in a local area network (LAN) and to see the given host is reachable in a network of any size. When you ping the host which is not in shortest path as per the Router's algorithm, some packets might gets lost, because time-to-live (TTL) makes the pact on the time on the ICMP messages anticipated from the host. This command is commonly available in all O.S [MS-DOS, Windows, UNIX, Linux etc.,]. But other than -t option which helps to ping infinite ICMP packets, there are many options in 'ping' which can be intelligently used.

Note: ICMP stands for Internet Controlled Message Protocol

Here is the ping options taken from MS-DOS:-

-a option gives the host-name of the system you ping

Lets Assess one by one Slowly:-

No comments: