042-Ankit Shaw
042-Ankit Shaw
042-Ankit Shaw
or Traceroute Commands
Ping and traceroute are common commands you
can use to troubleshoot network problems
Ankit Shaw
BWU/MNC/23/042
Ping Command
Ping is a simple command that can test the
reachability of a device on the network
How Do Ping Commands Look on Screen?
Here are two examples of how Ping commands look on screen:
Ping on IP Address
When a ping command is issued, an echo request packet is sent to the address
specified. When the remote host receives the echo request, it responds with
an echo reply packet.
Ping Switches and Variables
-t Ping the specifed host until interrupted.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.
Tracert or Traceroute
Command
Traceroute is a command you use to 'trace' the
route that a packet takes when traveling to its
destination
What is the purpose of
traceroute?
A traceroute plays a different role than other diagnostic tools, such
as packet capture, which analyzes data.
A traceroute works by sending Internet Control Message Protocol
(ICMP) packets, and every router involved in transferring the data
gets these packets
An Internet Protocol (IP) tracer is helpful for figuring out the routing
hops data has to go through, as well as response delays as it travel
across nodes, which are what send the data toward its destination.
How to Read a Traceroute?
1. Each line indicates a router hop. The first column shows the hop number.
3. The last column displays the destination IP address and, whenever possible, the resolved
domain name.
Thank you
Hope you like it….
Reference:
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ping
https://www.itprotoday.com/compute-engines/what-switches-can-be-used-ping
https://networklessons.com/cisco/ccna-routing-switching-icnd1-100-105/ping-troubleshooting-on-cisco-ios
https://networklessons.com/cisco/ccna-routing-switching-icnd1-100-105/traceroute