Explain how traceroute, ping, and tcpdump work and what
they are used for?

Answer Posted / abhilash

Traceroute;

Traceroute works by increasing the "time-to-live" value of
each successive batch of packets sent. The first three
packets sent have a time-to-live (TTL) value of one
(implying that they are not forwarded by the next router and
make only a single hop). The next three packets have a TTL
value of 2, and so on. When a packet passes through a host,
normally the host decrements the TTL value by one, and
forwards the packet to the next host. When a packet with a
TTL of one reaches a host, the host discards the packet and
sends an ICMP time exceeded (type 11) packet to the sender.
The traceroute utility uses these returning packets to
produce a list of hosts that the packets have traversed en
route to the destination. The three timestamp values
returned for each host along the path are the delay (aka
latency) values typically in milliseconds (ms) for each
packet in the batch. If a packet does not return within the
expected timeout window, a star (asterisk) is traditionally
printed. Traceroute may not list the real hosts. It
indicates that the first host is at one hop, the second host
at two hops, etc. IP does not guarantee that all the packets
take the same route. Also note that if the host at hop
number N does not reply, the hop will be skipped in the output.

Ping:

It works by sending ICMP “echo request” packets to the
target host and listening for ICMP “echo response” replies.
Ping estimates the round-trip time, generally in
milliseconds, and records any packet loss, and prints a
statistical summary when finished.

Is This Answer Correct ?    20 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give some private network addresses examples?

538


if the server has slow how to check the server performance? How to check server performance what is the procedure?

1416


what solution for High Utilization Cisco router 2851 ? please Need Help ASAP.

1410


How maximum networks and hosts are in a class a, b and c network?

585


Do you know what is the maximum segment length of a 100base-fx network?

583






Draw network configuration and protocol layer interface architecture for a multiprotocol bridge that interconnects an Ethernet LAN to a token-ring LAN.

3288


Port modes [trunk and access] have any influence on VLAN tagging and un-tagging?

1405


Describe one advantage of mesh topology?

699


I am using solaris box, I need to delete a file from path /usr/tmp/ which r older than 24 hours?

1414


Explain about the job of the network layer under the osi reference model?

571


Define lan?

570


Is there any website? Which can theft or watch any system or computer hardware drives(memory)while they are accessing Internet.If it is avilable what is it? Please answer me.Advance thanks

1475


in solaris file sysrm is full what u do?

1524


Define nos?

613


Describe the working environment you are currently in, e.g. frequent interruptions, frequent priority shifting, team or individual?

1498