SlideShare a Scribd company logo
1 of 22
COMPUTER NETWORKS
1-1
Lecture 3
Analyzing components in N/W
• Previously discussed components are
– Sender
– Receiver
– Message
– Medium
– Protocol
– MUX/DEMUX
– Modem
– Transceiver (Optional)
1-2
3
Network Models
• Network models use layers to
describe networks
• Each layer describes the services
provided to the layer above it and
those required from the layer below
it
• It also describes the format of
exchanges between peer layers on
different network hosts
• Because the layers “stack” on top of
one another, we often refer to
network protocol “stacks” when we
talk about the implementation
Layer N
Layer N+1
Layer N-1
Layer N+1
Layer N
Layer N-1
Provides
Requires
Exchanges
 Building complex systems is
hard!
 Approach: “Divide and
conquer”.
 Split job into smaller jobs, or
layers.
Each step dependent on the previous step
but does not need to be aware of how the
previous step was done.
4
Analogy: Air Travel
• The problem: air travel.
• Decomposed into series of steps:
Arrival at airport
Check-in
Boarding
Takeoff
Departure from airport
Baggage claim (check out)
Deplane
Landing
Traveling
5
Tasks involved in sending a letter ( Ref Fourouzan )
Task of communication broken up into modules
6
Network Models
• The most well-known network
model is the OSI (Open Systems
Interconnect) Reference Model
defined and maintained by the
Organization for International
Standardization (ISO)
• It consists of seven layers,
numbered from the bottom
(closest the network) to the top
(closest the user)
Layer 1 – Physical
Layer 2 – Data Link
Layer 3 – Network
Layer 4 – Transport
Layer 5 – Session
Layer 6 – Presentation
Layer 7 – Application
7
The interaction between layers in the OSI model
Network
Subgroup
Layer 1,2
& 3
Transport
Subgroup
Layer 4
User
Subgroup
Layer
5,6,& 7
Intermediary Devices
Source Device Destination Device
On Intermediary Device Data Packet can not cross NETWORK
Subgroup,
Only on SENDING & RECEIVING Device Data Packet can cross all 7
Layers
On Sending device packet cross all 7 layers from top to bottom
(Application to Physical)
On Receiving device packet cross all 7 layers from bottom to top
(Physical to Application)
On Intermediary device packet cross only 3 layers from top to
bottom (Physical to Network & Network to Physical)
Encapsulation/Decapsulation
• At Sender Site, each layer add its own information to the data received from its upper
layer ( Called as HEADER). ( HEADER + DATA= DATA for next lower layer)
8
Encapsulation/Decapsulation
• This HEADER can be accessed (add/remove) only by specific layer
• At Receiver Site, This HEADER is removed ( on matching certain conditions) only by the
layer that has added the HEADER at sender site.
9
10
11
Each Layer in OSI model provides different SERVICES
12
OSI Reference Model
• Layer 1 – The Physical Layer
– Defines the type of media to be used
– What order are bits transmitted (if serial or parallel)?
– Data Rate or Transmission Rate
– Line Configuration (P2P / MP)
– Physical Topology
– Transmission Mode ( Simplex, Half/ Full Duplex )
– Defines representation of data on the medium
• Is a ‘0’ “high” or “low”, “on” or “off”?
Layer 1 – Physical
The physical layer is responsible for movements of
individual bits from one hop (node) to the next.
13
OSI Reference Model
• Layer 2 – The Data Link Layer
– Defines “right to transmit” rules (Access Control)
– Provides directly-connected hop-to-hop data transfer (Hop
to Hop / Node to Node Delivery)
– Defines higher-level structure of data (frames)
– Defines “physical” address structure for hosts (Physical
Addressing)
– Error Control
– Flow Control
Layer 1 – Physical
Layer 2 – Data Link
The data link layer is responsible for moving
frames from one hop (node) to the next.
14
OSI Reference Model
• Layer 3 – The Network Layer
– Provides end-host-to-end-host data transfer across multiple
data links (host to host/ source to destination delivery)
– Defines higher-level structure of data (packets)
– Defines “abstract” address structure for host (Logical
Addressing)
– Routing
– Delivery and Forwarding
Layer 1 – Physical
Layer 2 – Data Link
Layer 3 – Network
The network layer is responsible for the delivery of individual
packets from the source host to the destination host.
2.15
Figure 2.9 Source-to-destination delivery
Data Link Layer- Hop to Hop
Network Layer- Source to Destination
16
OSI Reference Model
• Layer 4 – The Transport
Layer
– Provides process-to-
process data transfer
– May provide for reliable
data transfer
– Defines higher-level
structure for data
(datagrams, streams, etc.)
– Defines “port” addresses
for services (processes)
Layer 1 – Physical
Layer 2 – Data Link
Layer 3 – Network
Layer 4 – Transport
The transport layer is responsible for the delivery of a message from
one process to another.
2.17
Figure 2.11 Reliable process-to-process delivery of a message
18
OSI Reference Model
• Layer 5 – The Session
Layer
– Provides a logically
persistent connection
between processes
– May involve user or host
authentication (login),
transaction encapsulation
(for database access), etc.
Layer 1 – Physical
Layer 2 – Data Link
Layer 3 – Network
Layer 4 – Transport
Layer 5 – Session
The session layer is responsible for dialog control and
synchronization.
19
OSI Reference Model
• Layer 6 – The
Presentation Layer
– Defines the network
representation of data
– Converts between the
network and host
representations of data
(ASCII/EBCDIC, byte order,
encryption, compression,
etc.)
Layer 1 – Physical
Layer 2 – Data Link
Layer 3 – Network
Layer 4 – Transport
Layer 5 – Session
Layer 6 – Presentation
The presentation layer is responsible for translation, compression,
and encryption.
20
OSI Reference Model
• Layer 7 – The Application
Layer
– Provides a portal for the
application to access the
network
– Describes the dialog
between two applications
communicating across the
network.
Layer 1 – Physical
Layer 2 – Data Link
Layer 3 – Network
Layer 4 – Transport
Layer 5 – Session
Layer 6 – Presentation
Layer 7 – Application
The application layer is responsible for providing services to the
user.
21
Summary of OSI Layers
• Thank You
• Discussion & Doubt session will be in
lecture.
• Delivered By: Akhilesh Kumar Singh
Important terms to keep in
mind
1. OSI model and services of
layers

