SlideShare uma empresa Scribd logo
1 de 8
Baixar para ler offline
© Peter R. Egli 2015
1/8
Rev. 3.70
OSI - Open Systems Interconnection indigoo.com
Peter R. Egli
INDIGOO.COM
OVERVIEW OF PROTOCOL LAYERING
AND OSI MODEL OF NETWORK STACKS
OSI
OPEN SYSTEMS
INTERCONNECTION
© Peter R. Egli 2015
2/8
Rev. 3.70
OSI - Open Systems Interconnection indigoo.com
Contents
1. Layering model
2. The 7 layers of OSI
3. Where the OSI stack resides in a real system
© Peter R. Egli 2015
3/8
Rev. 3.70
OSI - Open Systems Interconnection indigoo.com
1. Layering model (1/2)
Protocol layers logically communicate with their peers (horizontal communication).
Physically data units are passed between protocol layers (vertical communication).
Each protocol layer encapsulates an outbound data unit into a protocol specific packet, i.e.
adds a protocol specific header. Some protocols also add a trailer that usually contains some
kind of checksum.
Network Layer
Data Link Layer
Physical Layer
Transport Layer
Application Layer
Network Layer
Data Link Layer
Physical Layer
Transport Layer
Application Layer
Network PDU = Data Link SDU (=packet)
TPDU = Network SDU (=segment)
Data Link PDU (=frame)
APDU = Transport SDU
SDU Service Data Unit (data unit that a specific protocol layer provides as transport service)
PDU Protocol Data Unit (protocol header + payload = upper layer’s PDU)
APDU Application Protocol Data Unit
TPDU Transport Protocol Data Unit
Bit stream
APDU
APDUTH
APDUTHNH
DTDH APDUTHNH
© Peter R. Egli 2015
4/8
Rev. 3.70
OSI - Open Systems Interconnection indigoo.com
1. Layering model (2/2)
Depending on the type of a host either the full stack or only the lower layers are used:
Network Layer
Data Link Layer
Physical Layer
Transport Layer
Session Layer
Application Layer
Presentation Layer
Network Layer
Data Link Layer
Physical Layer
Data Link Layer
Physical Layer
Network Layer
Data Link Layer
Physical Layer
Network Layer
Data Link Layer
Physical Layer
Transport Layer
Session Layer
Application Layer
Presentation Layer
Transport protocol
Session protocol
Presentation protocol
Application protocol
Host, gateway Router Switch, hub,
bridge
Router Host, gateway
© Peter R. Egli 2015
5/8
Rev. 3.70
OSI - Open Systems Interconnection indigoo.com
Network Layer
Data Link Layer
Physical Layer
Transport Layer
Session Layer
Application Layer
Presentation Layer
Network Layer
Transport Layer
Application Layer
2. The 7 layers of OSI (1/2)
OSI (ISO/IEC 7498) was an attempt to combat the diversity of concepts and protocols.
The choice for 7 layers has many reasons, among others the fact that IBM‘s SNA also had
7 layers and that there were already 7 working groups at OSI so each group was assigned a
layer for definition.
OSI did not really catch on, but its basic concept of layering is useful for the taxonomy of
protocols (at which layer is a protocol and thus what is its function).
The session and presentation layers are almost always tightly coupled with the
application protocol and thus may simply be omitted (collapsed with the application layer).
OSI stack: Simplified OSI stack:
Data Link Layer
Physical Layer
© Peter R. Egli 2015
6/8
Rev. 3.70
OSI - Open Systems Interconnection indigoo.com
2. The 7 layers of OSI (2/2)
Each of the OSI layers performs a specific set of functions.
Network Layer
Data Link Layer
Physical Layer
Transport Layer
Session Layer
Application Layer
Presentation Layer
Performs application-specific functions like the exchange and execution of
application-commands.
Examples: HTTP, FTP, SMTP.
Performs conversion from application-specific data formats into a format that can be
understood by the remote application.
Examples: ASN.1, XML, EBCDIC, ASCII.
Controls (establish, manage, terminate) the dialogues (connections) between the peers.
Examples: RPC.
Provides transparent transfer of data units, possibly with some kind of quality of service.
Examples: TCP, UDP, SCTP.
Forwards a packet towards its destination based on a network address.
Examples: IP, IPX, AppleTalk DDP, X.25 packet layer.
Defines procedures for media access and framing of bits (start and end marking of
bit stream).
Examples: Ethernet, WLAN, ATM, Frame Relay.
Defines the characteristics of the bit stream on the physical medium (voltages,
frequencies, connector pinouts etc.).
Examples: RS-232, Ethernet, Bluetooth, SCSI.
© Peter R. Egli 2015
7/8
Rev. 3.70
OSI - Open Systems Interconnection indigoo.com
3. Where the OSI stack resides in a real system (1/2)
No system really implements protocols according to OSI. In reality the protocols (software
modules processing a protocol) are integrated into the operating system (e.g. Windows).
~Layer 3 & 4
~Layer 5 - 7
~Layer 1 & 2
Source: www.microsoft.com
© Peter R. Egli 2015
8/8
Rev. 3.70
OSI - Open Systems Interconnection indigoo.com
3. Where the OSI stack resides in a real system (2/2)
Linux Network Stack
Layer 3
Layer 5 - 7
Layer 1 & 2
Layer 4
Source: Understanding Linux
Network Internals, Christian Benvenuti,
2006, O’Reilly

