OSI means Open System Interconnection.
Definition
- A model for understanding and designing a network architecture that is flexible, robust, and interoperable
- It is not a protocol
- It is a guideline
Purpose
To show how to facilitate communication between different systems without requiring changes to the logic of the underlying hardware and software.
Layers in the OSI Model
- Application Layer
- Presentation Layer
- Session Layer
- Transport Layer
- Network Layer
- Data Link Layer
- Physical Layer
Please Do Not Throw Sausage Pizza Away
Example
Application Layer
my password is nesoacademy989#
Presentation Layer
Modifies or converts the content into a specified format.
ofrgrudiofbrd*gbrjkvd
Session Layer
Carries out session activity.
ofrgrudiofbrd*gbrjkvd
Transport Layer
Adds transport layer information.
TL INFO - ofrgrudiofbrd*gbrjkvd
Network Layer
Adds network layer information.
NL INFO - TL INFO - ofrgrudiofbrd*gbrjkvd
Data Link Layer
Adds data link layer information.
DL INFO - NL INFO - TL INFO - ofrgrudiofbrd*gbrjkvd
Physical Layer
Converts the data to bits to be sent.
010110001001101010100110011110010010
- This layer knows the medium
- If the medium is air, it converts the bits into waves
- If the medium is cable, it converts the bits into electrical signals
Application Layer
Enables the user to access network resources.
Services provided:
- File Transfer and Access Management, or FTAM
- Mail Services
- Directory Services
Presentation Layer
Concerned with the syntax and semantics of the information exchanged between two systems.
Services provided:
- Translation: Converts the data from the sender into a format that all devices accept
- Encryption: Converts plain text into unreadable text. Only the sender and receiver can understand it through decryption
- Compression: Reduces the number of bits in the information, such as multimedia messages with audio and video
Session Layer
Establishes, maintains, and synchronizes the interactions among communicating devices.
Services provided:
- Dialog Control: Allows two devices to enter a dialog. A dialog is communication between two processes in half-duplex, full-duplex, one-way, or two-way communication
- Synchronization: Inserts a checkpoint in large files to make sure that files are sent correctly. The receiver confirms what it received. The sender and receiver must have a good relationship for the sender to provide valuable information to the receiver
Transport Layer
Responsible for the delivery process of the entire message.
Services provided:
- Port Addressing: Provides the path for devices to exchange port numbers for data transportation
- Segmentation and Reassembly: Segments data when it is too large and reassembles the data after it reaches the receiver
- Connection Control: Lets the devices select a connection type from the switching chapter
- End-to-End Flow Control: Lets the sender and receiver agree on a common speed for sending and receiving data
- Error Control: Checks for transmission errors
Network Layer
Responsible for delivering data from the original source to the destination network.
Services provided:
- Logical Addressing: Helps the router identify the source and destination IP Address
- Routing: Finds the best route for packet transmission
Data Link Layer
Responsible for moving data, or frames, from one node to another node.
Services provided:
- Framing: Groups a sequence of bits as a Frame
- Physical Addressing: Includes the source MAC Address and destination MAC Address
- Flow Control: A duty of the Data Link Control sublayer and a speed-matching mechanism
- Error Control: Identifies broken frames
- Access Control: When two or more devices connect to the same link, Data Link protocols find which device controls the link at that time
Sublayer of the Data Link Layer
Physical Link Layer
- Responsible for transmitting bits over a medium
- Provides electrical and mechanical specifications
Services provided:
- Physical Characteristics of the Media: Defines the type of media
- Representation of Bits: Defines the type of encoding
- Data Rate: Defines the transmission rate, or number of bits each second
- Synchronization of Bits: Keeps the clocks of the sender and receiver synchronized
- Line Configuration: Defines a point-to-point or point-to-multipoint configuration
- Physical Topology: Defines how devices connect in a star, ring, or mesh topology