More Related Content

Similar to osi model computer networks complete detail

Osi model(open system interconnection)
Osi model(open system interconnection)Osi model(open system interconnection)
Osi model(open system interconnection)
Dipu Thomas joy
 
BAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptxBAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptx
BapanKar2
 
OSI model
OSI modelOSI model
OSI model
DMMemon
 
open system interconnection referencemodel.ppt
open system interconnection referencemodel.pptopen system interconnection referencemodel.ppt
open system interconnection referencemodel.ppt
AnkitaAggarwal68
 
communication-protocols
 communication-protocols communication-protocols
communication-protocols
Ali Kamil
 

Similar to osi model computer networks complete detail (20)

Osi model
Osi modelOsi model
Osi model
 
Osi model(open system interconnection)
Osi model(open system interconnection)Osi model(open system interconnection)
Osi model(open system interconnection)
 
UNIT 3 -OSI Model.ppt
UNIT 3 -OSI Model.pptUNIT 3 -OSI Model.ppt
UNIT 3 -OSI Model.ppt
 
ch5-osi.pdf
ch5-osi.pdfch5-osi.pdf
ch5-osi.pdf
 
OSI Pankaj yadav
OSI  Pankaj yadavOSI  Pankaj yadav
OSI Pankaj yadav
 
ELEC2 - Lecture 1
ELEC2 - Lecture 1ELEC2 - Lecture 1
ELEC2 - Lecture 1
 
osi.ppt
osi.pptosi.ppt
osi.ppt
 
3. osi model
3. osi model3. osi model
3. osi model
 
BAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptxBAPANKAR15800121011 SOFT.pptx
BAPANKAR15800121011 SOFT.pptx
 
OSI model
OSI modelOSI model
OSI model
 
open system interconnection referencemodel.ppt
open system interconnection referencemodel.pptopen system interconnection referencemodel.ppt
open system interconnection referencemodel.ppt
 
Lecture 03
Lecture 03Lecture 03
Lecture 03
 
communication-protocols
 communication-protocols communication-protocols
communication-protocols
 
OSI Model
OSI ModelOSI Model
OSI Model
 