Mais conteúdo relacionado

Destaque

Zigbee- The Future of Data Communications
Zigbee- The Future of Data CommunicationsZigbee- The Future of Data Communications
Zigbee- The Future of Data CommunicationsArkaprava Sadhu
 
CREATIVITY: Renew Your Thinking, Transform Your Life
CREATIVITY: Renew Your Thinking, Transform Your LifeCREATIVITY: Renew Your Thinking, Transform Your Life
CREATIVITY: Renew Your Thinking, Transform Your LifeEfiong Etuk
 
wireless network IEEE 802.11
 wireless network IEEE 802.11 wireless network IEEE 802.11
wireless network IEEE 802.11Shreejan Acharya
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocaltes31
 
LTE (Long Term Evolution) Introduction
LTE (Long Term Evolution) IntroductionLTE (Long Term Evolution) Introduction
LTE (Long Term Evolution) IntroductionGuisun Han
 

Destaque (6)

Zigbee- The Future of Data Communications
Zigbee- The Future of Data CommunicationsZigbee- The Future of Data Communications
Zigbee- The Future of Data Communications
 
IEEE 802.11
IEEE 802.11IEEE 802.11
IEEE 802.11
 
CREATIVITY: Renew Your Thinking, Transform Your Life
CREATIVITY: Renew Your Thinking, Transform Your LifeCREATIVITY: Renew Your Thinking, Transform Your Life
CREATIVITY: Renew Your Thinking, Transform Your Life
 
wireless network IEEE 802.11
 wireless network IEEE 802.11 wireless network IEEE 802.11
wireless network IEEE 802.11
 
Multiple Access Protocal
Multiple Access ProtocalMultiple Access Protocal
Multiple Access Protocal
 
LTE (Long Term Evolution) Introduction
LTE (Long Term Evolution) IntroductionLTE (Long Term Evolution) Introduction
LTE (Long Term Evolution) Introduction
 

Mais de Peter R. Egli

LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M ScenariosLPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M ScenariosPeter R. Egli
 
Data Networking Concepts
Data Networking ConceptsData Networking Concepts
Data Networking ConceptsPeter R. Egli
 
Communication middleware
Communication middlewareCommunication middleware
Communication middlewarePeter R. Egli
 
Transaction Processing Monitors (TPM)
Transaction Processing Monitors (TPM)Transaction Processing Monitors (TPM)
Transaction Processing Monitors (TPM)Peter R. Egli
 
Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Peter R. Egli
 
Microsoft .NET Platform
Microsoft .NET PlatformMicrosoft .NET Platform
Microsoft .NET PlatformPeter R. Egli
 
Overview of Cloud Computing
Overview of Cloud ComputingOverview of Cloud Computing
Overview of Cloud ComputingPeter R. Egli
 
MQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingMQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingPeter R. Egli
 
