transport layer layer #4 (osi-rm). transport layer main function of osi transport layer: accept data...
TRANSCRIPT
![Page 1: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/1.jpg)
Transport LayerLayer #4 (OSI-RM)
![Page 2: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/2.jpg)
Transport Layer
Main function of OSI Transport layer:
Accept data from the Application layer and prepare it for addressing at the Network layer. The Transport layer is responsible for the overall end-to-end transfer of application data.
![Page 3: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/3.jpg)
Transport Layer
Functions of OSI Transport layer:
Segmentation of application data and reassemble these pieces into the various communication streams .
Enables multiple applications to communicate over the network at the same time on a single device.
Ensures that, if required, all the data is received reliably and in order by the correct application.
Employs error handling mechanisms.
![Page 4: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/4.jpg)
Transport Layer services
Two types of transport layer services:
Connection oriented Connection Establishment Reliable Data Transfer Connection Termination
Protocol example: TCP
Connectionless (datagram) Unreliable Data Transfer
Protocol example: UDP
![Page 5: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/5.jpg)
Transmission Control Protocol (TCP)
TCP is a connection-oriented protocol, described in RFC 793.
Functions of TCP:
1. Connection establishment2. Segmentation and reassembly of application data3. Multiplexing of more than one applications4. Error control5. Flow Control6. Connection termination
![Page 6: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/6.jpg)
TCP Header
![Page 7: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/7.jpg)
Connection establishment(Three way handshaking)
![Page 8: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/8.jpg)
Connection establishment
The 3 way handshake role: • 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.
• Informs the destination device that the source client intends to establish a communication session on that port number
![Page 9: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/9.jpg)
Connection termination(Four way handshaking)
![Page 10: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/10.jpg)
Segmentation and reassembly of application data
![Page 11: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/11.jpg)
Error Recovery (Reliability)
![Page 12: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/12.jpg)
Error Recovery (Reliability)
![Page 13: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/13.jpg)
TCP Congestion and Flow Control
![Page 14: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/14.jpg)
TCP Congestion and Flow Control
![Page 15: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/15.jpg)
Port addressing
Port numbers – unique application identifiers
• Well known ports (Numbers 0 to 1023) : Assigned by The Internet Assigned Numbers Authority (IANA)
• Registered Ports (Numbers 1024 to 49151)
• Dynamic or Private Ports: Also known as Ephemeral Ports (Numbers 49152 to 65535)
![Page 16: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/16.jpg)
TCP Ports
![Page 17: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/17.jpg)
UDP Ports
![Page 18: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/18.jpg)
TCP and UDP Protocols
![Page 19: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/19.jpg)
Socket
A socket is an IP address, a colon, and a port number.
Example: 128.171.17.13:80
For servers, specifies a specific application on a specific server.
For clients, specifies a specific connection on a specific client.
![Page 20: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/20.jpg)
Multiplexing of more than one applications
![Page 21: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/21.jpg)
User Datagram Protocol (UDP)
UDP is a simple, connectionless protocol, described in RFC 768. It has the advantage of providing for low overhead data delivery. The pieces of communication in UDP are called datagrams. These datagrams are sent as "best effort" by this Transport layer protocol
Functions of UDP:
1. Segmentation and reassembly of application data2. Multiplexing of more than one applications
![Page 22: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/22.jpg)
UDP Header
Applications that use UDP include:
Domain Name System (DNS)Video StreamingVoice over IP (VoIP)
![Page 23: Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing](https://reader035.vdocument.in/reader035/viewer/2022062314/56649e885503460f94b8cfe1/html5/thumbnails/23.jpg)
TCP/UDP Comparison
TCP UDP
Connection-oriented delivery Connectionless delivery, faster
Uses windows and ACKs No windows or ACKs
Full header Smaller header, less overhead
Sequencing No sequencing
Provides reliability Relies on app layer protocols for reliability
FTP, HTTP, SMTP, and DNS DNS, TFTP, SNMP, and DHCP