OSI Reference Model Layered Communication Sritrusta Sukaridhoto OSI

  • Slides: 48
Download presentation
OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

OSI Reference Model & Layered Communication Sritrusta Sukaridhoto

OSI Layer n n Open Systems Interconnection for Communications There are 7 Layers 7,

OSI Layer n n Open Systems Interconnection for Communications There are 7 Layers 7, 6, 5 are oriented more toward services to the applications Layer 4, 3, 2, 1 are oriented more toward the flows data from end-to-end through network

7 Layer OSI

7 Layer OSI

How to Remember (CISCO) n n n n Please Do Not Throw Sousces Pizza

How to Remember (CISCO) n n n n Please Do Not Throw Sousces Pizza Away Physical Data Link Network Transport Session Presentation Application

Application Layer 7

Application Layer 7

Function & Description n An application that communicates with other computers is implementing OSI

Function & Description n An application that communicates with other computers is implementing OSI application layer concepts. Application layer refer to communications service to application.

Example n n n n Telnet HTTP FTP WWW Browser NFS SMTP Gateway SNMP

Example n n n n Telnet HTTP FTP WWW Browser NFS SMTP Gateway SNMP

Presentation Layer 6

Presentation Layer 6

Function & Description n n This layer main purpose is defining data format such

Function & Description n n This layer main purpose is defining data format such as ASCII text, EBCDIC text, binary, BCD, JPEG. Encryption is also defined by OSI as presentation layer service.

Example n n n n JPEG ASCII TIFF GIF PICT MPEG MIDI Encryption

Example n n n n JPEG ASCII TIFF GIF PICT MPEG MIDI Encryption

Session Layer 5

Session Layer 5

Function & Description n n This session layer defines how to start, control, and

Function & Description n n This session layer defines how to start, control, and end conversation (called session). This includes the control and management of multi bidirectional messages so that application can be notified if only some of a series of messages are completed.

Example n n n n RPC SQL NFS Netbios Names Apple. Talk ASP SCP

Example n n n n RPC SQL NFS Netbios Names Apple. Talk ASP SCP DECnet

Transport Layer 4

Transport Layer 4

Function & Description n Layer 4 includes the choice of protocols that either do

Function & Description n Layer 4 includes the choice of protocols that either do or do not provide error recovery. Multiplexing of incoming data for different flows to applications on the same host.

Example n n n TCP UDP SPX

Example n n n TCP UDP SPX

Network Layer 3

Network Layer 3

Function & Description n n This layer defines end-to-end delivery packets. To accomplish this,

Function & Description n n This layer defines end-to-end delivery packets. To accomplish this, the network layer defines logical addressing so that any endpoint can be identified. It also defines how routing works and how routes are learned so that the packets can be delivered Network layer also defines how to fragment a packet into smaller packets to accommodate media with smaller maximum transmission unit size

Example n n n IP IPX Apple. Talk DDP

Example n n n IP IPX Apple. Talk DDP

Data Link Layer 2

Data Link Layer 2

Function & Description n The data link specifications are concerned with getting data across

Function & Description n The data link specifications are concerned with getting data across one particular link or medium. The data link protocols define delivery across an individual link. These protocols are necessary concerned with the type of media in question.

Example n n n IEEE 802. 3/802. 2 HDLC Frame Relay PPP FDDI ATM

Example n n n IEEE 802. 3/802. 2 HDLC Frame Relay PPP FDDI ATM

Physical Layer 1

Physical Layer 1

Function & Description n Deal with the physical characteristics of the transmission medium, Connection

Function & Description n Deal with the physical characteristics of the transmission medium, Connection pins, use of pins, electrical currents, encoding and light modulation.

Example n n n Ethernet RJ-45 V. 35 FDDI EIA/TIA-232

Example n n n Ethernet RJ-45 V. 35 FDDI EIA/TIA-232

n n Some protocol define details of multiple layers. Example: NFS

n n Some protocol define details of multiple layers. Example: NFS

Benefit & Concept n n n Humans can discuss and learn about many details

Benefit & Concept n n n Humans can discuss and learn about many details of a protocol specification easier Standardized interfaces among layers Better environment for interoperability Reduce complexity, faster production Each layer can define header and trailers around the user data One layer use the services of the layer immediately below it.

Interaction Between OSI Layer

Interaction Between OSI Layer

On Same Computer

On Same Computer

n n n n Step 1 = Physical Layer, ensure bit synchronization Step 2

n n n n Step 1 = Physical Layer, ensure bit synchronization Step 2 = Data Link Layer, Frame Check Sequence (FCS) whether error occurred in transmission Step 3 = Network Layer, Exam address Step 4 = Transport Layer, acknowleadment Step 5 = Session Layer, to ensure that a series of messages is completed Step 6 = Presentation Layer, manipulate data format Step 7 = Application Layer, processes the final header and then can examine the true end-user data

Different Computer

Different Computer

Data Encapsulation

Data Encapsulation

5 Step Data Encapsulation n n Create the data Package the data for transport

5 Step Data Encapsulation n n Create the data Package the data for transport Add the destination network layer address to the data Add the destination data link address to the data Transmit the bit

Frames, Packets and Seqments

Frames, Packets and Seqments

n n n The layer 2 PDU (Protocol Data Unit) including the data link

n n n The layer 2 PDU (Protocol Data Unit) including the data link header and trailer = Frame The Layer 3 PDU = packet The Layer 4 PDU = seqment

OSI, TCP/IP

OSI, TCP/IP

OSI Transport Layer Function n Connection Oriented vs Connectionless Oriented

OSI Transport Layer Function n Connection Oriented vs Connectionless Oriented

Error Recovery

Error Recovery

Flow Control n n Flow control is the process of controlling the rate at

Flow Control n n Flow control is the process of controlling the rate at witch a computer sends data. Implementation: ¡ ¡ ¡ Buffering Congestion Avoidance Windowing

Buffering n Buffering simply means that computers reserve enough buffer space that bursts of

Buffering n Buffering simply means that computers reserve enough buffer space that bursts of incoming data can be held until processed

Congestion Avoidance

Congestion Avoidance

Windowing

Windowing

Data Link Function n MAC = Media Access Control n CSMA/CD = Carrier Sense

Data Link Function n MAC = Media Access Control n CSMA/CD = Carrier Sense Multiple Access/Collision Detect

OSI Network Layer Function n Routing ¡ ¡ ¡ n Sending data to a

OSI Network Layer Function n Routing ¡ ¡ ¡ n Sending data to a nearby Router Routing data Across Network Delivering Data to End Destination Addressing

Summary n n n n Application (Layer 7) User Interface Telnet, HTTP Application (Layer

Summary n n n n Application (Layer 7) User Interface Telnet, HTTP Application (Layer 6) How data is presented JPEG, ASCII Session (Layer 5) Keeping data separate from different application OS, application access scheduling Transport (Layer 4) Reliable or unreliable delivery, Multiplexing TCP, UDP, SPX Network (Layer 3) Logical addressing, Routing IP, IPX Data Link (Layer 2) MAC, error detection 802. 3/802. 2, HDLC Physical (Layer 1) Devices Ethernet, V. 35