Dissection of a TCP Segment



Dissection of a TCP Segment

Dissection of a TCP Segment

🔥SMASH👊 THAT🤜 LIKE👍 BUTTON🔥 and don’t forget🤦♀️ to 👍subscribe🔔🔥
https://sharelearn.net/googleitsupport
Use above link to earn a certificate or quizzes and supplementary reading.

36 Dissection of a TCP Segment
The Basics of Networking Devices
Google IT Support Professional Certificate | The Bits and Bytes of Computer Networking Course Introduction
#networking #computernetworking #network

An IP datagram encapsulates a TCP segment. Remember that an Ethernet frame has a payload section, which is really just the entire contents of an IP datagram. Remember also that an IP datagram has a payload section, and this is made up of what’s known as a TCP segment. A TCP segment is made up of a TCP header and a data section. This data section as you might guess, is just another payload area for where the application layer places it’s data. A TCP header itself is split into lots of fields containing lots of information. First, we have the source port and the destination port fields. The destination port is the port of the service the traffic is intended for, which we talked about in the last video. A source port is a high numbered port chosen from a special section of ports known as ephemeral ports. We’ll cover ephemeral ports in more detail in a little bit. For now, it’s enough to know that a source port is required to keep lots of outgoing connections separate. You know how a destination port, say port 80 is needed to make sure traffic reaches a web server running on a certain IP? Similarly, a source port is needed so that when the web server replies, the computer making the original request can send this data to the program that was actually requesting it. It is in this way that when a web server responds to your request to view a web page, that this response gets received by your web browser and not your word processor. Next up is a field known as the sequence number. This is a 32-bit number that’s used to keep track of where in a sequence of TCP segments this one is expected to be. You might remember that lower on our protocol stack, there are limits to the total size of what we send across the wire. An Ethernet frame is usually limited in size to 1,518 bytes, but we usually need to send way more data than that. At the transport layer, TCP splits all of this data up into many segments. The sequence number in a header is used to keep track of which segment out of many, this particular segment might be. The next field, the acknowledgment number is a lot like the sequence number. The acknowledgment number is the number of the next expected segment. In very simple language, a sequence number of one and an acknowledgment number of two could be read as this is Segment 1, expect Segment 2 next. The data offset field comes next. This field is a four-bit number that communicates how long the TCP header for this segment is. This is so that the receiving network device understands where the actual data payload begins. Then, we have six bits that are reserved for the six TCP control flags. The next field is a 16-bit number known as the TCP window. A TCP window specifies the range of sequence numbers that might be sent before an acknowledgment is required. TCP is a protocol that’s super reliant on acknowledgments. This is done in order to make sure that all expected data is actually being received, and that the sending device doesn’t waste time sending data that isn’t being received. The next field is a 16-bit checksum. It operates just like the checksum fields at the IP and Ethernet level. Once all of a segment has been ingested by recipient, the checksum is calculated across the entire segment and is compared with the checksum in the header to make sure that there was no data lost or corrupted along the way. The urgent pointer field is used in conjunction with one of the TCP control flags to point out particular segments that might be more important than others. This is a feature of TCP that hasn’t really ever seen adoption, and you’ll probably never find it in modern networking. Even so, it’s important to know what all sections of the TCP header are. Next up, we have the options field. Like the urgent pointer field, this is rarely used in real world. But it’s sometimes used for more complicated flow control protocols. Finally, we have some padding, which is just a sequence of zeros to ensure that the data payload section begins at the expected location.

This video is part of a series where we bring the best videos to you, we have made some modifications to this video.
The creator of this course is Google
As per the Coursera FAQ section of the Google IT Support Professional Certificate:
content in the Google IT Support Professional Certificate is licensed under a Creative Commons Attribution 4.0 International License.

This video is for information purposes only
This is not affiliated with Google
Note: We earn a commission when you click on the link and or buy .

Comments are closed.