NETACAD 14 TRANSPORT LAYER Flashcards
Describe the transport layer and its function
The transport layer is the link between the application layer and the lower layers that are responsible for network transmission.
- The transport layer is responsible for logical communications between applications running on different hosts.
- Transport layer protocols specify how to transfer messages between hosts and is responsible for managing reliability requirements of a conversation.
- The transport layer is responsible for tracking conversations (sessions), segmenting data and reassembling segments, adding header information, identifying applications, and conversation multiplexing.
Describe UDP and give some applications that use it
UDP is stateless, fast, has low overhead, does not requires acknowledgments, do not resend lost data, and delivers data in the order it arrives. UDP reconstructs data in the order it is received, lost segments are not resent, no session establishment, and UPD does not inform the sender of resource availability. UDP header fields are Source and Destination Ports, Length, and Checksum. Applications that use UDP are DHCP, DNS, SNMP, TFTP, VoIP, and video conferencing.
Describe TCP, its header files and give some applications that use it
TCP is stateful, reliable, acknowledges data, resends lost data, and delivers data in sequenced order. Use TCP for email and the web. TCP establishes sessions, ensures reliability, provides same-order delivery, and supports flow control. A TCP segment adds 20 bytes of overhead as header information when encapsulating the application layer data. TCP header fields are the Source and Destination Ports, Sequence Number, Acknowledgment Number, Header Length, Reserved, Control Bits, Window Size, Checksum, and Urgent. Applications that use TCP are HTTP, FTP, SMTP, and Telne
What is the use of port numbers in TCP and UDP?
The TCP and UDP transport layer protocols use port numbers to manage multiple simultaneous conversations. This is why the TCP and UDP header fields identify a source and destination application port number.
Describe encapsulation in the transport layer
The source and destination ports are placed within the segment. The segments are then encapsulated within an IP packet. The IP packet contains the IP address of the source and destination.
What is a socket and what is its function
The combination of the source IP address and source port number, or the destination IP address and destination port number is known as a socket. The socket is used to identify the server and service being requested by the client.
Describe the range of port numbers and its division
There is a range of port numbers from 0 through 65535. This range is divided into groups: Well-known Ports, Registered Ports, Private and/or Dynamic Ports. There are a few Well-Known Port numbers that are reserved for common applications such at FTP, SSH, DNS, HTTP and others.
What is the functionality of Netsat
Sometimes it is necessary to know which active TCP connections are open and running on a networked host. Netstat is an important network utility that can be used to verify those connections.
What is the relationship between application processes and port numbers
Each application process running on a server is configured to use a port number. The port number is either automatically assigned or configured manually by a system administrator.
Describe TCP server processes
TCP server processes are as follows: clients sending TCP requests, requesting destination ports, requesting source ports, responding to destination port and source port requests.
Describe the exchanges necessary to terminate a single conversation supported by TCP
- Either the client or the server can initiate the termination.
- The three-way handshake establishes that the destination device is present on the network,
- verifies that the destination device has an active service and is accepting requests on the destination port number that the initiating client intends to use,
- and informs the destination device that the source client intends to establish a communication session on that port number.
What are the six control bits flags
URG, ACK, PSH, RST, SYN, and FIN.
Describe selective acknowledgement
Host operating systems today typically employ an optional TCP feature called selective acknowledgment (SACK), negotiated during the three-way handshake. If both hosts support SACK, the receiver can explicitly acknowledge which segments (bytes) were received including any discontinuous segments. The sending host would therefore only need to retransmit the missing data.
What is the importance of flow control and how is it achieved
Flow control helps maintain the reliability of TCP transmission by adjusting the rate of data flow between source and destination. To accomplish this, the TCP header includes a 16-bit field called the window size.
What is sliding windows
The process of the destination sending acknowledgments as it processes bytes received and the continual adjustment of the source’s send window is known as sliding windows.