JARINGAN KOMPUTER Buka wireshark tcp-ethereal-trace-1
TCP Basics Answer the following questions for the TCP segments: 1. What is the IP address and TCP port number used by your client computer source) to transfer the file to gaia.cs.umass.edu? Client computer (source) : IP address : 192.168.1.102
TCP port number : 1161
2. What is the IP address and port number used by gaia.cs.umass.edu to receive the file. gaia.cs.umass.edu : IP address : 128.119.245.12
TCP port number : 80
NAUFAL ILHAM RAMADHAN | 2110165025
1
3. If you did this problem on your own computer, you’ll have your own solution
4. What is the sequence number of the TCP SYN segment that is used to initiate the TCP connection between the client computer and gaia.cs.umass.edu? What is it in the segment that identifies the segment as a SYN segment? Sequence number pada segmen TCP SYN digunakan untuk menunjukkan TCP connection antara computer client dengan gaia.cs.umass.edu. Nilai TCP SYN adalah 0. Sedangkan SYN flag nernilai 1 dan SYN flag menunjukkan SYN segmen.
NAUFAL ILHAM RAMADHAN | 2110165025
2
5. What is the sequence number of the SYNACK segment sent by gaia.cs.umass.edu to the client computer in reply to the SYN? What is the value of the ACKnowledgement field in the SYNACK segment? How did gaia.cs.umass.edu determine that value? What is it in the segment that identifies the segment as a SYNACK segment? Sequence number segmen SYNACK dari gaia.cs.umass.edu ke komputer klien adalah bernilai 0. Sedangkan nilai ACKnowledgement pada segmen SYNACK adalah 1. Gaia.cs.umass.edu menentukan nilai ACKnowledgement dengan cara memberikan nilai 1 pada urutan pertama dari segmen SYN client. Untuk menunjukkan segmen SYNACK adalah nilai dari SYN flag dan ACKnowledgement berupa 1.
6. What is the sequence number of the TCP segment containing the HTTP POST command? Note that in order to find the POST command, you’ll need to dig into the packet content field at the bottom of the Wireshark window, looking for a segment with a “POST” within its DATA field. TCP yang mengandung HTTP POST terletak pada sequence number 164041.
NAUFAL ILHAM RAMADHAN | 2110165025
3
7. Consider the TCP segment containing the HTTP POST as the first segment in the TCP connection. What are the sequence numbers of the first six segments in the TCP connection (including the segment containing the HTTP POST)? At what time was each segment sent? When was the ACK for each segment received? Given the difference between when each TCP segment was sent, and when its acknowledgement was received, what is the RTT value for each of the six segments? What is the EstimatedRTT value (see page 237 in text) after the receipt of each ACK? Assume that the value of the EstimatedRTT is equal to the measured RTT for the first segment, and then is computed using the EstimatedRTT equation on page 237 for all subsequent segments. Note: Wireshark has a nice feature that allows you to plot the RTT for each of the TCP segments sent. Select a TCP segment in the “listing of captured packets” window that is being sent from the client to the gaia.cs.umass.edu server. Then select: Statistics>TCP Stream Graph->Round Trip Time Graph
NAUFAL ILHAM RAMADHAN | 2110165025
4
8. What is the length of each of the first six TCP segments? Panjang 6 pertama dari segmen TCP adalah 1460 bytes
NAUFAL ILHAM RAMADHAN | 2110165025
5
9. What is the minimum amount of available buffer space advertised at the received for the entire trace? Does the lack of receiver buffer space ever throttle the sender? Jumlah minimum buffer space di gaia.cs.umass.edu adalah 5840 bytes, yang ditunjukkan dalam acknowledgment pertama dari server. Buffer space ini terus bertambah hingga mencapai maksimum yaitu 62.780 byte.
10. Are there any retransmitted segments in the trace file? What did you check for (in the trace) in order to answer this question? Tidak ada segmen dipancarkan ulang. Kita dapat memverifikasi ini dengan memeriksa nomor urutan segmen TCP dalam file jejak. Dalam waktu-urutan-Graph (Stevens) dari jejak ini, semua nomor urut dari sumber (192.168.1.102) ke tujuan (128.119.245.12) meningkat secara monoton terhadap waktu. Jika ada segmen dipancarkan, jumlah urutan segmen dipancarkan ini harus lebih kecil dari segmen tetangga.
NAUFAL ILHAM RAMADHAN | 2110165025
6
11. How much data does the receiver typically acknowledge in an ACK? Can you identify cases where the receiver is ACKing every other received segment (see Table 3.2 on page 247 in the text). Acknowledged sequence numbers pada ACKs sebagai berikut : ACK 1 ACK 2 ACK 3 ACK 4 ACK 5 ACK 6 ACK 7 ACK 8 ACK 9 ACK 10 ACK 11 ACK 12
acknowledged sequence number 566 2026 3486 4946 6406 7866 9013 10473 11933 13393 14853 16313
acknowledged data 566 1460 1460 1460 1460 1460 1147 1460 1460 1460 1460 1460
Perbedaan antara sequence number dari ACK berturut-turut menunjukkan data yang diterima oleh server antara dua ACK tersebut. Dengan memeriksa jumlah data yang diakui oleh masing-masing ACK, ada kasus di mana penerima acking setiap segmen lainnya.
NAUFAL ILHAM RAMADHAN | 2110165025
7
12. What is the throughput (bytes transferred per unit time) for the TCP connection? Explain how you calculated this value. Perhitungan TCP tergantung pada rata-rata periode waktu. Sebagai perhitungan yang umum, dalam pertanyaan ini, kita memilih jangka waktu rata-rata sebagai waktu koneksi secara keseluruhan. Kemudian, keluaran rata-rata untuk koneksi TCP ini dihitung sebagai rasio antara jumlah total data dan waktu transmisi keseluruhan. Total Data jumlah yang dikirimkan dapat dihitung dengan perbedaan antara jumlah urutan segmen TCP pertama (yaitu 1 byte untuk No. 4 segmen) dan nomor yang mengakui urutan ACK terakhir (164091 bytes untuk No. 202 segmen). Oleh karena itu, total data 164091-1 = 164.090 byte. Waktu transmisi keseluruhan adalah perbedaan waktu instan dari segmen TCP pertama (yaitu, 0,026477 kedua untuk segmen No.4) dan waktu instan dari ACK terakhir (yaitu, 5,455830 kedua untuk No 202 segmen). Oleh karena itu, waktu transmisi total 5.455830 - 0.026477 = 5,4294 detik. Oleh karena itu, throughput untuk koneksi TCP dihitung sebagai 164.090 / 5,4294 = 30,222 KByte / sec.
NAUFAL ILHAM RAMADHAN | 2110165025
8
NAUFAL ILHAM RAMADHAN | 2110165025
9