Enterprise Application Integration Technologies
Enterprise Application Integration TechnologiesEnterprise Application Integration Technologies
Enterprise Application Integration TechnologiesPeter R. Egli
 
Overview of Microsoft .Net Remoting technology
Overview of Microsoft .Net Remoting technologyOverview of Microsoft .Net Remoting technology
Overview of Microsoft .Net Remoting technologyPeter R. Egli
 
Android Native Development Kit
Android Native Development KitAndroid Native Development Kit
Android Native Development KitPeter R. Egli
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Peter R. Egli
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Peter R. Egli
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Peter R. Egli
 
MSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message QueueingMSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message QueueingPeter R. Egli
 
Common Object Request Broker Architecture - CORBA
Common Object Request Broker Architecture - CORBACommon Object Request Broker Architecture - CORBA
Common Object Request Broker Architecture - CORBAPeter R. Egli
 
Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)Peter R. Egli
 
JMS - Java Messaging Service
JMS - Java Messaging ServiceJMS - Java Messaging Service
JMS - Java Messaging ServicePeter R. Egli
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Peter R. Egli
 

Mais de Peter R. Egli (20)

LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M ScenariosLPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
 
Data Networking Concepts
Data Networking ConceptsData Networking Concepts
Data Networking Concepts
 
Communication middleware
Communication middlewareCommunication middleware
Communication middleware
 
Transaction Processing Monitors (TPM)
Transaction Processing Monitors (TPM)Transaction Processing Monitors (TPM)
Transaction Processing Monitors (TPM)
 
Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)
 
Microsoft .NET Platform
Microsoft .NET PlatformMicrosoft .NET Platform
Microsoft .NET Platform
 
Overview of Cloud Computing
Overview of Cloud ComputingOverview of Cloud Computing
Overview of Cloud Computing
 
MQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingMQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message Queueing
 
Enterprise Application Integration Technologies
Enterprise Application Integration TechnologiesEnterprise Application Integration Technologies
Enterprise Application Integration Technologies
 
Overview of Microsoft .Net Remoting technology
Overview of Microsoft .Net Remoting technologyOverview of Microsoft .Net Remoting technology
Overview of Microsoft .Net Remoting technology
 
Android Native Development Kit
Android Native Development KitAndroid Native Development Kit
Android Native Development Kit
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)
 
Web services
Web servicesWeb services
Web services
 
Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)Overview of Spanning Tree Protocol (STP & RSTP)
Overview of Spanning Tree Protocol (STP & RSTP)
 
MSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message QueueingMSMQ - Microsoft Message Queueing
MSMQ - Microsoft Message Queueing
 
Common Object Request Broker Architecture - CORBA
Common Object Request Broker Architecture - CORBACommon Object Request Broker Architecture - CORBA
Common Object Request Broker Architecture - CORBA
 
Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)
 
JMS - Java Messaging Service
JMS - Java Messaging ServiceJMS - Java Messaging Service
JMS - Java Messaging Service
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)
 

Último

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 

