



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Ping,SMTP,Traceroute and Multiple Hosts Responded.
Typology: Exercises
1 / 5
This page cannot be seen from the preview
Don't miss anything!
Name: ________________________________ Sunet ID: ________________________________ @ stanford.edu Background Wireshark is a tool for inspecting packets sent/received on a network interface. There are two modes: Open and Capture. Capture mode shows you a live stream of the packets currently going to/from the interface, which you can then save to a pcap file if you like. Open allows you to inspect a pcap previously generated by some capture. If you want to look at two pcap files simultaneously, the best way I’ve found is to start two instances of Wireshark -- e.g. on Mac, open -n /Applications/Wireshark.app Pcap 1: Ping Open ping.pcap, which captures a single ping from one host to another. Don’t worry about the details of the ARP packets for now. We’ll learn later that ARP is a discovery protocol for finding the Ethernet address to use when sending to a local IP address.
To make the TCP sequence/acknowledgement numbers easier to understand, set up Wireshark to display them relative to the first packet: Wireshark -> Preferences -> Protocols -> TCP -> check “Analyze TCP sequence numbers” and “Relative sequence numbers”
What do you notice about the source and destination ports of the packets sent to MIT? Source is random and different for each; destination starts with a random number and increases by one for each c. Which packet is the first response responding to? 9 Hint: The ICMP payload of the response packet contains part of the packet which prompted the response. The ports may be helpful in differentiating packets.
9 ae-1.a02.snjsca04.us.bb.gin.ntt.net (129.250.3.103) 2.754 ms 2.482 ms ae-0.a02.snjsca04.us.bb.gin.ntt.net (129.250.2.3) 1.312 ms 10 * * *