+ All Categories
Home > Education > Dc lec-06 & 07 (osi model)

Dc lec-06 & 07 (osi model)

Date post: 09-Aug-2015
Category:
Upload: imsciences-peshawar
View: 121 times
Download: 0 times
Share this document with a friend
Popular Tags:
37
DATA DATA COMMUNICATION COMMUNICATION Lecture # 6 & Lecture # 6 & 7 7
Transcript
Page 1: Dc lec-06 & 07 (osi model)

DATA DATA COMMUNICATIONCOMMUNICATION

Lecture # 6 & 7Lecture # 6 & 7

Page 2: Dc lec-06 & 07 (osi model)

Recap of Lecture 05Recap of Lecture 05

• Protocols• Elements of Protocols• Standards• De-Jure• De-Facto

• Standard organizations• Internet Standards

Page 3: Dc lec-06 & 07 (osi model)

Overview of Lecture 6 & 7 Overview of Lecture 6 & 7

• The OSI Model• Layered task• Peer-to-Peer communication• OSI Layers

Page 4: Dc lec-06 & 07 (osi model)

THE OSI MODELTHE OSI MODEL• The layered model that dominated data communications and

networking literature before 1990 was the Open Systems Interconnection (OSI) model.

• Everyone believed that the OSI model would become the ultimate standard for data communications, but this did not happen.

• The TCPIIP protocol suite became the dominant commercial architecture because it was used and tested extensively in the Internet; the OSI model was never fully implemented.

• Established in 1947 by International Standards Organization (ISO)

• An ISO standard, that covers all aspects of network communications is the Open Systems Interconnection (OSI) model.

• It was first introduced in the late 1970s.• No physical existence, but it is conceptual that helps to

understand the complex methods of data transmission among various devices.

Page 5: Dc lec-06 & 07 (osi model)

THE OSI MODEL Help in THE OSI MODEL Help in Understanding Understanding

• How physically computers communicate and connect.

• How bits are presented in a network medium.• How this ensure that data will reach on the target

error free and it will be received by correct computer.

• How network devices communicate, and how data is converted from one format to another.

• How computer comes to know that when it should transmit the data and when not.

• How network devices maintain proper rate of data flow.

Page 6: Dc lec-06 & 07 (osi model)

Layered TasksLayered Tasks

• Sender, Receiver and Carrier

Page 7: Dc lec-06 & 07 (osi model)

Seven layers of the OSI model

Layered ArchitectureLayered Architecture

Page 8: Dc lec-06 & 07 (osi model)

Why layers ?Why layers ?

• Designer identified which networking functions had related uses and collected those functions into discrete groups that became the layers.

• The OSI model allows complete interoperability between otherwise incompatible systems.

• Each layer uses the services of the layer immediately below it and provides services to its above layer.

Page 9: Dc lec-06 & 07 (osi model)

Peer-to-peer ProcessesPeer-to-peer Processes

•Layer x on one machine communicates with layer x on another machine - called Peer-to-Peer Processes.

• Interfaces between Layers• Each interface defines what information and

services a layer must provide for the layer above it.

• Well defined interfaces and layer functions provide modularity to a network

Page 10: Dc lec-06 & 07 (osi model)

The interaction between layers in the OSI model

Peer-to-peer Processes (cont’d)Peer-to-peer Processes (cont’d)

Page 11: Dc lec-06 & 07 (osi model)

Organizations of the layersOrganizations of the layers

1. Network support layers : Layers 1, 2, 3

2. User support layer : Layer 5, 6, 7

• It allows interoperability among unrelated software systems

3. Transport layer (Layer 4) : links the two subgroups and ensures that what the lower layers have transmitted is in a form that the upper layers can use.

Page 12: Dc lec-06 & 07 (osi model)

An exchange using the OSI model

Page 13: Dc lec-06 & 07 (osi model)

OSI LayersOSI Layers

Page 14: Dc lec-06 & 07 (osi model)

Application LayerApplication Layer

• It enables the user, whether human or software, to access the network.

• It provides user interfaces and support for services such as • Electronic mail, • File Transfer, Access and management (FTAM), • Shared database management, • Network virtual terminal• Directory services (X.500)• and other types of distributed information

services.

Page 15: Dc lec-06 & 07 (osi model)

Application LayerApplication Layer

Page 16: Dc lec-06 & 07 (osi model)

Presentation LayerPresentation Layer

• The presentation layer is concerned with the syntax and semantics of the information exchanged between two systems.

• The presentation layer is responsible for; • Translation;

• At the sender end it changes the information from its sender-dependent format into a common format.

• At the receiving machine it changes the common format into its receiver-dependent format.

• Encryption; (for privacy)• The sender transforms the original information to another form and sends

the resulting message out over the network. • Decryption reverses the original process to transform the message back to

its original form.

• Compression;• Data compression reduces the number of bits contained in the information. • Important in the transmission of multimedia such as text, audio, and video.

Page 17: Dc lec-06 & 07 (osi model)

Presentation LayerPresentation Layer

Page 18: Dc lec-06 & 07 (osi model)

Session LayerSession Layer

• The session layer is responsible for dialog control and synchronization.

• Responsible for;

1. Session Creation,

2. Session Maintenance and

3. Synchronization.

Page 19: Dc lec-06 & 07 (osi model)

Session LayerSession Layer

• Allows two applications on different computers to establish, use and end a connection called a session.

• Provides synchronization between user tasks by placing checkpoints in the data stream.

• Also implements dialog control between communicating processes, regulating which side transmits, when, for how long, and so on.

Page 20: Dc lec-06 & 07 (osi model)

Session LayerSession Layer

Page 21: Dc lec-06 & 07 (osi model)

Transport LayerTransport Layer

The transport layer is responsible for the delivery of a message from one process (application) to another.

• This layer ensures that packets are delivered error free, in sequence, and with no losses or duplications.

• This layer repackages messages, dividing long messages into several packets to be transmitted efficiently over the network.

• At the receiving end, the transport layer unpacks the messages, resembles the original messages and typically sends an acknowledgement of receipt.

Page 22: Dc lec-06 & 07 (osi model)

Transport LayerTransport Layer

• Service port addressing

• Segmentation and reassembly

• Connection control

• Flow control

• Error control

Page 23: Dc lec-06 & 07 (osi model)

Transport LayerTransport Layer

Page 24: Dc lec-06 & 07 (osi model)

Transport LayerTransport Layer

Page 25: Dc lec-06 & 07 (osi model)

Network LayerNetwork Layer

• Responsible for the delivery of individual packets from the source host to the destination host possibly across multiple networks.

• Whereas the data link layer oversees the delivery of the packet between two systems on the same network

• Responsible for; • Logical addressing and translating it to physical

addresses.• Routing

• Route Determination• Forwarding (packet Switching)

• Packetizing

Page 26: Dc lec-06 & 07 (osi model)

Network LayerNetwork Layer

Page 27: Dc lec-06 & 07 (osi model)

Network LayerNetwork Layer

Page 28: Dc lec-06 & 07 (osi model)

Data Link LayerData Link Layer

•The data link layer is responsible for moving frames from one hop (node) to the next (immediate).

•On the receiving end, it packages raw bits from the physical layer into the data frames.

Page 29: Dc lec-06 & 07 (osi model)

Data Link LayerData Link Layer

•Major duties;• Responsible for Node-To-Node Delivery• Framing• Physical addressing (MAC)• Flow control (Stop & Wait, Sliding window)• Error control (Stop & Wait ARQ, Sliding window

ARQ)• Access control (ENQ/ACK, POLL/SELECT)

Page 30: Dc lec-06 & 07 (osi model)

Data Link LayerData Link Layer

Page 31: Dc lec-06 & 07 (osi model)

Data Link LayerData Link Layer

• Data Link Layer is sub-divided into two sub-layers, i.e.

1. Logical Link Control (LLC);• Responsible for establishing and maintaining links

(i.e. either logical or physical) between the communicating devices.

2. Media Access Control (MAC).• Controls the way in which multiple devices share the

same media channel.

Page 32: Dc lec-06 & 07 (osi model)

Data Link LayerData Link Layer• Hop-to-Hop (node-to-node) delivery

Page 33: Dc lec-06 & 07 (osi model)

Physical LayerPhysical Layer

• Physical layer coordinates the functions required to transmit a bit stream over a physical medium.

• It deals with the mechanical and electrical specifications of the interface and transmission medium.

• It also defines the procedures and functions that physical devices and interfaces have to perform for transmission to occur.

Page 34: Dc lec-06 & 07 (osi model)

Physical LayerPhysical Layer

• Physical layer is concerned with the following:• Physical characteristics of interfaces and

medium• Representation of bits / Encoding• Data rate : transmission rate• Synchronization of bits• Line configuration• Physical topology• Transmission mode• baseband and broadband transmissions• Multiplexing /De multiplexing

Page 35: Dc lec-06 & 07 (osi model)

Physical LayerPhysical Layer

Page 36: Dc lec-06 & 07 (osi model)

Summary of LayersSummary of Layers

Page 37: Dc lec-06 & 07 (osi model)

Suggested ReadingSuggested Reading

• Section

• 2.1,• 2.2,• 2.3,

• “Data Communications and Networking” 4th Edition by Behrouz A. Forouzan


Recommended