Sunteți pe pagina 1din 3

29/11/2019 TCP Interview Questions and Answers (Transmission Control Protocol) | Networker Interview

Networker Interview
Prepare for CCNA, CCNP, CCIE Interview !

CCNA CCNP CCIE QUICK NOTES CCNA PDF DOWNLOAD TOPIC-WISE

TCP Interview Questions and Answers (Transmission Control Protocol) Sear

What is TCP?
Transmission Control Protocol is a connection-oriented protocol. This means that before any data transfer can take place,
certain parameters have to be negotiated in order to establish the connection.
Buy C
Explain TCP Three-Way Handshake process? &

For Reliable connection, the transmitting device first establishes a connection-oriented (reliable) session with its peer
system, which is called three-way handshake. Data is then transferred. When the Data transfer is finished, the connection is
terminated and a virtual circuit is torn down.
1. In the First part of Three-way Handshake, the source sends a TCP SYN segment with the initial sequence number X
indicating the desire to open the connection.             
————————————————
2. In Second Part, when destination receives TCP SYN, It acknowledges this with Ack (X+1)  as well as its own SYN Y (It
informs Source what sequence number it will start its data with and will use in further messages). This response is called
SYN/ACK.
————————————————
     
3. In the Third Part, the source sends an ACK (ACK = Y+1) segment to the destination indicating that the connection is set
up. Data transfer can then begin.
Buy
During this 3 way Handshake, devices are negotiating parameters like Window Size etc. In
Answ
What does Window Size indicate?
It is 16-bit Window field which indicates the number of bytes a sender will send before receiving an acknowledgement from
the receiver.

What is the purpose of RST bit?


When the connection is not allowed by destination connection is reset.

What are TCP Flags?


TCP Flags are used to influence the Flow of Data across a TCP Connection.
1. PUSH (PSH) - It Pushes the buffered data to the receiver's application. If data is to be sent on the immediate basis we
will push it.
2. Reset (RST) - It Resets the connection.
3. Finish (FIN) - It Finishes the session. It means No More Data from the sender.
4. Urgent (URG) - It is use to set the priority to tell the receiver that this data is important for you.
5. Acknowledgement (ACK) - All packets after SYN packet sent by the client should have this flag Set. ACK=10 means
host has received 0 through 9 and is expecting byte 10 next.
6. Synchronize (SYN) - It initiates a connection. It Synchronizes the sequence number.

networkerinterview.net/entries/tcp-2/tcp 1/3
29/11/2019 TCP Interview Questions and Answers (Transmission Control Protocol) | Networker Interview

What is the difference between PUSH and URG flag?


The PSH flag in the TCP header informs the receiving host that the data should be pushed up to the receiving application
immediately. The URG flag is used to inform a receiving station that certain data within a segment is urgent and should be
Like
prioritized.
Be the
What is the importance of Sequence Number and Acknowledgement Number?
Sequence Number is a 32-bit field which indicates the amount of data that is sent during a TCP session. By sequence
number, the sender can be assured that the receiver received the data because the receiver uses this sequence number as the
acknowledgement number in the next segment it sends to acknowledge the received data. When the TCP session starts, the
initial sequence number can be any number in the range 0–4,294,967,295.
Acknowledgement number is used to acknowledge the received data and is equal to the received sequence number plus 1.

Related Post

1. OSI Model Interview Questions and Answers

2. ARP Interview Questions and Answers

3. IP Header Interview Questions and Answers

4. Basic Routing Interview Questions and Answers

5. EIGRP Interview Questions and Answers [CCNA]

Go Back

0 comments  Posted in TCP.


  Cisco tcp 3 way hansdshake tcp header tcp three way hanshake difference between push and urg flag tcp flags window size tcp sequence number tcp acknowledgement number tcp rst tcp fin tcp syn
tcp notes

Share   

Comment
Name:

E-mail :

Website :

Comment:

I'm not a robot


reCAPTCHA
Privacy - Terms

Submit

networkerinterview.net/entries/tcp-2/tcp 2/3
29/11/2019 TCP Interview Questions and Answers (Transmission Control Protocol) | Networker Interview

Contact us    About us    Privacy Policy

Give your valuable suggestions and feedback through comments

Copyright © Networker Interview. All rights reserved.

networkerinterview.net/entries/tcp-2/tcp 3/3

S-ar putea să vă placă și