Osi model
Osi modelOsi model
Osi model
 
Osi model
Osi modelOsi model
Osi model
 
Osi model
Osi modelOsi model
Osi model
 
Pwani notes-Network Essentials.pp for Internet Protocoltx
Pwani notes-Network Essentials.pp  for Internet ProtocoltxPwani notes-Network Essentials.pp  for Internet Protocoltx
Pwani notes-Network Essentials.pp for Internet Protocoltx
 
Topology Chapter 2.pptx
Topology Chapter 2.pptxTopology Chapter 2.pptx
Topology Chapter 2.pptx
 
Computer network layers
Computer network layersComputer network layers
Computer network layers
 

More from Anonymous9etQKwW (11)

os distributed system theoretical foundation
os distributed system theoretical foundationos distributed system theoretical foundation
os distributed system theoretical foundation
 
CODch3Slides.ppt
CODch3Slides.pptCODch3Slides.ppt
CODch3Slides.ppt
 
IntroductoryPPT_CSE242.pptx
IntroductoryPPT_CSE242.pptxIntroductoryPPT_CSE242.pptx
IntroductoryPPT_CSE242.pptx
 
Intro.ppt
Intro.pptIntro.ppt
Intro.ppt
 
Big Data & Analytics (CSE6005) L6.pptx
Big Data & Analytics (CSE6005) L6.pptxBig Data & Analytics (CSE6005) L6.pptx
Big Data & Analytics (CSE6005) L6.pptx
 
Lecture 2 Hadoop.pptx
Lecture 2 Hadoop.pptxLecture 2 Hadoop.pptx
Lecture 2 Hadoop.pptx
 
mapreduceApril24.ppt
mapreduceApril24.pptmapreduceApril24.ppt
mapreduceApril24.ppt
 
ch7.ppt
ch7.pptch7.ppt
ch7.ppt
 
lecture 2.pptx
lecture 2.pptxlecture 2.pptx
lecture 2.pptx
 
Chap 4.ppt
Chap 4.pptChap 4.ppt
Chap 4.ppt
 
Artificial Neural Networks_Bioinsspired_Algorithms_Nov 20.ppt
Artificial Neural Networks_Bioinsspired_Algorithms_Nov 20.pptArtificial Neural Networks_Bioinsspired_Algorithms_Nov 20.ppt
Artificial Neural Networks_Bioinsspired_Algorithms_Nov 20.ppt
 

Recently uploaded

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 

