Sei sulla pagina 1di 25

ISDS 7615/8615: Data Communications & Networking

OSI and TCP/IP models

Edited by Ted 2008 Copyright E. LeeTed E. Lee

Overview

Layered Approach and Encapsulation/Deencapsulation Network Software Protocol Hierarchies

Layers, services, protocols, and interfaces

Reference Models OSI TCP/IP Comparison/Critique

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

Layered Approach and Encapsulation/De-encapsulation

Example:
Sending a letter . .

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

Network Software Protocol Hierarchies

Layers, services, protocols, and interfaces.

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

Network Software Protocol Hierarchies

Layers, services, protocols, and interfaces.


Service
a set of primitives (operations) that a layer provides to layer above it (vertical relationships) a set of rules governing the format and meaning of packets or messages exchanged by peers (horizontal

Protocol

relationships between peers)

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

Network Software Protocol Hierarchies

The relationship between a service and a protocol.

Reference Models
Edited by Ted E. Lee Copyright 2008 Ted E. Lee
6

Network Software Protocol Hierarchies

Example information flow supporting virtual communication in layer 5.

Details
Edited by Ted E. Lee Copyright 2008 Ted E. Lee
7

Network Software Protocol Hierarchies

Basic idea: Layer 5 needs to know


how to use interface to Layer 4 content requirement for receiving Layer 5 User doesnt see beyond Layer 5 Source and destination layers of similar levels dont see whats going on between themselves Analogous to using telephone: You need to know

Transparency between layers


how to use telephone & receivers telephone number message content to send receiver The rest can be ignored
like foreign diplomacy of 17th century

Source-destination communication:

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

Network Software Protocol Hierarchies: The philosopher-translator-secretary architecture.

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

Next on the OSI reference model


9

The OSI reference model

Concepts central to the OSI model


Services Interfaces Protocols

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

10

The OSI Reference Model

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

11

The OSI Reference Model 1. Physical: How to use the medium

Protocols defining the electrical, mechanical, and procedural specifications for data transmission e.g., RS232-C specification for serial transmission Reliability of physical layer; error detection & control for point-to-point connections (next adjacent node) e.g., pre-determined frame layouts in an installed NIC.

2. Data link

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

12

Data Link Layer: Framing with counts A character stream separated by frame counts
(a) Without errors (b) With one error.

ERROR in count byte

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

Fram ing w / flags


13

Data Link Layer: Framing with flag bytes


(a) A frame delimited by flag bytes (byte stuffing).

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

14

The OSI Reference Model 3. Network: Choosing, starting, and terminating end-to-end
network connections along data route for a series of independent packets (connection-less) --transparently!

4. Transport:

Reliability between systems; error detection and control Ensures all of the packets are arriving in the proper order (connection-oriented, sequence numbers for packets) differentiates between applications at each end of a connection (e.g., Telnet and WWW sessions)
15

5. Session: Controls dialogue of a session

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

The OSI Reference Model 6. Presentation

Resolves differences in data syntax, format, and representation


E.g.,

data encryption/decryption protocols; encoding schemes from ASCII to EBCDIC

7. Application

Services for users program (not users ???)


E.g.

HTTP DNS (Domain Name Service) resolves a domain name to IP a specific IP address. FTP, Telnet
16

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

Data Format

Enabling Technology

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

17

The TCP/IP Reference Model

The TCP/IP reference model

Network Access (Host-to-network)

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

18

The TCP/IP Reference Model: Data Format and Protocols


c

TCP/IP Suite

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

19

The TCP/IP Reference Model: Initial protocols & networks

Protocols and networks in the TCP/IP model initially

Com paring OSI R eference M odels and TCP / I P M odels .


Edited by Ted E. Lee Copyright 2008 Ted E. Lee
20

Comparing OSI and TCP/IP Models

A Critique of the OSI Model and Protocols A Critique of the TCP/IP Reference Model

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

21

A Critique of the OSI Model and Protocols

Why OSI did not take over the world

Bad timing:

The TCP/IP protocols were already in widespread use by research universities by the time the OSI protocols appeared.

Bad technology (model and protocols)


Choice of 7 layers was more political than technical Two of the top layers (session and presentation) are nearly empty, whereas two other ones (data link and network) are overfull. Too complex to follow

Bad implementations (huge, unwieldy, slow) Bad politics


TCP/IP was thought of as part of UNIX (felt comfortable in academia) Considered as product of Europeans

mainly used for teaching or as a reference !!


Edited by Ted E. Lee Copyright 2008 Ted E. Lee
22

A Critique of the TCP/IP Reference Model

Problems

Service, interface, and protocol not distinguished Not a general model Network access layer is not really a layer No mention of physical and data link layers Minor protocols deeply entrenched, hard to replace

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

23

Hybrid Model

The hybrid reference model.

Edited by Ted E. Lee Copyright 2008 Ted E. Lee

24

The End Next time: Problem Solving and Network Management

Copyright 2008 Ted E. Lee

25

Potrebbero piacerti anche