ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Networking >> Networking Administration
 
 


 

 
 Networking Protocols interview questions  Networking Protocols Interview Questions (284)
 Networking Administration interview questions  Networking Administration Interview Questions (352)
 Networking Security interview questions  Networking Security Interview Questions (68)
 Networking AllOther interview questions  Networking AllOther Interview Questions (282)
Question
Explain how traceroute, ping, and tcpdump work and what 
they are used for?
 Question Submitted By :: Networking-Administration
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
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 ?    17 Yes 1 No
Abhilash
 
Answer
# 2
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 ?    11 Yes 2 No
Sachin Vaish
 
 
 
Answer
# 3
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 ?    9 Yes 0 No
Malhari
 
Answer
# 4
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
Mayur
 

 
 
 
Other Networking Administration Interview Questions
 
  Question Asked @ Answers
 
A software is installed in server.How to share the software among the clients HP 12
difference between layer3 switch and router TATA 9
I have two switch.Two Uplink ports of a switch is interconnected with other switch.consider uplink port of a switch is 100 Mbps.Now tell me whether bandwidth of uplink port will increase or not.IF it is How much? WebEx 5
how many machines can access together SQL server in workgroup networking.??   2
What is Telnet ?   2
What is the command to start a service in Windows from command line?   5
what is definition of shadow copy IBM 5
what is the error we get if one of the disk is failed in raid1 how can i restore the data from another disk Sify 2
Describe End to End network services: (Choose all that apply) * Best Route selection * Accomplished Segment by Segment, each segment is autonomous * Flow Control & Data Integrity * Best efforts packet delivery Cisco 8
Can you connect Active Directory to other 3rd-party Directory Services? Name a few options Network-Solutions 1
what is MBR and how will u clear this ?   2
what is the purpose of activ directory in windows2003   2
 
For more Networking Administration Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright © 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com