NetFlow
Networking Concepts
NetFlow
βŒ•

Learn Networking
Fundamentals

A fluid, interactive guide to how devices connect and share data. Hover elements to explore β€” no clicking needed.

β—Œ

Nothing found

Try "router", "protocol", or "duplex"

01

Networking Basics

⬑
Networking is simply devices talking to each other to share data.

The Highway Analogy: Think of a city's transportation system. Houses are the computers, roads are the physical cables or Wi-Fi waves, and the cars driving between them are the data packets being shared.

πŸ’» Node

Any physical device connected to the network. If it can send or receive data, it is a node.

Examples: Your phone, a laptop, a smart fridge, or a printer.

〰️ Communication Link

The actual physical or invisible pathway the data travels across to get from one Node to another.

Examples: Copper Ethernet cables, Fiber Optic glass cables, or Wi-Fi radio waves.

🀝 Client-Server Model

This is the foundational relationship of the modern internet. It's a simple request-and-reply system.

  • Client: The device asking for information (e.g., You opening the Instagram app on your phone).
  • Server: A powerful, always-on computer that holds the information and serves it back to the client (e.g., Meta's massive data centers sending the photos to your screen).
⚑ Quick Check β€” Basics
What term describes any physical device (like a smartphone or printer) connected to a network?
Communication Link
Node
Protocol
Server
02

Network Devices

The Golden Rule: End devices consume or create data. Intermediary devices transport data safely to its destination.

β—« End Devices (Hosts)

The starting line and finish line for all data.

  • Desktops / Laptops
  • Smartphones / Tablets
  • Smart TVs / Security Cameras
  • Web Servers

⇄ Intermediary Devices

The traffic cops. Hover to reveal what they do.

⬑ Switch β€Ί

The Building Mailroom: Connects devices within the same local network (like a single office). It learns exactly which computer is plugged into which port to prevent traffic jams.

⟿ Router β€Ί

The Global Post Office: Connects different networks together (like connecting your home network to the entire Internet). It calculates the absolute fastest path to get data across the globe.

πŸ“‘ Access Point (AP) β€Ί

The Wireless Bridge: Acts as an antenna, allowing wireless devices (like your phone) to connect to a physical, wired network using Wi-Fi.

🧱 Firewall β€Ί

The Bouncer: Sits between your private network and the wild internet, blocking malicious traffic and hackers based on strict security rules.

⚑ Quick Check β€” Devices
Which intermediary device is responsible for connecting your home network to the outside Internet?
Switch
Router
Access Point
End Device
03

Network Metrics & Traits

A "good" network isn't just fast. Engineers design networks to excel in these four major areas. Hover each to explore.

β™‘

Fault Tolerance

Surviving failures. If an excavator accidentally cuts a major internet cable, a fault-tolerant network instantly reroutes traffic through a different path (like a GPS finding a detour).

β€’

Scalability

Room to grow. A scalable network lets a company add 1,000 new computers tomorrow without causing the internet for the existing computers to slow to a crawl.

β—‰

Quality of Service (QoS)

Prioritizing traffic. QoS gives "VIP" status to live Zoom calls, ensuring they don't stutter just because someone else in the house is downloading a massive 50GB video game.

βŠ›

Security (CIA Triad)

Confidentiality (only authorized people read it), Integrity (data is not altered by hackers in transit), and Availability (the network is online when needed).

🏎️ Performance: Speed vs. Reality

Understanding how we measure network performance.

  • Bandwidth: The absolute maximum potential speed of a cable. (Analogy: The number of lanes on a highway). Measured in Megabits per second (Mbps).
  • Throughput: The actual, real-world speed you get after traffic jams and network overhead. (Analogy: How fast the cars are actually moving today). Always lower than Bandwidth.
  • Latency (Ping): The time it takes for a tiny piece of data to travel from point A to point B. Measured in milliseconds (ms). High latency causes "lag" in gaming and voice calls!
⚑ Quick Check β€” Metrics
You are playing an online game, but there is a noticeable delay between pressing a button and the action happening on screen. Which metric is currently performing poorly?
Bandwidth
Throughput
Latency (Ping)
Fault Tolerance
04

Data Flow Directions

How data moves between two points. Watch the live animations below to understand the differences.

Simplex

One-way street. The sender can only send, and the receiver can only receive. Data never flows backward.

Example: Keyboard β†’ PC
⌨
πŸ’»

Half-Duplex

One-lane bridge. Data travels in both directions, but only one at a time. If both devices send at once, a collision happens.

Example: Walkie-Talkies ("Over!")
πŸ“»
πŸ“»

Full-Duplex

Two-way highway. Data travels in both directions simultaneously at full speed without any collisions.

Example: Phone Call
πŸ“ž
πŸ“ž
⚑ Quick Check β€” Data flow
A police officer uses a radio to communicate. They must press a button to speak and release it to listen. What type of data flow is this?
Simplex
Half-Duplex
Full-Duplex
05

Protocols (The Rules)

⊟

What is a protocol? Imagine two humans trying to talk; they must agree on a language (English) and rules (don't speak at the same time). For computers, a Protocol is a strict set of rules defining exactly how data is formatted and sent.

β‡Ά Delivery Methods

Who is the message for?

  • Unicast (1-to-1): Sending to exactly one specific device. (Analogy: A private text message).
  • Multicast (1-to-Many): Sending to a specific, subscribed group. (Analogy: A group chat).
  • Broadcast (1-to-All): Shouting to absolutely every device on the local network. (Analogy: A PA announcement).

πŸ“š Famous Protocols

The languages of the internet.

  • HTTP/HTTPS: Rules for transferring web pages securely.
  • TCP: The "Reliable Courier". It double-checks that data arrived perfectly, and resends it if lost. Used for Emails and Web browsing.
  • UDP: The "Fast Courier". It throws data at the receiver instantly without checking if it arrived. Used for Live Video and Gaming where speed matters more than perfection.
⚑ Quick Check β€” Protocols
You are streaming a live sports game. If a tiny piece of data gets lost, it's better to just skip it rather than pause the whole game to resend it. Which protocol is best for this?
HTTP
TCP
UDP
06

Types of Networks

Networks are categorized primarily by the geographical distance they cover.

🏠 LAN (Local Area Network)

A network contained in a small, single physical location. Your house, a coffee shop, or a single office building is a LAN.

Devices here usually share one Router to reach the outside world.

🌍 WAN (Wide Area Network)

A massive network spanning vast distancesβ€”cities, countries, or the globe. A WAN is essentially thousands of LANs connected together.

The Internet is the largest WAN in existence.

πŸ“± Other Network Types β€Ί
  • WLAN (Wireless LAN): A LAN that uses Wi-Fi instead of physical cables.
  • PAN (Personal Area Network): Very short range around a single person (e.g., Bluetooth earbuds to a phone).
  • MAN (Metropolitan Area Network): Covers an entire city or a massive university campus.
  • VPN (Virtual Private Network): A secure, encrypted "tunnel" over a public network (like the Internet). It tricks your computer into acting like it's securely inside your office's LAN, even if you are at a coffee shop.
⚑ Quick Check β€” Network Types
The computers and printers inside a single small office building are connected to form a...
LAN
WAN
PAN
VPN
07

IP, MAC & Ports

Just like sending a physical letter, data needs a precise address to reach its destination. Computers actually use three layers of addressing to find you.

🏷️ MAC Address (Physical)

Analogy: The permanent VIN Number of your car.

  • Permanent: Burned into your device's hardware chip at the factory. It never changes.
  • Scope: Used only for local delivery inside your own house/LAN.
  • Format: Hexadecimal pairs (e.g., 00:1A:2B:3C:4D:5E)

πŸ“ IP Address (Logical)

Analogy: Your street address or current parking spot.

  • Temporary: Assigned by the network you connect to. It changes if you take your laptop to a coffee shop.
  • Scope: Used to route data globally across the entire Internet.
  • IPv4 vs IPv6: IPv4 (e.g., 192.168.1.15) ran out of numbers. IPv6 is the modern, longer replacement.

πŸšͺ Port Numbers (The Apartment Number)

If the IP Address gets the data to the correct Apartment Building (your computer), the Port Number gets it to the correct Apartment Room (your application).

When data arrives at your PC, how does it know to go to Google Chrome instead of your Spotify app? Ports! (e.g., Port 80 is for Web Traffic, Port 443 is for secure HTTPS, Port 25 is for Email).

⚑ Quick Check β€” Addressing
You pack up your laptop and move from your home Wi-Fi to a library's Wi-Fi. Which address changes to reflect your new location?
MAC Address
IP Address
Port Number
None of them change
08

Public vs. Private IPs (NAT)

Have you ever wondered how 15 devices in your home all share one single internet connection? The answer is NAT.

🎭

NAT (Network Address Translation): The internet ran out of IPv4 addresses. To solve this, NAT was invented. It allows your home Router to act as a middleman.

The Corporate Office Analogy: A business only has one public phone number (Your Public IP). When you call outside, the Caller ID shows that main number. But inside the building, every desk has a private extension like "101" or "102" (Your Private IPs). NAT is the receptionist routing the calls to the right internal desk.

🏑 Private IP

  • Used exclusively inside your LAN.
  • Completely invisible to the outside internet.
  • Given to you by your local Router.
  • Often starts with 192.168.x.x or 10.x.x.x.

🌐 Public IP

  • Used globally on the WAN (Internet).
  • Visible to every website you visit.
  • Given to your Router by your Internet Provider (ISP).
  • There is only one per household!
⚑ Quick Check β€” NAT
Which IP address is entirely invisible to the outside internet and only works inside your home network?
Public IP Address
Private IP Address
09

How the Internet Works

🏒

The Corporate Building Analogy: To use a network, you need an ID badge, and you need a directory to find people. Two critical invisible services handle this for you automatically.

🎫 DHCP (The Receptionist)

Dynamic Host Configuration Protocol

When you connect to Wi-Fi, you need an IP address to communicate. You don't type one in manually; DHCP hands it to you.

Analogy: Walking into a building and the Receptionist hands you a temporary visitor badge so you are allowed inside.

πŸ“– DNS (The Phonebook)

Domain Name System

Computers only understand numbers (IP Addresses like 142.250.190.46). Humans prefer words (google.com). DNS translates human words into computer numbers instantly.

Analogy: Looking up a friend's name in your phone's contacts to find their actual phone number.

⚑ Quick Check β€” Services
You type "netflix.com" into your browser. Which service works behind the scenes to find the actual IP address for Netflix?
DHCP
DNS
VPN
TCP
10

Network Topologies

Topology is the "map" or physical layout of how devices are wired together. Hover each to reveal detailed diagrams, pros, and cons.

⭐ Star Topology β€Ί
πŸ’»
πŸ–¨οΈ
πŸ’»
πŸ’»

Concept: All devices connect individually to a central hub or switch (like spokes on a wheel). This is the standard for modern homes and offices.

  • βœ… Pros: Easy to setup. If one computer's cable breaks, only that computer loses connection.
  • ❌ Cons: Single point of failure. If the central switch dies, the entire network fails.
πŸ•ΈοΈ Mesh Topology β€Ί
πŸ’»
πŸ’»
πŸ’»
πŸ’»

Concept: Every single device has a direct, dedicated cable connecting it to every other device on the network.

  • βœ… Pros: Unbeatable fault tolerance. If cables break, data automatically routes around them.
  • ❌ Cons: Incredibly expensive and messy to run that many cables. Used mostly for core internet infrastructure.
βž– Bus Topology β€Ί
πŸ’»
πŸ–¨οΈ
πŸ’»

Concept: An older design where all devices share one single main backbone cable (the "bus").

  • βœ… Pros: Very cheap to install. Uses the least amount of cable.
  • ❌ Cons: If the main central cable gets cut, the entire network goes offline. High chance of data collisions.
⚑ Quick Check β€” Topologies
Which topology connects all computers to a single, central Switch?
Mesh Topology
Bus Topology
Star Topology
11

The OSI Model Layers

πŸ₯ž

How a click becomes electricity. The OSI model is a 7-layer theoretical blueprint. It explains the exact journey data takes from your screen, down into physical electricity on a cable, and back up to an app on a friend's screen.

7. Application DATA
6. Presentation DATA
5. Session DATA
4. Transport SEGMENTS
3. Network PACKETS
2. Data Link FRAMES
1. Physical BITS (0s & 1s)

Layer Breakdown: Hover over each layer to learn what happens at each stage.

7 Application Layer β€Ί

Software Integration: Where your actual applications (Chrome, WhatsApp) interact with the network. Provides services like HTTP.

6 Presentation Layer β€Ί

The Translator: Formats, encrypts, and compresses data. It ensures a JPEG picture sent from a Mac still looks like a JPEG on a PC. SSL encryption happens here.

5 Session Layer β€Ί

The Secretary: Opens, manages, and gracefully closes the connection (the "session") between two devices to ensure data transfer isn't interrupted.

4 Transport Layer β€Ί

The Postmaster: Chops massive data files into smaller "Segments". Assigns Port Numbers. Uses TCP (reliable) or UDP (fast).

3 Network Layer β€Ί

The Global Navigator: Adds logical IP Addresses to create "Packets". Calculates the best route across the globe. Routers operate exclusively here.

2 Data Link Layer β€Ί

The Local Courier: Adds physical MAC Addresses to create "Frames" for delivery on the local network. Switches operate here.

1 Physical Layer β€Ί

The Raw Hardware: Converts digital "Bits" (1s and 0s) into actual electrical pulses (copper cables), light signals (fiber optics), or radio waves (Wi-Fi).

⚑ Quick Check β€” OSI Model
At which layer of the OSI model do Routers operate, using IP Addresses to find the best path across the globe?
Layer 1 (Physical)
Layer 2 (Data Link)
Layer 3 (Network)
Layer 4 (Transport)
12

Wireless & Security Basics

A quick primer on how data flies through the air, and how we keep bad actors from stealing it.

πŸ“Ά Wi-Fi Frequencies

The invisible radio waves carrying your data.

  • 2.4 GHz: Slower speeds, but the waves travel farther and penetrate thick walls easily.
  • 5 GHz: Much faster speeds, but shorter range and blocked easily by solid objects.
  • Wi-Fi 6 / 7: Modern wireless standards built to handle dozens of smart devices simultaneously without lagging.

πŸ›‘οΈ Common Threats

What Firewalls try to block.

  • Malware: Malicious software (like viruses or ransomware) designed to damage or lock devices.
  • Phishing: Fake emails tricking humans into willingly giving away passwords.
  • DDoS Attack: Flooding a server with so much fake, automated traffic that legitimate users can't get in (like a purposeful traffic jam).
⚑ Quick Check β€” Security
An attacker uses thousands of hacked computers to send fake traffic to a website, causing it to crash and go offline. What type of attack is this?
Phishing
Malware
DDoS Attack
13

The Physical Internet

The "Cloud" isn't actually in the sky. The internet is highly physical, made of massive wires spanning the globe.

🌊 Undersea Cables

Over 95% of international internet traffic travels through massive fiber-optic cables resting on the ocean floor. If you send an email from New York to London, it physically crosses the Atlantic Ocean via light pulses in a wire.

🏒 ISPs & Tiers

Internet Service Providers (ISPs) connect you to the backbone. "Tier 3" ISPs are your local companies (like Comcast). They pay larger "Tier 1" providers (massive global telecom companies) for access to the worldwide backbone.

⚑ Quick Check β€” Backbone
How does the vast majority of internet data travel between continents?
Satellites in Space
Undersea Fiber-Optic Cables
Wireless Radio Towers
14

The Cloud & Data Centers

☁️

There is no cloud, it's just someone else's computer.

When you save a photo to "The Cloud," it doesn't float in the air. It travels through the internet and lands on a massive physical hard drive inside a remote warehouse called a Data Center.

🏭 Data Centers

Massive, highly secure warehouses filled with thousands of powerful Servers stacked in racks. They have giant air conditioners to stop the computers from melting, and massive backup generators in case of power outages.

πŸ“¦ Cloud Models

  • SaaS (Software as a Service): You just use the app (e.g., Netflix, Gmail).
  • IaaS (Infrastructure as a Service): You rent the raw server hardware and build whatever you want (e.g., AWS, Microsoft Azure).
⚑ Quick Check β€” The Cloud
When you upload a document to Google Drive, where does that file actually go?
A satellite orbiting Earth
A physical server in a remote Data Center
It floats invisibly on the internet
πŸš€

Happy Networking!

I hope this interactive guide helped demystify the magic of how our digital world connects.

Created with ❀️ by Raj Rathod