Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

Similar documents
UDP: Datagram Transport Service

IP Address Assignment

Position of IP and other network-layer protocols in TCP/IP protocol suite

Internet Protocols (chapter 18)

Ch.7 Internet Protocol: Connectionless Datagram Delivery (IPv4, IPv6)

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

Chapter Motivation For Internetworking

INTERNET SYSTEM. Internet Protocol. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Large Scale Networking

Network Layer/IP Protocols

ET4254 Communications and Networking 1

Chapter 5 OSI Network Layer

Introduction to Internetworking

Lecture 9: Internetworking

User Datagram Protocol

Chapter 20 Network Layer: Internet Protocol 20.1

TCP /IP Fundamentals Mr. Cantu

Internet Protocol (IP)

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

IP : Internet Protocol

TCP/IP protocol suite

Introduction to TCP/IP networking

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

OSI Network Layer. Chapter 5

Goal of Today s Lecture. EE 122: Designing IP. The Internet Hourglass. Our Story So Far (Context) Our Story So Far (Context), Con t

Internetwork Protocols

Transport Layer Protocols TCP

The Transmission Control Protocol (TCP)

TCP/IP THE TCP/IP ARCHITECTURE

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

What is the difference between unicast and multicast? (P# 114)

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Introduction Layer 3. IP-Header: and RFC-760 Addressing schemes Subnetting Routing. Layer 3 Solution in Trains


EE 610 Part 2: Encapsulation and network utilities

The Interconnection Structure of. The Internet. EECC694 - Shaaban

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

ECE 4450:427/527 - Computer Networks Spring 2017

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

ECE 158A: Lecture 7. Fall 2015

Network Layer: Internet Protocol

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Lecture 8. Network Layer (cont d) Network Layer 1-1

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Ch.9 Internet Protocol: Error And Control Messages (ICMP)

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

THE TRANSPORT LAYER UNIT IV

Introduction to Networks and the Internet

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

II. Principles of Computer Communications Network and Transport Layer

CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS

CS 457 Networking and the Internet. Problems. Mechanisms 9/21/16. Fall 2016 Indrajit Ray

Novell TCP IP for Networking Professionals.

Internet Protocol version 6

IP - The Internet Protocol

COMP/ELEC 429/556 Introduction to Computer Networks

Chapter 7. Local Area Network Communications Protocols

Network Layer: Control/data plane, addressing, routers

Chapter 4 Network Layer: The Data Plane

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

SEN366 (SEN374) (Introduction to) Computer Networks

SEMESTER 1 Chapter 5 OSI Network Layer V What services does the network layer provide?

CMPE 80N: Introduction to Networking and the Internet

Network Layer (1) Networked Systems 3 Lecture 8

CS 3516: Advanced Computer Networks

The Internet Protocol (IP)

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

Networking interview questions

Communication Systems DHCP

The Internet. The Internet is an interconnected collection of netw orks.

CSCI Computer Networks Fall 2016

Network Basic v0.1. Network Basic v0.1. Chapter 3 Internet Protocol. Chapter 3. Internet Protocol

The Client Server Model and Software Design

EEC-484/584 Computer Networks

Vorlesung Kommunikationsnetze

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

INTRODUCTORY COMPUTER

Transport protocols Introduction

2/22/2008. Outline Computer Networking Lecture 9 IP Protocol. Hop-by-Hop Packet Forwarding in the Internet. Internetworking.

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

CS 455: INTRODUCTION TO DISTRIBUTED SYSTEMS [NETWORKING] Frequently asked questions from the previous class surveys

NT1210 Introduction to Networking. Unit 10

Packetization Layer Path Maximum Transmission Unit Discovery (PLPMTU) For IPsec Tunnels

Chapter 5 Network Layer

Transcription:

Introduction Datagram Forwarding Gail Hopkins Service paradigm IP datagrams Routing Encapsulation Fragmentation Reassembly Internet Service Paradigm IP Datagrams supports both connectionless and connection-oriented services fundamental delivery service is connectionless at the Internet layer (layer 3) optional reliable connection-oriented service is layered on top of this at the transport layer (layer 4) Packets of data are sent across multiple physical networks via routers Internet protocols define a universal virtual packet - the IP datagram IP datagram can be at most 64K octets, including header and data Routers and Routing Tables Example Internet and Conceptual Routing Table Each router forwards a virtual packet by using a local routing table Each entry is: destination address mask next hop IP address of a router or Deliver direct Then does address resolution 1

Example Routing Table Best-Effort Delivery IP attempts best effort delivery and does not guarantee to deal with: datagram duplication delayed or out of order delivery corruption of data datagram loss These issues are dealt with other protocol layers IP Datagram Header Format Encapsulation When an IP datagram is sent across a physical network it is placed in the data area of a frame and the frame type is set to IP Part 34 Internetworking Using MTU and Datagram Size Maximum transmission unit - max of data that a frame can carry on a given network A packet may have to cope with different MTU sizes as is passes over an internet 2

Fragmentation A datagram that is larger than MTU is fragmented into smaller datagrams Reassembly Is done at the final host routers require less state information fragments can take different routes Header fields indicate when the data is a fragment and also where it belongs Each datagram contains a fragment Whole datagram is lost if any fragment lost Summary Service paradigm IP datagrams Routing Encapsulation Fragmentation Reassembly Reading: Chapter 22, Computer Networks and Internets, Comer, 5 th Edition, 2009 Transport Layer Protocols - UDP Gail Hopkins Introduction UDP and TCP UDP communication semantics Broadcast/multicast UDP datagram format Transport Layer Protocols Layer 4 - layer above IP suite contains: User Datagram Protocol (UDP) The only connectionless transport service Best effort delivery Transport Control Protocol (TCP) Connection-based transport service Provides delivery guarantees 3

Transport Protocols and End-to- End Communication IP passes traffic across the Internet BUT, it cannot distinguish between multiple applications running on a network host Fields in the datagram header only identify computers IP addresses don t identify programs running on computers! IP (Layer 3) treats a computer as an endpoint of communication Layer 4 above - UDP/TCP known as end-to-end protocols because they allow an individual application to be an endpoint of communication User Datagram Protocol (UDP) End-to-end Connectionless Message-oriented Best-effort Arbitrary Interaction Operating System Independent The Connectionless Paradigm An application using UDP Doesn t need to establish a connection before sending data Doesn t need to inform the network when finished Can generate and send data any time Can delay an arbitrarily long time between transmission of two messages UDP Does not maintain state Does not use control messages Communication consists only of data messages themselves Extremely low overhead! Message-Oriented Interface When an application requests UDP to transmit a block of data UDP places data in a single message for transmission UDP doesn t divide a message into multiple packets UDP doesn t combine messages for delivery Data therefore has to fit into one message or application has to coordinate sending multiple messages Message-Oriented Interface Consequence for Programmers Applications that use UDP can depend on protocol to preserve data boundaries Each UDP message must fit into a single IP datagram Absolute limit on size UDP message size can lead to inefficient use of the underlying network Very small messages large ratio of header octets to data octets Very large messages if bigger than MTU, will be fragmented UDP Communication Semantics UDP provides applications with exactly the same best-effort delivery semantics as IP Therefore, messages can be: Lost Duplicated Delayed Delivered out-of-order Corrupted An application must either be immune to these problems, or the programmer must take additional steps to detect and correct problems Choice of using UDP depends on type of application! 4

Modes of Interaction and Broadcast Delivery UDP allows four styles of interaction: 1-1 1-many Multicast or broadcast Many-1 Many-many Endpoint Identification with Protocol Port Numbers UDP defines an abstract set of identifiers called protocol port numbers Independent of the underlying Operating System Each computer using UDP must provide a mapping between port number and program identifiers that the Operating System uses All computers running UDP recognise the standard port numbers Therefore, they know which program to pass the message on to based on port number UDP Datagram Format Each UDP message is called a user datagram Datagram consists of: Header Payload UDP Encapsulation Each UDP datagram is encapsulated in an IP datagram for transmission across the Internet: From Comer, 2009 From Comer, 2009 Summary Introduction to Transport Layer Protocols UDP and TCP UDP communication semantics Broadcast/multicast UDP datagram format Reading: Chapter 25, Computer Networks and Internets, Comer, 5 th Edition, 2009 5