McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 11 User Datagram Protocol (UDP)

Slides:



Advertisements
Similar presentations
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Advertisements

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 11 User Datagram Protocol (UDP)
UNIT 07 Process – to – Process Delivery: UDP,TCP and SCTP
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 8 Address Resolution Protocol.
TCP/IP Protocol Suite 1 Chapter 7 Upon completion you will be able to: ARP and RARP Understand the need for ARP Understand the cases in which ARP is used.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Application Layer PART VI.
Chapter 14 User Datagram Program (UDP)
TCP/IP Protocol Suite 1 Chapter 11 Upon completion you will be able to: User Datagram Protocol Be able to explain process-to-process communication Know.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 7 Internet Protocol Version4.
Ch 23 1 Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007 Ameera Almasoud.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 Chapter 24 TCP/IP.
Process-to-Process Delivery:
Process-to-Process Delivery:
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 9 Internet Control Message.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 2 The OSI Model and TCP/IP Protocol Suite.
Chapter 23 TCP/IP Overview Network Layer Transport Layer Application Layer WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
Chapter 11 User Datagram Protocol (UDP)
Hyung-Min Lee©Networking Lab., 2001 Chapter 11 User Datagram Protocol (UDP)
TCP/IP: Basics1 User Datagram Protocol (UDP) Another protocol at transport layer is UDP. It is Connectionless protocol i.e. no need to establish & terminate.
User Datagram Protocol (UDP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 27 Mobile IP.
TCP/IP Illustracted Vol1. 제목 : IP Routing ( 수 ) 한 민 규
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 15 Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv6.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.6 UDP Principles (Chapter 24) (User Datagram Protocol)
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 9 Internet Control Message Protocol (ICMP)
User Datagram Protocol (UDP) Chapter 11. Know TCP/IP transfers datagrams around Forwarded based on destination’s IP address Forwarded based on destination’s.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 13 Routing Protocols (RIP, OSPF, BGP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 12 Transmission Control Protocol (TCP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Transmission Control Protocol (TCP)
23.1 Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 19 Network Layer Protocols Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 13 The Internet.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 8 Address Resolution Protocol.
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 12 Transmission Control Protocol (TCP)
TCP/IP Protocol Suite 1 Chapter 11 Upon completion you will be able to: User Datagram Protocol Be able to explain process-to-process communication Know.
1 IP Checksum Calculation At the sender r Set the value of the checksum field to 0. r Divide the header into 16-bit words m Add all segments using one’s.
1 Kyung Hee University Chapter 11 User Datagram Protocol.
UDP: User Datagram Protocol Chapter 12. Introduction Multiple application programs can execute simultaneously on a given computer and can send and receive.
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 14 User Datagram Protocol (UDP) Introduction  Responsibilities of Transport Layer to create a process-to-process communication l using.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Process-to-Process Delivery:
TCP/IP Protocol Suite 1 Chapter 10 Upon completion you will be able to: Internet Group Management Protocol Know the purpose of IGMP Know the types of IGMP.
Chapter 11 User Datagram Protocol
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Chapter 19 Network Layer Protocols
Chapter 8 ARP(Address Resolution Protocol)
Process-to-Process Delivery, TCP and UDP protocols
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
Internet Control Message Protocol
Chapter 14 User Datagram Program (UDP)
TCP Transport layer Er. Vikram Dhiman LPU.
User Datagram Protocol (UDP)
Chapter 14 User Datagram Protocol (UDP)
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Internet Control Message Protocol Version 4 (ICMPv4)
Process-to-Process Delivery:
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Chapter 14 User Datagram Program (UDP)
Internet Control Message Protocol
Process-to-Process Delivery: UDP, TCP
UDP Principles (Chapter 24) (User Datagram Protocol)
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Presentation transcript:

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 11 User Datagram Protocol (UDP)

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CONTENTS PROCESS-TO-PROCESS COMMUNICATION USER DATAGRAM CHECKSUM UDP OPERATION USE OF UDP UDP PACKAGE

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 11-1 Position of UDP in the TCP/IP protocol suite

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 PROCESS TO PROCESS COMMUNICATION 11.1

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 11-2 UDP versus IP

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 11-3 Port numbers

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 11-4 IP addresses versus port numbers

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 11-5 IANA ranges

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 11-6 Socket addresses

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 USER DATAGRAM 11.2

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 11-7 User datagram format

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 UDP length  IP length  IP header’s length

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CHECKSUM 11.3

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 11-8 Pseudoheader added to the UDP datagram

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure 11-9 Checksum calculation of a simple UDP user datagram

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 UDP OPERATION 11.4

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure Encapsulation and decapsulation

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure Queues in UDP

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure Multiplexing and demultiplexing

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 USE OF UDP 11.5

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 UDP PACKAGE 11.6

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Figure UDP package

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 StateProcess IDPort NumberQueue Number IN-USE2,34552,01034 IN-USE3,42252,011 FREE IN-USE4,65252,01238 FREE Control-block table at the beginning

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 1 The first activity is the arrival of a user datagram with destination port number 52,012. The input module searches for this port number and finds it. Queue number 38 has been assigned to this port, which means that the port has been previously used. The input module sends the data to queue 38. The control-block table does not change.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 2 After a few seconds, a process starts. It asks the operating system for a port number and is granted port number 52,014. Now the process sends its ID (4,978) and the port number to the control-block module to create an entry in the table. The module does not allocate a queue at this moment because no user datagrams have arrived for this destination

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 StateProcess IDPort NumberQueue Number IN-USE2,34552,01034 IN-USE3,42252,011 IN-USE4,97852,014 IN-USE4,65252,01238 FREE Modified table after Example 2

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 3 A user datagram now arrives for port 52,011. The input module checks the table and finds that no queue has been allocated for this destination since this is the first time a user datagram has arrived for this destination. The module creates a queue and gives it a number (43).

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 StateProcess IDPort NumberQueue Number IN-USE2,34552,01034 IN-USE3,42252,01143 IN-USE4,97852,014 IN-USE4,65252,01238 FREE Modified table after Example 3

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 4 After a few seconds, a user datagram arrives for port 52,222. The input module checks the table and cannot find the entry for this destination. The user datagram is dropped and a request is made to ICMP to send an “unreachable port” message to the source.

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Example 5 After a few seconds, a process needs to send a user datagram. It delivers the data to the output module which adds the UDP header and sends it.