Thursday, 15 March 2018

Ping V/s Traceroute

In computer networks, data is sent in small blocks known as packets. Each packet is transmitted individually and may also follow different route to reach the destination. Once all these packets of the original message reach the destination, they are re-assembled to form the original message. But, sometimes, it may happen that the web server is down, network congestion or some other technical glitch is there, that may prevent the message from reaching the destination. To diagnose such congestions and network failures, we use two common programs namely Ping and Traceroute.
Ping – It is a utility that helps one to check if a particular IP address is accessible or not. Ping works by sending a packet to the specified address and waits for the reply. It also measures round trip time and reports errors.
Ping is also used in checking if the computers on a local network are active. For this, the user has to go in command prompt and type : ping 127.0.0.1, and if the address is active, the ping would return a message like this :

The IP address 127.0.0.1 is the address of the local host and would receive a ping reply even if the sender is not connected to internet.
Traceroute – It is utility  that traces a packet from your computer to the host, and will also show the number of steps (hops) required to reach there, along with the time by each step. Traceroute works by sending the packets of data with low survival time (Time to Live – TTL) which specifies how many steps (hops) can the packet survive before it is returned. When a packet can’t reach the final destination and expires at an intermediate step, that node returns the packet and identifies itself. So, by increasing the TTL gradually, Traceroute is able to identify the intermediate hosts. If any of the hops come back with  “Request timed out”, it denotes network congestion and a reason for slow loading Web pages and dropped connections.
The main difference between Ping and Traceroute is that Ping is a quick and easy utility to tell if the specified server is reachable and how long will it take to send and receive data from the server whereas Traceroute finds the exact route taken to reach the server and time taken by each step (hop).

So thats it. Hope you guys like it. If yes then please .. comment down below and do not forgot to like follow and share our social media platforms. 

Facebook Page:- https://www.facebook.com/theprogrammer.harshit/ 

Related Posts:

  • 4 Best Linux Mini PC If you want a portable solution of  We your Linux Machine, Linux Mini PC is the best solution for you.Because these are easy to handle,need low power consumption,fit on a small space and can ope… Read More
  • Concept of Serverless Computing Technology is changing at breakneck speed. New concepts are coming in and old concepts are transforming. As a result, there is a lot of shift in the way people work with these technological advancements. And there is on… Read More
  • Capacitive V/S Resistive Touchscreens . Around some years the craze of using a touchscreen smartphones and tablets had increased rapidly due to it many companies had started making many types of touchscreen for customers to use the smartphones easily. But sometim… Read More
  • What are Botnets ? How do they works.? Botnets have become one of the biggest threats to security systems today. Their growing popularity among cybercriminals comes from their ability to infiltrate almost any internet-connected device, from DVR players to corp… Read More
  • Key Concept about Malware Analysis. The method by which malware analysis is performed typically falls under one of two types: Static malware analysis: Static or Code Analysis is usually performed by dissecting the different resources of the binary … Read More

0 comments:

Post a Comment