Computer Networking: Encapsulation and Decapsulation
TCP/IP Model vs. OSI Model
TCP/IP Model
The sender sends from Layer 4 down to Layer 1
The recipient receives on Layer 1 up to Layer 4
TCP/IP was developed in the 1970s, and has four layers
|| || || S || E || N || D || E || R || v |
^ R || E || C || I || P || I || E || N || T || |
||
4 |
Application | ||
3 | Transport | ||
2 | Internet | ||
1 | Network | ||
Example shows how multiple segments of networking data are nested to form a complete Ethernet frame
https://tldp.org/LDP/tlk/net/net.html
OSI Model
The sender sends from Layer 7 down to Layer 1
The recipient receives on Layer 1 up to Layer 7
OSI was developed in the 1980s, and has seven layers
Computer networking is a complex topic, with many technologies, parts, and protocols that make all the magic happen.
By breaking up the many parts of computer networking into more layers, we are abstracting the problem into smaller chunks. And, breaking a problem into smaller chunks makes it much simpler to engineer solutions and fix issues as the needs arise.
|| || || S || E || N || D || E || R || v |
7 |
Application |
^ R || E || C || I || P || I || E || N || T || |
6 |
Presentation |
||
5 | Session | ||
4 | Transport | ||
3 | Network | ||
2 | Datalink | ||
1 | Physical |