OSI Flashcards
What are the 7 layers of the OSI model ?
7 Application
6 Presentation
5 Session
4 Transport
3 Network
2 Data Link
1 Physical
What does OSI model stand for ?
Open Systems Interconnection Model
Application Layer (Layer 7)
- Layer closest to the end user
- Interacts with software applications such as a web browser (doesn’t include the application itself, only the protocols that interact with the application)
- HTTP and HTTPS are layer 7 protocols
Presentation Layer (Layer 6)
Data in the Application Layer is in “application format”. It needs to be translated into a different format to be sent over the network. The Presentation Layer’s job is to translate between application and network formats. One example is encryption of data as it is sent and decryption of data as it is recieved. It also translates between different application layer formats.
Session Layer (Layer 5)
- Controls dialogues (sessions) between communicating hosts
- Establishes, manages, and terminates connections between the local application (ex: your browser) and the remote application (ex: YouTube)
Transport Layer (Layer 4)
- Segments and Reassembles data for communications between end hosts
- Breaks large pieces of data into smaller segments which can be more easily sent over the network and are less likely to cause transmisison problems if errors occur
- Provides host to host communication
Data + L4 Header is called a ‘Segment’
Network Layer (Layer 3)
- Provides connectivity between end hosts on different networks (outside of the LAN)
- Provides logical addressing (IP Addresses)
- Provides path selection between source and destination
- Routers operate at Layer 3
Data + L4 Header + L3 Header is called a ‘Packet’
Data Link Layer (Layer 2)
- Provides node to node connectivity and data transfer (PC to switch, switch to router, etc)
- Defines how data is formatted for transmission over a physical medium
- Detects and possibly corrects Physical Layer errors
- Uses Layer 2 addressing
- Switches operate at Layer 2
L2 Trailer + Data + L4 Header + L3 Header + L2 Header is called a ‘Frame’
Physical Layer (Layer 1)
- Defines physical characteristics of ther medium used to transfer data between devices
- Ex: voltage levels, max transmission distances, physical connectors, cable specifications, etc
- Digital bits are converted into electrical or radio (wired / wireless connections)
This process of wrapping data in several layers of protocol information as its being sent over a network is called ?
Encapsulation
Removing layers of protocol information, so a destination device can read the original data is called ?
Decapsulation
What are the Protocol Data Units (PDUs) ?
Data = ‘Data’
Data + L4 Header = ‘Segment’
Data + L4 Header + L3 Header = ‘Packet’
L2 Trailer + Data + L4 Header + L3 Header + L2 Header = ‘Frame’
‘Bit’ (Layer 1)
TCP/IP Suite
4 Application (OSI Layers 7-5)
3 Transport (OSI Layer 4)
2 Internet (OSI Layer 3)
1 Link (OSI Layer 2-1)