SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
© 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

Más contenido relacionado

Destacado

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
 

Destacado (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
 

Más 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
 

Más 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

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 

Último (20)

Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 

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