Último (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 

OSI Stack (Open Systems Interconnection)

  • 1. © Peter R. Egli 2015 1/8 Rev. 3.70 OSI - Open Systems Interconnection indigoo.com Peter R. Egli INDIGOO.COM OVERVIEW OF PROTOCOL LAYERING AND OSI MODEL OF NETWORK STACKS OSI OPEN SYSTEMS INTERCONNECTION
  • 2. © Peter R. Egli 2015 2/8 Rev. 3.70 OSI - Open Systems Interconnection indigoo.com Contents 1. Layering model 2. The 7 layers of OSI 3. Where the OSI stack resides in a real system
  • 3. © Peter R. Egli 2015 3/8 Rev. 3.70 OSI - Open Systems Interconnection indigoo.com 1. Layering model (1/2) Protocol layers logically communicate with their peers (horizontal communication). Physically data units are passed between protocol layers (vertical communication). Each protocol layer encapsulates an outbound data unit into a protocol specific packet, i.e. adds a protocol specific header. Some protocols also add a trailer that usually contains some kind of checksum. Network Layer Data Link Layer Physical Layer Transport Layer Application Layer Network Layer Data Link Layer Physical Layer Transport Layer Application Layer Network PDU = Data Link SDU (=packet) TPDU = Network SDU (=segment) Data Link PDU (=frame) APDU = Transport SDU SDU Service Data Unit (data unit that a specific protocol layer provides as transport service) PDU Protocol Data Unit (protocol header + payload = upper layer’s PDU) APDU Application Protocol Data Unit TPDU Transport Protocol Data Unit Bit stream APDU APDUTH APDUTHNH DTDH APDUTHNH
  • 4. © Peter R. Egli 2015 4/8 Rev. 3.70 OSI - Open Systems Interconnection indigoo.com 1. Layering model (2/2) Depending on the type of a host either the full stack or only the lower layers are used: Network Layer Data Link Layer Physical Layer Transport Layer Session Layer Application Layer Presentation Layer Network Layer Data Link Layer Physical Layer Data Link Layer Physical Layer Network Layer Data Link Layer Physical Layer Network Layer Data Link Layer Physical Layer Transport Layer Session Layer Application Layer Presentation Layer Transport protocol Session protocol Presentation protocol Application protocol Host, gateway Router Switch, hub, bridge Router Host, gateway
  • 5. © Peter R. Egli 2015 5/8 Rev. 3.70 OSI - Open Systems Interconnection indigoo.com Network Layer Data Link Layer Physical Layer Transport Layer Session Layer Application Layer Presentation Layer Network Layer Transport Layer Application Layer 2. The 7 layers of OSI (1/2) OSI (ISO/IEC 7498) was an attempt to combat the diversity of concepts and protocols. The choice for 7 layers has many reasons, among others the fact that IBM‘s SNA also had 7 layers and that there were already 7 working groups at OSI so each group was assigned a layer for definition. OSI did not really catch on, but its basic concept of layering is useful for the taxonomy of protocols (at which layer is a protocol and thus what is its function). The session and presentation layers are almost always tightly coupled with the application protocol and thus may simply be omitted (collapsed with the application layer). OSI stack: Simplified OSI stack: Data Link Layer Physical Layer
  • 6. © Peter R. Egli 2015 6/8 Rev. 3.70 OSI - Open Systems Interconnection indigoo.com 2. The 7 layers of OSI (2/2) Each of the OSI layers performs a specific set of functions. Network Layer Data Link Layer Physical Layer Transport Layer Session Layer Application Layer Presentation Layer Performs application-specific functions like the exchange and execution of application-commands. Examples: HTTP, FTP, SMTP. Performs conversion from application-specific data formats into a format that can be understood by the remote application. Examples: ASN.1, XML, EBCDIC, ASCII. Controls (establish, manage, terminate) the dialogues (connections) between the peers. Examples: RPC. Provides transparent transfer of data units, possibly with some kind of quality of service. Examples: TCP, UDP, SCTP. Forwards a packet towards its destination based on a network address. Examples: IP, IPX, AppleTalk DDP, X.25 packet layer. Defines procedures for media access and framing of bits (start and end marking of bit stream). Examples: Ethernet, WLAN, ATM, Frame Relay. Defines the characteristics of the bit stream on the physical medium (voltages, frequencies, connector pinouts etc.). Examples: RS-232, Ethernet, Bluetooth, SCSI.
  • 7. © Peter R. Egli 2015 7/8 Rev. 3.70 OSI - Open Systems Interconnection indigoo.com 3. Where the OSI stack resides in a real system (1/2) No system really implements protocols according to OSI. In reality the protocols (software modules processing a protocol) are integrated into the operating system (e.g. Windows). ~Layer 3 & 4 ~Layer 5 - 7 ~Layer 1 & 2 Source: www.microsoft.com
  • 8. © Peter R. Egli 2015 8/8 Rev. 3.70 OSI - Open Systems Interconnection indigoo.com 3. Where the OSI stack resides in a real system (2/2) Linux Network Stack Layer 3 Layer 5 - 7 Layer 1 & 2 Layer 4 Source: Understanding Linux Network Internals, Christian Benvenuti, 2006, O’Reilly