Networking
LAN vs MAN vs WAN vs PAN — Types of Networks Explained with Examples
All types of computer networks explained — LAN, MAN, WAN, PAN, CAN, with range, speed, devices, and real-world examples. Easy comparison table included.
Computer networks connect devices to share resources and communicate. Understanding different types of networks, topologies, and devices is essential for CBSE Computer Science exams across Classes 9-12. This guide covers everything you need to know.
What is a Computer Network?
A computer network is a group of two or more computers connected together to share data, resources, and communicate with each other.
Why do we need networks?
- Resource sharing - Share printers, scanners, Internet
- Data sharing - Share files between computers
- Communication - Email, messaging, video calls
- Centralized management - Manage all computers from one place
- Cost saving - Share expensive resources instead of buying for each computer
Types of Networks by Size
1. PAN (Personal Area Network)
A PAN covers a very small area, typically around one person (about 10 meters).
| Feature | Detail |
|---|---|
| Area | Around one person (up to 10 meters) |
| Devices | Phone, laptop, Bluetooth earphones, smartwatch |
| Technology | Bluetooth, USB, Infrared |
| Speed | Low to moderate |
| Example | Connecting your phone to Bluetooth earphones |
2. LAN (Local Area Network)
A LAN connects computers within a small area like a room, building, or campus.
| Feature | Detail |
|---|---|
| Area | Small area (up to 1-2 km), room, building, campus |
| Ownership | Usually owned by a single organization |
| Speed | High (100 Mbps to 10 Gbps) |
| Technology | Ethernet, Wi-Fi |
| Cost | Low setup and maintenance |
| Error Rate | Very low |
| Examples | School computer lab, office network, home Wi-Fi |
3. MAN (Metropolitan Area Network)
A MAN covers a city or large town, connecting multiple LANs.
| Feature | Detail |
|---|---|
| Area | City or town (up to 50-100 km) |
| Ownership | Can be owned by one or multiple organizations |
| Speed | Moderate to high |
| Technology | Fiber optic, cable |
| Cost | Moderate |
| Examples | Cable TV network in a city, university campuses across a city |
4. WAN (Wide Area Network)
A WAN covers a large geographical area, countries or even the entire world.
| Feature | Detail |
|---|---|
| Area | Country, continent, or worldwide |
| Ownership | Operated by ISPs and telecom companies |
| Speed | Lower than LAN (varies widely) |
| Technology | Fiber optic, satellite, telephone lines |
| Cost | High |
| Error Rate | Higher than LAN |
| Examples | The Internet, banking networks |
Comparison Table
| Feature | PAN | LAN | MAN | WAN |
|---|---|---|---|---|
| Full Form | Personal Area Network | Local Area Network | Metropolitan Area Network | Wide Area Network |
| Area | ~10 m | Up to 1-2 km | Up to 100 km | Unlimited |
| Speed | Low | Very high | High | Variable |
| Ownership | Individual | Single organization | One or more orgs | ISPs, telecom |
| Cost | Very low | Low | Moderate | High |
| Error rate | Very low | Low | Moderate | Higher |
| Example | Bluetooth devices | School lab | City cable network | Internet |
Exam tip: This comparison table is a very common question. Remember the order of size: PAN < LAN < MAN < WAN.
Network Topologies
A network topology is the arrangement or layout of devices in a network. It describes how computers and other devices are connected.
1. Bus Topology
All devices are connected to a single cable (called the backbone or bus).
Advantages:
- Easy to set up, Low cost (uses less cable), Good for small networks
Disadvantages:
- If the main cable fails, the entire network goes down, Difficult to troubleshoot, Performance decreases as more devices are added, Limited cable length
2. Star Topology
All devices are connected to a central device (usually a switch or hub).
Advantages:
- If one cable fails, only that device is affected, Easy to add or remove devices, Easy to troubleshoot, Good performance
Disadvantages:
- If the central device fails, the entire network goes down, Uses more cable than bus topology, Central device can be expensive
This is the most commonly used topology in modern networks.
3. Ring Topology
Devices are connected in a circle. Data travels in one direction (or both in a dual ring).
Advantages:
- Equal access for all devices, Performs well under heavy load, No need for a central device
Disadvantages:
- If one device or cable fails, the entire network fails, Adding or removing devices disrupts the network, Difficult to troubleshoot
4. Mesh Topology
Every device is connected to every other device.
Advantages:
- Very reliable, multiple paths for data, If one connection fails, data takes another path, Good security (dedicated connections)
Disadvantages:
- Very expensive (lots of cables and ports), Complex to set up and maintain, Practical only for small networks
5. Tree (Hierarchical) Topology
A combination of star and bus topologies. It has a root node and branches like a tree.
Advantages:
- Easy to expand, Point-to-point connections, Easy to manage
Disadvantages:
- If the root node fails, the entire network is affected, More cabling required, Difficult to configure
Topology Comparison
| Feature | Bus | Star | Ring | Mesh | Tree |
|---|---|---|---|---|---|
| Cable used | Least | Moderate | Moderate | Most | Moderate |
| Central device | No | Yes | No | No | Yes |
| Failure impact | Entire network | One device | Entire network | One connection | Branch |
| Cost | Low | Moderate | Moderate | Very high | Moderate |
| Ease of troubleshooting | Difficult | Easy | Difficult | Easy | Moderate |
| Most common | No | Yes | No | No | No |
Network Devices
| Device | Purpose |
|---|---|
| Hub | Connects devices in a LAN, sends data to all ports (not intelligent) |
| Switch | Connects devices in a LAN, sends data only to the intended port (intelligent) |
| Router | Connects different networks, routes data between them using IP addresses |
| Modem | Converts digital signals to analog and vice versa for Internet connectivity |
| Gateway | Connects networks with different protocols |
| Bridge | Connects two network segments, filters traffic |
| Repeater | Amplifies weak signals to extend network range |
| Access Point | Provides wireless connectivity (Wi-Fi) |
| NIC | Network Interface Card, hardware that connects a computer to a network |
Hub vs Switch vs Router
| Feature | Hub | Switch | Router |
|---|---|---|---|
| Layer | Physical layer | Data link layer | Network layer |
| Intelligence | Not intelligent | Intelligent | Most intelligent |
| Data sending | Sends to all ports | Sends to specific port | Routes between networks |
| Collision | Collisions occur | No collisions | No collisions |
| Cost | Cheapest | Moderate | Most expensive |
| Use | Almost obsolete | Within a LAN | Between networks |
Transmission Media
Guided (Wired) Media
| Type | Description | Speed | Distance |
|---|---|---|---|
| Twisted Pair | Two insulated copper wires twisted together | Up to 10 Gbps | Short (100 m) |
| Coaxial Cable | Central conductor surrounded by insulation and shield | Up to 1 Gbps | Medium (500 m) |
| Fiber Optic | Glass/plastic fibers carrying light signals | Up to 100 Gbps | Very long (100+ km) |
Unguided (Wireless) Media
| Type | Description | Range |
|---|---|---|
| Radio Waves | Used for Wi-Fi, Bluetooth, mobile networks | Varies widely |
| Microwaves | Point-to-point communication, satellite | Long range |
| Infrared | Short-range communication (remote controls) | Very short |
| Satellite | Communication via orbiting satellites | Global |
Twisted Pair vs Coaxial vs Fiber Optic
| Feature | Twisted Pair | Coaxial | Fiber Optic |
|---|---|---|---|
| Material | Copper wires | Copper with shield | Glass/plastic fibers |
| Speed | Moderate | Moderate | Very high |
| Distance | Short (100 m) | Medium (500 m) | Long (100+ km) |
| Cost | Cheapest | Moderate | Most expensive |
| Interference | Susceptible | Less susceptible | Immune |
| Weight | Light | Medium | Lightest |
| Usage | Office networks | Cable TV | Internet backbone |
Client-Server vs Peer-to-Peer
| Feature | Client-Server | Peer-to-Peer |
|---|---|---|
| Central server | Yes | No |
| Dedicated roles | Server serves, clients request | All computers are equal |
| Security | Centralized, stronger | Decentralized, weaker |
| Cost | Higher (server required) | Lower |
| Scalability | Highly scalable | Limited |
| Management | Centralized | Each computer manages itself |
| Example | School network, company website | File sharing (BitTorrent) |
Important Questions
Q1. Differentiate between LAN, MAN, and WAN.
LAN covers a small area (building/campus, up to 1-2 km) with high speed and low cost, owned by one organization (e.g., school lab). MAN covers a city (up to 100 km) with moderate speed and cost (e.g., city cable network). WAN covers countries or worldwide with variable speed and high cost, operated by ISPs (e.g., the Internet).
Q2. What is the difference between a hub and a switch?
A hub sends incoming data to all connected ports regardless of the destination, causing unnecessary traffic and collisions. A switch is intelligent, it reads the destination address and sends data only to the intended port, reducing traffic and improving performance. Switches have largely replaced hubs in modern networks.
Q3. Compare star and bus topologies.
In star topology, all devices connect to a central switch/hub. If one cable fails, only one device is affected, but if the central device fails, the entire network fails. In bus topology, all devices connect to a single backbone cable. It uses less cable and is cheaper, but if the backbone fails, the entire network fails. Star topology is more common in modern networks.
Q4. What is fiber optic cable? Why is it preferred over copper?
Fiber optic cable uses thin glass or plastic fibers to transmit data as pulses of light. It is preferred over copper because it offers much higher speeds (up to 100 Gbps), longer transmission distances (100+ km), immunity to electromagnetic interference, better security (difficult to tap), and lighter weight. However, it is more expensive than copper cables.
Quick Revision
- Network sizes: PAN < LAN < MAN < WAN
- LAN = building/campus; MAN = city; WAN = worldwide, Most common topology: Star (all connect to central switch)
- Hub sends to all; Switch sends to specific port; Router routes between networks
- Modem converts digital to analog and vice versa, Wired media: Twisted pair, Coaxial, Fiber optic (fastest), Wireless media: Radio waves, Microwaves, Infrared, Satellite
- Client-Server has a central server; Peer-to-Peer has equal computers
Frequently Asked Questions
Is Wi-Fi a LAN?
Yes — Wi-Fi is a wireless LAN (WLAN). The Wi-Fi router in your home creates a LAN where all your phones, laptops, and smart TVs are on the same local network. The router then connects this LAN to your ISP's WAN, which connects to the global Internet.
Is the Internet a WAN?
Yes — the Internet is the largest WAN in existence. Technically, it's a "network of networks" connecting WANs and LANs all over the planet. Every time you load a web page, your local LAN traffic travels through your ISP's WAN, possibly through several other WANs, and into the destination's LAN.
What is the difference between LAN, MAN, and WAN?
- LAN (Local Area Network) covers one building or a small group of buildings — your home, a coffee shop, an office floor. Range: meters to ~1 km. Speed: 100 Mbps to 10 Gbps.
- MAN (Metropolitan Area Network) covers a city or large campus — a university connecting all its buildings, or a cable TV provider in a town. Range: 5-50 km. Speed: 10 Mbps to 1 Gbps.
- WAN (Wide Area Network) covers a country or the whole world — corporate networks linking offices across continents, the Internet itself. Range: unlimited. Speed: varies widely.
The boundaries are fuzzy in practice — a big enough LAN starts looking like a MAN.
What is a PAN and how is it different from a LAN?
PAN (Personal Area Network) is the smallest type — a network around one person, usually within a few meters. Your phone connecting to wireless earbuds via Bluetooth is a PAN. Your laptop pairing with a wireless mouse is a PAN. LAN is bigger (one home/office); PAN is just you and your immediate devices.
What is a VPN and is it a different type of network?
VPN (Virtual Private Network) is not a separate network category. It's a way to create a secure, encrypted "tunnel" through an existing network (usually the Internet). Companies use VPNs to let remote employees access the office LAN as if they were physically there. Consumer VPNs route your Internet traffic through a server elsewhere, hiding your real IP from websites.
What devices are needed to build a LAN?
At minimum: a switch (to connect devices to each other) and Ethernet cables. For a wireless LAN, add a wireless access point (or a router with built-in Wi-Fi). To connect the LAN to the Internet, add a modem (from your ISP) and a router. A typical home "router" actually combines a router, switch, wireless AP, and sometimes a modem in one box.
What is the difference between a hub, switch, and router?
- Hub: sends incoming data to all ports. Dumb. Obsolete.
- Switch: sends data only to the intended port based on MAC address. Smart, fast, used in every modern LAN.
- Router: connects different networks (your LAN to the Internet), making forwarding decisions based on IP addresses.
A switch operates inside one network; a router moves data between networks.
Why is fiber optic the fastest cable type?
Fiber optic transmits data as pulses of light through thin glass strands. Light travels much faster than electrical signals can stably propagate through copper, and fiber doesn't suffer from electromagnetic interference. Modern fiber links carry 100+ Gbps per channel and many channels at once, totaling terabits per second on a single cable. It's also lighter, immune to corrosion, and harder to tap.
What is the difference between client-server and peer-to-peer?
In client-server, one central computer (the server) holds the resources and serves requests from many clients. Examples: every website, email, banking apps. Easier to manage, but the server is a single point of failure.
In peer-to-peer (P2P), every computer is both a client and a server, sharing resources directly. Examples: BitTorrent, blockchain networks, Skype's original design. More resilient (no central point), but harder to coordinate and secure.
Want to learn more?
Explore free chapter-wise notes with quizzes and code playground
Prefer watching over reading?
Subscribe for free.