the transport layer outline
play

THE TRANSPORT LAYER Outline Transport layer in the Internet - PowerPoint PPT Presentation

THE TRANSPORT LAYER Outline Transport layer in the Internet Multiplexing and demultiplexing UDP: User Datagram Protocol TCP: Transport Control Protocol General features TRANSPORT LAYER IN THE INTERNET In the


  1. THE TRANSPORT LAYER

  2. Outline à Transport layer in the Internet à Multiplexing and demultiplexing à UDP: User Datagram Protocol à TCP: Transport Control Protocol à General features

  3. TRANSPORT LAYER IN THE INTERNET

  4. In the Protocol Model Applica:on ¡ NFS ¡ Telnet ¡ FTP ¡ RTP ¡ Presenta:on ¡ XDR ¡ SMTP ¡ SNMP ¡ Session ¡ HTTP ¡ RPC ¡ Trasport ¡ TCP ¡ UDP ¡ Rou:ng ¡ protocols ¡ ¡ ¡ IGMP ¡ Network ¡ ICMP ¡ IP ¡ ARP ¡ Data ¡link ¡

  5. TCP and UDP à Alternative protocols à Different services à Reliable, connection oriented, byte streaming (TCP) à Best-effort datagram

  6. MULTIPLEXING AND DEMULTIPLEXING

  7. à Allow multiple applications to use communication services Applica'on ¡ Applica'on ¡ Applica'on ¡ Transport ¡ Transport ¡ Transport ¡ Network ¡ Network ¡ Network ¡ Data ¡Link ¡ Data ¡Link ¡ Data ¡Link ¡ Physical ¡ Physical ¡ Physical ¡

  8. Transport Ports Source ¡port ¡ Des'na'on ¡port ¡ Rest ¡of ¡header ¡ à O ... 1O23 Static/server ports à 1O24 ... 65535 Dynamic/ client ports

  9. Well Known Ports ¡Service ¡ ¡port ¡ ¡ ¡TCP ¡ ¡ ¡ ¡ ¡UDP ¡ Bp ¡ ¡21 ¡ ¡ ¡ ¡X ¡ smtp ¡ ¡25 ¡ ¡ ¡ ¡X ¡ hHp ¡ ¡80 ¡ ¡ ¡ ¡X ¡ pop ¡ ¡110 ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡X ¡ SMNP ¡ ¡161 ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡X ¡ DNS ¡ ¡53 ¡ ¡ ¡ ¡X ¡ ¡ ¡ ¡ ¡ ¡ ¡X ¡

  10. The Magic 5-tuple A communication is uniquely identified by à Source IP address à Destination IP address à Layer 4 protocol à Source port à Destination port

  11. UDP USER DATAGRAM PROTOCOL Initially specified in RFC 768

  12. In the Protocol Model Applica:on ¡ NFS ¡ Telnet ¡ FTP ¡ RTP ¡ Presenta:on ¡ XDR ¡ SMTP ¡ SNMP ¡ Session ¡ HTTP ¡ RPC ¡ Trasport ¡ TCP ¡ UDP ¡ Rou:ng ¡ protocols ¡ ¡ ¡ IGMP ¡ Network ¡ ICMP ¡ IP ¡ ARP ¡ Data ¡link ¡

  13. A Datagram Protocol à Connectionless à No initial handshaking needed à Each message is independent

  14. Best-effort Service à Messages may be à Lost à Delivered out of order Same service as IP ’ s?

  15. UDP Added Value à Multiplexing à Ports à Checksum to verify data integrity à Optional à No recovery

  16. No Flow/Congestion Control à No adaptation to network condition D Could lead to server congestion C It does not give in

  17. Why UDP? à No connection setup à Delay à Overhead à Simple à less resources à No connection state à Small message header à No congestion control

  18. Header Format 32 ¡bit ¡ Source ¡Port ¡ Des'na'on ¡Port ¡ Message ¡Length ¡ Checksum ¡ à Checksum and Source Port are optional à Set to zero if unused

  19. Use Cases à Reliable Network à NFS (Network File System) à Reliability not required à Periodic delivery à Media

  20. à Error recovery might be harmful à SNMP (Simple Network Management Protocol) à Data fits in one message à DNS (Domain Name Service)

  21. à Delivery time is crucial à Real-time à Media à Interactive à Not elastic à Media

  22. TCP TRANSPORT CONTROL PROTOCOL GENERAL FEATURES

  23. In the Protocol Model Applica:on ¡ NFS ¡ Telnet ¡ FTP ¡ RTP ¡ Presenta:on ¡ XDR ¡ SMTP ¡ SNMP ¡ HTTP ¡ Session ¡ RPC ¡ Trasport ¡ TCP ¡ UDP ¡ Rou:ng ¡ protocols ¡ ¡ ¡ IGMP ¡ Network ¡ ICMP ¡ IP ¡ ARP ¡ Data ¡link ¡

  24. Features à Connection oriented à Full-duplex à Byte-oriented à Reliable à All bytes received in the right order

  25. Use Cases Applications requiring reliability à FTP: File Transfer à SMTP, POP, IMAP: e-mail à HTTP: web

  26. Functionality à Error control à ARQ: Automatic Retransmission Request à Flow control à Congestion control à Elastic applications

  27. Functionality à Connection management à (De)multiplexing à Segmentation of data stream à No read/write correlation

  28. Complex è Costly à Connection state à Memory à Processing à Larger header à Transmission overhead

  29. Complex è Costly à Acknowledgements à Transmission overhead à Retransmission à Memory à Unnecessary retransmission à Transmission overhead

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend