The OSI Model
The Open Systems Interconnection (OSI) model is a conceptual framework that standardizes network communication. It divides the process into seven layers, each responsible for a specific set of functions.
From top to bottom: Application – provides network services to applications; Presentation – handles data representation; Session – manages connections between applications; Transport – ensures reliable or unreliable delivery of data segments; Network – routes packets based on IP addresses; Data Link – transmits frames within a local network; Physical – deals with the transmission medium (cables, wireless).
TCP/IP Suite
The Transmission Control Protocol/Internet Protocol (TCP/IP) suite is the dominant protocol stack used on the internet. It’s a collection of protocols working together to enable communication.
TCP provides reliable, connection-oriented data transfer; IP handles addressing and routing packets across networks. Other key protocols include UDP for faster but unreliable transmission and HTTP for web traffic.
TCP/IP = TCP + IP + other protocols
Routing and Switching
Routers connect different networks together, forwarding data packets based on their destination IP addresses. They use routing tables to determine the best path.
Switches operate within a single network, connecting devices and forwarding traffic based on MAC addresses. This creates more efficient local communication.
Packet Routing = Destination IP Address + Routing Table Lookup
Layered Communication
Data transmission involves passing information down through the layers of both the sending and receiving devices. Each layer adds its own header containing control information.
This layered approach allows for modularity, making it easier to update or replace individual protocols without affecting the entire network.
Frequently asked questions
What is a MAC address?
A Media Access Control (MAC) address is a unique hardware identifier assigned to a network interface card (NIC).
What’s the difference between TCP and UDP?
TCP provides reliable, connection-oriented communication; UDP offers faster but less reliable data transmission.
Why are networks layered?
Layering simplifies network design, maintenance, and allows for interoperability between different devices and protocols.
Try it live
Everything above runs in your browser — open SPH Fluid and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.
▶ Open SPH Fluid simulation