protocols and the tcp/ip suite lecture 12. overview requirement of protocol why layered approach is...

50
Protocols and the TCP/IP Suite Lecture 12

Upload: candice-chapman

Post on 28-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Protocols and the TCP/IP Suite

Lecture 12

Page 2: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol Architecture Addressing TCP/IP and OSI model General Networking Terminology

2

Page 3: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

The Need For Protocol Architecture

3

Page 4: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Functions of Protocol Architecture

breaks logic into subtask modules which are implemented separately

modules are arranged in a vertical stack each layer in the stack performs a subset of functions relies on next lower layer for primitive functions changes in one layer should not require changes in

other layers

4

Page 5: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Key Features of a Protocol A protocol is a set of rules or conventions

that allow peer layers to communicate. The key features of a protocol are:

5

Page 6: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

A Simple Protocol

6

Page 7: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Communication Layers communication tasks are organized into

three relatively independent layers:

Network access layer concerned with the exchange of data

Transport layer provides reliable data transfer

Application layer Contains logic to support applications

7

Page 8: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Network Access Layer covers the exchange of data between an end

system and the network that it is attached to concerned with issues like :

destination address provision invoking specific services like priority access to & routing data across a network for

two end systems attached to the same network

8

Page 9: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Transport Layer

9

Page 10: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Application Layer

10

Page 11: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Protocol Architecture and Networks

11

Page 12: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Protocols in a Simplified Architecture

12

Page 13: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

13

Page 14: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Addressing Two levels of addressing are needed:

14

Page 15: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Protocol Data Unit (PDU) the combination of data and control

information is a protocol data unit (PDU) typically control information is contained in a

PDU header control information is used by the peer

transport protocol at computer B headers may include:

source port, destination port, sequence number, and error-detection code

15

Page 16: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Network Access Protocol after receiving segment from transport layer,

the network access protocol must request transmission over the network the network access protocol creates a network

access PDU (packet) with control information header includes:

source computer address destination computer address facilities requests

16

Page 17: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

TCP/IP Protocol Architecture

17

Page 18: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

TCP/IP Layers and Example Protocols

18

Page 19: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Physical Layer covers the physical interface between

computer and network concerned with issues like:

characteristics of transmission medium nature of the signals data rates

19

Page 20: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Network Access Layer covers the exchange of data between an end

system and the network that it is attached to concerned with issues like :

destination address provision invoking specific services like priority access to & routing data across a network for

two end systems attached to the same network

20

Page 21: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Internet Layer

21

Page 22: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Host-to-Host (Transport) Layer

22

Page 23: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Operation of TCP/IP

23

Page 24: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

TCP/IP Address Requirements

Two levels of addressing are needed:

24

Page 25: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

TCP/IP Addressing

25

Page 26: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Operation of TCP/IP

26

Page 27: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Transmission Control Protocol (TCP)

TCP is the transport layer protocol for most applications

TCP provides a reliable connection for transfer of data between applications

A TCP segment is the basic protocol unit

TCP tracks segments between entities for duration of each connection

27

Page 28: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

TCP Header

28

Page 29: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

User Datagram Protocol(UDP) alternative to TCP does not guarantee delivery, preservation

of sequence, or protection against duplication

adds port addressing capability to IP used with Simple Network Management

Protocol (SNMP)

29

Page 30: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

UDP Header

30

Page 31: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

IPv6 Provides enhancements over existing IP Designed to accommodate higher speeds

and the mix of graphic and video data Driving force was the need for more

addresses due to growth of the Internet IPv6 includes 128-bit source and

destination address fields

31

Page 32: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

IPv6 Header

32

Page 33: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

TCP/IP Protocols

33

Page 34: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Standardized Protocol Architectures

34

Page 35: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Layer Specific Standards

35

Page 36: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

OSI Standardization framework for standardization was

motivator lower layers are concerned with greater

levels of details each layer provides services to the next

higher layer three key elements:

36

Page 37: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Primitive TypesREQUEST A primitive issued by a service user to invoke some

service and to pass the parameters needed to specify fully the requested service

INDICATION A primitive issued by a service provider either to: indicate that a procedure has been invoked by the peer service user on the connection and to provide the associated parameters, or notify the service user of a provider-initiated action

RESPONSE A primitive issued by a service user to acknowledge or complete some procedure previously invoked by an indication to that user

CONFIRM A primitive issued by a service provider to acknowledge or complete some procedure previously invoked by a request by the service user

37

Page 38: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Service Primitives and Parameters

define services between adjacent layers using: primitives to specify function performed parameters to pass data and control

information

38

Page 39: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Internet ApplicationsApplications that operate on top of TCP include:

39

Page 40: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Multimedia Terminology

40

Page 41: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Multimedia Terminology

41

Page 42: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Multimedia Applications

42

Page 43: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Domains of Multimedia Systems and Example Applications

43

Page 44: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Elastic and Inelastic Traffic

44

Page 45: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Multimedia Technologies

45

Page 46: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

46

Page 47: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Internetworking Terms End System (ES) – device used to support end-

user applications or services Intermediate System (IS) – device used to

connect two networks Bridge – an IS used to connect two LANs that

use similar LAN protocols Router - an IS used to connect two networks

that may or may not be similar

47

Page 48: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Functions of a Router Provide a link between networks Provide for the routing and delivery of data

between processes on end systems attached to different networks

Provide these functions in such a way as not to require modifications of the networking architecture of any of the attached subnetworks

48

Page 49: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Network Differences Routers Must Accommodate

Addressing schemes Different schemes for assigning addresses

Maximum packet sizes Different maximum packet sizes requires

segmentation Interfaces

Differing hardware and software interfaces Reliability

Network may provide unreliable service

49

Page 50: Protocols and the TCP/IP Suite Lecture 12. Overview Requirement of Protocol Why Layered Approach is Adopted Key Features of a Protocol Simple Protocol

Summary

50

Why we need protocols for communication Benefits of adopting layered approach From simple to featured protocol example Addressing schemes Standards Comparison (TCP/IP Vs. OSI) Functionality of and important device on

the basis of studied protocol