TCP three-way handshake

Since TCP is a connection-oriented protocol, a connection needs to be established before two devices can communicate. TCP uses a process called three-way handshake to negotiate the sequence and acknowledgment fields and start the session. Here is a graphical representation of the process:

TCP three way handshake explained

As the name implies, the three way handshake process consists of three steps:

    1. Host A initiates the connection by sending the TCP SYN packet to the destination host. The packet contains the random sequence number (e.g. 5432) which marks the beginning of the sequence numbers for data that the Host A will transmit.
    2. The Server receives the packet and responds with its own sequence number. The response also includes the acknowledgment number, which is Host A’s sequence number incremented by 1 (in our case, that would be 5433).
    3. Host A acknowledges the response of the Server by sending the acknowledgment number, which is the Server’s sequence number incremented by 1.

 

Here is another picture with the numbers included:

TCP three way handshake explained with numbers

After the data transmission process is finished, TCP will terminate the connection between two endpoints. This four-step process is illustrated below:

TCP connection termination process

  1. The client application that wants to close the connection sends a TCP segment with the FIN (Finished) flag set to 1.
  2. The server receives the TCP segment and acknowledges it with the ACK segment.
  3. Server sends its own TCP segment with the FIN flag set to 1 to the client in order to terminate the connection.
  4. The client acknowledges the server’s FIN segment and closes the connection.

Prerequisites for 200-301

200-301 is a single exam, consisting of about 120 questions. It covers a wide range of topics, such as routing and switching, security, wireless networking, and even some programming concepts. As with other Cisco certifications, you can take it at any of the Pearson VUE certification centers.

The recommended training program that can be taken at a Cisco academy is called Implementing and Administering Cisco Solutions (CCNA). The successful completion of a training course will get you a training badge.

Full Version 200-301 Dumps

Try 200-301 Dumps Demo

Proudly powered by WordPress   Premium Style Theme by www.gopiplus.com