SlideShare une entreprise Scribd logo
1  sur  8
Télécharger pour lire hors ligne
© 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

Contenu connexe

En vedette

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
 

En vedette (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
 

Plus 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
 

Plus 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)
 

Dernier

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Dernier (20)

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
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
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

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