Key Concepts Overview
- Networks connect devices so they can share resources and communicate
- Routers direct data packets between networks using IP addresses
- Data packets have a header (source/destination), payload (actual data), and trailer (security info)
- Switches use MAC addresses to send data only to intended devices; hubs broadcast to all
- Wireless networks use radio waves; Wi-Fi is faster and longer range, Bluetooth is lower power and shorter range
- Cloud storage stores data on remote servers and can be public, private, or hybrid
- The internet is a global WAN; the World Wide Web is accessed via the internet
- Intranets are private networks for organizations; extranets extend intranet access to authorized external users
- LANs cover small areas and are fully owned by one organization; WANs cover large areas using rented hardware
Network Hardware
What is a Router?
A router is a device that directs data packets between different networks. Think of it like a post office: just as a post office reads the destination address on a letter and routes it to the correct region, a router reads the destination IP address in a data packet and sends it to the right network or device.
Key jobs of a router:
- Routes packets between different networks (e.g., connecting your home network to the internet)
- Assigns IP addresses to devices on the network automatically
- Manages traffic and can prioritize certain types of data
- Acts as a gateway between a Local Area Network (LAN) and a Wide Area Network (WAN)
💡 Why does a router matter? Without a router, devices on your home network couldn't access the internet, and data packets wouldn't know which path to take to reach their destination.
Understanding Data Packets
Before data travels across a network, it's broken into small chunks called data packets. These packets can be reassembled at the destination to recreate the original file. This happens automatically—you don't see it happening—but understanding the structure is crucial.
Each data packet has three main parts:
┌─────────────────────────────────────────────────────────────┐
│ DATA PACKET │
├──────────────────┬─────────────────────┬──────────────────┤
│ HEADER │ PAYLOAD │ TRAILER │
├──────────────────┼─────────────────────┼──────────────────┤
│ • Source IP │ • Actual data │ • Security info │
│ • Dest IP │ (text, image, │ • End marker │
│ • Packet number │ video, etc.) │ • Checksums │
│ • Error checking │ │ │
└──────────────────┴─────────────────────┴──────────────────┘
🎯 Analogy
A data packet is like a labeled box in a shipment. The label (header) says "From: Device A, To: Device B". Inside is the actual package (payload). At the bottom you write "Box 1 of 5" and a checksum so the receiver knows if anything got damaged (trailer).
IP Addresses: Locating Devices on Networks
An IP address (Internet Protocol address) is a unique number assigned to every device on a network. It's like a mailing address for your computer—it tells routers exactly where to send data.