Networking and OSI Basics

2020-11-07 · Linux
networkingosi-modeldhcpmacipdnsarpprotocoltcp-ip

Networking and OSI Basics

How does the internet work?

The OSI Model

The Open Systems Interconnection (OSI) model explains how data travels across networks in 7 layers:

Layer 7 - Application


Key Protocols

DHCP (Dynamic Host Configuration Protocol)


Automatically assigns IP addresses to devices on a network.

DNS (Domain Name System)


Translates domain names (google.com) to IP addresses.

ARP (Address Resolution Protocol)


Maps IP addresses to MAC addresses on local networks.

MAC Addresses


Physical hardware addresses, unique to each network interface.

IP Addresses


Logical addresses for routing between networks.

How Data Travels

1. Application creates data
2. Data is segmented and given port numbers
3. IP addresses are added for routing
4. MAC addresses are added for local delivery
5. Data becomes electrical/optical signals
6. Process reverses at destination

Interactive Version

For a more hands-on learning experience: https://www.hackers-game.com/2020/11/07/networking-and-osi-basics/

Watch on YouTube

View in Interactive Desktop App