Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(a) The following figure describes a TCP three-way handshake process. Three type

ID: 3718171 • Letter: #

Question

(a) The following figure describes a TCP three-way handshake process. Three types of packets are used in the figure. What are the three packet types? (3 points) Fill in blanks (5 points)

(b) If one packet from an internal computer comes to NAT with source address as 192.168.0.3 and destination address as 56.21.46.89. What source and destination addresses will this packet have after it passes NAT? (3 points) Assuming this packet reaches the remote server and the remote server sends a response packet, what source and destination address will the response packet have? (3 points)

client server Seq 2021 Seq-1232, ACK

Explanation / Answer

(a) TCP three-way handshake process and It's packet types three message handshake SYN-SYN-ACK.
- It's three way handshaking method is known as "SYN-SYN-ACK" (or more accurately we can say SYN, SYN-ACK, ACK).
- And this method used in TCP/IP network to crate a connection between local client and server.
- In this three-step requires both client and server to exchanges packets.
  
- client will send connection establishment request(SYN). server will send acknowledgement, means server received client's request(SYN-ACK). client will acknowledgement to server(ACK).

- while transmitting the data transfer will send one parameter maximum segment size so, receiver will be ready tot receive that much data at time, receiver will set the buffer size according to it.


(b)
- one packet from an internal computer comes to NAT with,
source address 192.168.0.3
destination address 56.21.46.89
- After packet passes NAT then,
source address 128.87.55.67
destination address 56.21.46.89
- Assuming this packet reaches the remote server and the remote server sends a response packet then response packet
source address 56.21.46.89
destination address 192.168.0.3