cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
198
Views
15
Helpful
3
Replies
Highlighted
Beginner
Beginner

TCP connection problems

截屏2020-05-08 12.37.27.png截屏2020-05-08 12.38.11.png截屏2020-05-08 12.38.25.png截屏2020-05-08 12.39.04.png

Hello, for the start, English is not my first language, so I may express my question not accurately.

I am a student for Packet Tracer, recently I found some problems in TCP connection. The 4-way handshake became a 3-way handshake, and the last ACKNOWLEDGE NUMBER wasn't the third datagram's SEQUENCE plus one. I really confused about them.

The first picture is the first handshake, and the second picture is the second and third handshake. The third is the fourth handshake.

Could someone help me? I am very very confused.😭

Thank you very much!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Hall of Fame Master

Hello @ZC ,

in real world the  4 way TCP handshake can become a three way handshake because the second host B can in a single packet ACK the SYN ISN_HOST_A and it can also sends its own SYN flag and its own ISN_HOST_B.

This is called piggy backing as the ACK field and the sequence fields are distinct in TCP header makes this is possible.

 

So don't worry about what you have seen in packet capture it is normal behaviuor.

 

Hope to help

Giuseppe

 

View solution in original post

3 REPLIES 3
Highlighted
Hall of Fame Master

Hello @ZC ,

in real world the  4 way TCP handshake can become a three way handshake because the second host B can in a single packet ACK the SYN ISN_HOST_A and it can also sends its own SYN flag and its own ISN_HOST_B.

This is called piggy backing as the ACK field and the sequence fields are distinct in TCP header makes this is possible.

 

So don't worry about what you have seen in packet capture it is normal behaviuor.

 

Hope to help

Giuseppe

 

View solution in original post

Highlighted

Thank you @Giuseppe Larosa!

It's so kind of you.

Highlighted
Hall of Fame Master

Hello @ZC ,

you are welcome!

the  Cisco community forums are an excellent and friendly place to put questions.

 

Best Regards

Giuseppe