Layer 4 (Transport Layer) Flashcards
What is Flow Control?
Flow control is the process of adjusting the flow of data
from the sender. Ensures that the receiving host can handle it.
What is Session Multiplexing?
Session Multiplexing is the process which a host can support multiple session and manage individual traffic.
What are the two most commonly used protocols in the Layer 4?
TCP(Transmission Control Protocol)
UDP (User Datagram Protocol)
What does the Layer 4 do?
- Provides transparent transfer of data between host.
- It is responsible for end to end recovery, and flow control.
TCP is…
- Connection Oriented : Once a connection is established, data can be sent bi-directionally on that connection.
- Carries out sequencing: It ensures all segments get carried out in the correct order and none are missing.
- TCP IS RELIABLE
What is the TCP Header?
- Source Port (16 bits) / Destination Port (16 bits)
- Sequencing Number (32 bits)
- Acknowledgement Number (32 bits)
- a) Header length(4-bits)
b) Reserved (6-Bits)
c) Code Bits (6-Bits)
d) Window (16 bits) - Checksum (16 bits) / Urgent (16bits)
- Options (0 or 32 if any)
- Data (Varies)
What does the UDP do?
- Sends traffic at best effort
- Best usage is for low latency devices that reliability is not an issue.
UDP Is…
- Not connection oriented
- Does not carry out sequencing to ensure all segments are carried out in the correct order and if any are missing.
- Not Reliable
What is the UDP Header?
- Source Port / Destination Port
- Length / UDP Checksum
- Data
What are five common TCP applications and their port numbers?
- FTP (Port 21)
- SSH -Secure Shell (Port 22)
- Telnet (Port 23)
- HTTP (Port 80)
- HTTPS (Port 443)
What are two common UDP applications and their port numbers?
- TFTP (Port 69)
2. SNMP (Port 161)
TCP and UDP Applications…
DNS (Port 53)
What does TFTP stand for and What Port Number is it? Is it supported by TCP or UDP?
Trivial File Transfer Protocol
Port 69
It is supported by UDP.
What does SNMP stand for? What port number is it?
Simple Network Management Protocol
Port 161
It is supported by UDP.