osi model computer networks complete detail

  • 2. Analyzing components in N/W • Previously discussed components are – Sender – Receiver – Message – Medium – Protocol – MUX/DEMUX – Modem – Transceiver (Optional) 1-2
  • 3. 3 Network Models • Network models use layers to describe networks • Each layer describes the services provided to the layer above it and those required from the layer below it • It also describes the format of exchanges between peer layers on different network hosts • Because the layers “stack” on top of one another, we often refer to network protocol “stacks” when we talk about the implementation Layer N Layer N+1 Layer N-1 Layer N+1 Layer N Layer N-1 Provides Requires Exchanges  Building complex systems is hard!  Approach: “Divide and conquer”.  Split job into smaller jobs, or layers. Each step dependent on the previous step but does not need to be aware of how the previous step was done.
  • 4. 4 Analogy: Air Travel • The problem: air travel. • Decomposed into series of steps: Arrival at airport Check-in Boarding Takeoff Departure from airport Baggage claim (check out) Deplane Landing Traveling
  • 5. 5 Tasks involved in sending a letter ( Ref Fourouzan ) Task of communication broken up into modules
  • 6. 6 Network Models • The most well-known network model is the OSI (Open Systems Interconnect) Reference Model defined and maintained by the Organization for International Standardization (ISO) • It consists of seven layers, numbered from the bottom (closest the network) to the top (closest the user) Layer 1 – Physical Layer 2 – Data Link Layer 3 – Network Layer 4 – Transport Layer 5 – Session Layer 6 – Presentation Layer 7 – Application
  • 7. 7 The interaction between layers in the OSI model Network Subgroup Layer 1,2 & 3 Transport Subgroup Layer 4 User Subgroup Layer 5,6,& 7 Intermediary Devices Source Device Destination Device On Intermediary Device Data Packet can not cross NETWORK Subgroup, Only on SENDING & RECEIVING Device Data Packet can cross all 7 Layers On Sending device packet cross all 7 layers from top to bottom (Application to Physical) On Receiving device packet cross all 7 layers from bottom to top (Physical to Application) On Intermediary device packet cross only 3 layers from top to bottom (Physical to Network & Network to Physical)
  • 8. Encapsulation/Decapsulation • At Sender Site, each layer add its own information to the data received from its upper layer ( Called as HEADER). ( HEADER + DATA= DATA for next lower layer) 8
  • 9. Encapsulation/Decapsulation • This HEADER can be accessed (add/remove) only by specific layer • At Receiver Site, This HEADER is removed ( on matching certain conditions) only by the layer that has added the HEADER at sender site. 9
  • 10. 10
  • 11. 11 Each Layer in OSI model provides different SERVICES
  • 12. 12 OSI Reference Model • Layer 1 – The Physical Layer – Defines the type of media to be used – What order are bits transmitted (if serial or parallel)? – Data Rate or Transmission Rate – Line Configuration (P2P / MP) – Physical Topology – Transmission Mode ( Simplex, Half/ Full Duplex ) – Defines representation of data on the medium • Is a ‘0’ “high” or “low”, “on” or “off”? Layer 1 – Physical The physical layer is responsible for movements of individual bits from one hop (node) to the next.
  • 13. 13 OSI Reference Model • Layer 2 – The Data Link Layer – Defines “right to transmit” rules (Access Control) – Provides directly-connected hop-to-hop data transfer (Hop to Hop / Node to Node Delivery) – Defines higher-level structure of data (frames) – Defines “physical” address structure for hosts (Physical Addressing) – Error Control – Flow Control Layer 1 – Physical Layer 2 – Data Link The data link layer is responsible for moving frames from one hop (node) to the next.
  • 14. 14 OSI Reference Model • Layer 3 – The Network Layer – Provides end-host-to-end-host data transfer across multiple data links (host to host/ source to destination delivery) – Defines higher-level structure of data (packets) – Defines “abstract” address structure for host (Logical Addressing) – Routing – Delivery and Forwarding Layer 1 – Physical Layer 2 – Data Link Layer 3 – Network The network layer is responsible for the delivery of individual packets from the source host to the destination host.
  • 15. 2.15 Figure 2.9 Source-to-destination delivery Data Link Layer- Hop to Hop Network Layer- Source to Destination
  • 16. 16 OSI Reference Model • Layer 4 – The Transport Layer – Provides process-to- process data transfer – May provide for reliable data transfer – Defines higher-level structure for data (datagrams, streams, etc.) – Defines “port” addresses for services (processes) Layer 1 – Physical Layer 2 – Data Link Layer 3 – Network Layer 4 – Transport The transport layer is responsible for the delivery of a message from one process to another.
  • 17. 2.17 Figure 2.11 Reliable process-to-process delivery of a message
  • 18. 18 OSI Reference Model • Layer 5 – The Session Layer – Provides a logically persistent connection between processes – May involve user or host authentication (login), transaction encapsulation (for database access), etc. Layer 1 – Physical Layer 2 – Data Link Layer 3 – Network Layer 4 – Transport Layer 5 – Session The session layer is responsible for dialog control and synchronization.
  • 19. 19 OSI Reference Model • Layer 6 – The Presentation Layer – Defines the network representation of data – Converts between the network and host representations of data (ASCII/EBCDIC, byte order, encryption, compression, etc.) Layer 1 – Physical Layer 2 – Data Link Layer 3 – Network Layer 4 – Transport Layer 5 – Session Layer 6 – Presentation The presentation layer is responsible for translation, compression, and encryption.
  • 20. 20 OSI Reference Model • Layer 7 – The Application Layer – Provides a portal for the application to access the network – Describes the dialog between two applications communicating across the network. Layer 1 – Physical Layer 2 – Data Link Layer 3 – Network Layer 4 – Transport Layer 5 – Session Layer 6 – Presentation Layer 7 – Application The application layer is responsible for providing services to the user.
  • 22. • Thank You • Discussion & Doubt session will be in lecture. • Delivered By: Akhilesh Kumar Singh Important terms to keep in mind 1. OSI model and services of layers