The OSI Model#
The OSI model is one of the fundamental understandings of how networks work. It is a model of 7 layers (or 5 if you’re lucky), with the top layer being the most human-readable, and the bottom layer being purely electronics. When data is transferred across a network, it is all done at the bottom level, but having multiple layers allow us to encapsulate (down) or decapsulate (up) data whereby we don’t need to understand how every layer works.
The Layers#
As mentioned above, there are 7 layers in the OSI model. From top - down, these are:
7 Application Layer
6 Presentation Layer
5 Session Layer
4 Transport Layer
3 Network Layer
2 Data Link Layer
1 Physical layer
Application Layer#
HTTP, FTP, SMTP, POP3, IMAP
Presentation Layer#
SSL, TLS
HTTP 80 HTTPS 443
FTP 21 FTPS 990
SMTP 25 SMTPS 465
POP3 110 POP3S 995
IMAP 143 IMAPS 993
Session Layer#
Transport Layer#
TCP, UDP
Network Layer#
IPv4, IPv6, , ARP, ICMP, routing
Data Link Layer#
https://en.wikipedia.org/wiki/IEEE_802
MAC, ARP Is actually made up of 2 sub layers
LLC: Logical Link Controller. Used for encapsulation
MAC: Media Access Control
IEE 802.?
?
LLC (not a thing any more)
Ethernet (3u:Fast Ethernet, 3z:gigabit over firbre, 3ab:Gigabit over copper, 3ae:10GB over Fibre)
Token Bus (not a thing any more)
Token Ring MAC Layer (not a thing any more)
MANs (not a thing any more)
Broadband over Co-AX (not a thing any more)
Fibre Optic TAG (not a thing any more)
Integrated Services LAN (not a thing any more)
Interoperable LAN Security (not a thing any more)
Wireless
100BaseVG (not a thing any more)
Reserved for Fast Ethernet…. isnt that in 3 now?
Cable Modems (not a thing any more)
Bluetooth (Well.. PAN)
802.3#
Unicast - 1 to one on MAC
Broadcast - 1 to all
Multicast - 1 to group
ARP - Address Resolution Protocol
Store and forward switch - get the whole frame then forward after. Can run the checks
Cut through - Send as you get it, faster but cant check
Fragment free - send in 64bite groups
Physical layer#
Ethernet, Wi-Fi, Fibre, RS232, Pigeon etc 1,0,1,1,0,1,0,0