Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / sachin vaish

traceroute, ping, and tcpdump test the connectivity of the
detination in question by sending icmp packets and checking
the responce(TTL) which is the routers encountered in the
path.They are used to check the connectivity and the
distance to the destination

Is This Answer Correct ?    13 Yes 2 No

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

Answer / malhari

ping is a command used to check the connectivity between source & destination.
tracert is a command used to track the route followed by packet to reach towards destination & time required to reach the destination.
TCPDUMP is different
its a NETWORK PACKET ANALYZER. tcpdump uses libpacp/winpcap
to capture data and uses it extensive protocol definitions
build inside to analyze the captured packets. Its mainly
used to debug the protocol of the captured packet which in
turn reveals the network traffic characterstics.

Is This Answer Correct ?    10 Yes 1 No

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

Answer / mayur

traceroute and ping work on the ICMP protocol and are used
for network connectivity testing. but TCPDUMP is different
its a NETWORK PACKET ANALYZER. tcpdump uses libpacp/winpcap
to capture data and uses it extensive protocol definitions
build inside to analyze the captured packets. Its mainly
used to debug the protocol of the captured packet which in
turn reveals the network traffic characterstics.

Is This Answer Correct ?    8 Yes 3 No

Post New Answer



More Networking Administration Interview Questions

If a route to a host is fixed and does not change by the changing conditions of the network, route is called a what type of route.

1 Answers  


Which communication relies on a timing system between two devices.

1 Answers  


Which freeware program will let you have fine-grain control over which machines can or can not telnet/rlogin into your machine ?

1 Answers  


what is ads? main advantages ads?

6 Answers   IBM,


Your have a class C network. The IP addresses of your workstations start with 128.251.143 . What is the broadcast address of your network?

1 Answers  






Where do Bridge, Router, repeater and Gateway sits on the OSI model?

1 Answers  


You try "ping server1" and you get "no answer from server1". Why ? (assume that your machine resolved the name correctly).

1 Answers  


Which machines use the /etc/main.cf file ?

1 Answers  


how many types of network connectivity's are their

2 Answers  


Which layer is responsible for providing mechanisms for multiplexing upper-layer application, session establishment, and tear down of virtual circuits? * Session * Network * Physical * Transport * Application * Presentation

5 Answers   Cisco, IBM,


Which one of TCP and UDP is connectionless ?

1 Answers  


what is dhcp? what is the uses and advantages?

11 Answers   IBM,






Categories
  • Networking Protocols Interview Questions Networking Protocols (671)
  • Networking Administration Interview Questions Networking Administration (1008)
  • Networking Security Interview Questions Networking Security (196)
  • Networking General Interview Questions Networking General (266)
  • Networking AllOther Interview Questions Networking AllOther (430)