22
Ch 2. Network Models

Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Embed Size (px)

Citation preview

Page 1: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Ch 2. Network Models

Page 2: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

1. LAYERED TASKS

• Concept of layers– Consider two friends who communicate through mail– What happens when one sends a letter to the other?– Or when one calls to the other?

Page 3: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Tasks Involved in Sending a Letter

Page 4: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

2. The OSI Model

• International Standards Organization (ISO)– Established in 1947 – Multinational body dedicated to worldwide

agreement on international standards– An ISO standard that covers all aspects of network

communications is the Open Systems Interconnection (OSI) model

– The model was first introduced in the late 1970s

Page 5: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

OSI 7 Layer Model OSI model is NOT a

protocol. It aims to “show” how to facilitate communications between systems

Layered architecture

Well-defined interface between each pair of adjacent layers provide “modularity” to network system

Use

r sup

port

Net

wor

k su

ppor

t

Link

Page 6: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Interaction between Layers

Page 7: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Message Exchange in OSI Model

Encapsulations

Page 8: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Physical (PHY) Layer• Responsible for movements of individual

bits from one node to the corresponding other(s)– Physical characteristics of interfaces and

medium– Representation of bits (encoding)– Data rate– Synchronization– Line configuration (point-to-point, multipoint)– Topology (mesh, star, ring, bus, …)– Transmission mode (simplex, half-duplex, …)

Application

Presentation

Session

Transport

Network

Data Link

Physical

Page 9: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Physical (PHY) Layer

At sender At receiver

Page 10: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Data Link Layer• Responsible for moving frames from one

node to the corresponding other(s) – Framing (Divides the strep into data units)– Physical addressing (of the sender/receiver)– Flow control (avoid overwhelming)– Error control (detect damaged/lost frames)– Access control

Application

Presentation

Session

Transport

Network

Data Link

Physical

Page 11: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Data Link Layer

At sender At receiver

Page 12: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Hop-to-hop delivery

• PHY and data link layers responsible for one-hop (or hop-to-hop) delivery

Page 13: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Network Layer• Responsible for the delivery of

individual packets from the source node to the destination node(s) (but, it may not guarantee the delivery!)– Logical addressing (of the sender/receiver)– Routing

Application

Presentation

Session

Transport

Network

Data Link

Physical

Page 14: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Network Layer

At sender At receiver

Page 15: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Allow End-to-end Delivery

Page 16: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Transport Layer• Responsible for reliable delivery from

one process to another– Service-point (port) addressing– Segmentation and reassembly – Connection control

• Connectionless, or connection-oriented

– End-to-end flow control– End-to-end error control

Application

Presentation

Session

Transport

Network

Data Link

Physical

Page 17: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Transport Layer

At sender At receiver

Page 18: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Processes in a Host Node

• Process-to-process delivery– Multiplex (mux) and de-multiplex (demux)

Page 19: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Session Layer

• Responsible for dialog control and synchronization

Application

Presentation

Session

Transport

Network

Data Link

Physical

At sender At receiver

Page 20: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Presentation Layer• Responsible for translation,

compression and encryption

Application

Presentation

Session

Transport

Network

Data Link

Physical

At sender At receiver

Page 21: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Application Layer• Responsible for providing service to

user

Application

Presentation

Session

Transport

Network

Data Link

Physical

At sender At receiver

Page 22: Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to

Summary