You don't have to go far to understand what a network is. There's one in your own house.
Your home Wi-Fi is a network
Your phone is connected to your home Wi-Fi. If you have smart switches you can turn on from your phone, they're connected too. These days even fridges and washing machines connect, and you control them from an app.
All these devices are connected to each other through the Wi-Fi so they can share data. That's the simplest definition of a network: devices connected to share data.
- LAN: devices in one home or office, connected through the Wi-Fi.
- WAN: many small networks in different places joined into one.
- Internet: every country's networks joined together.
LAN: Local Area Network
The network in your home is a LAN, a Local Area Network: a network set up in a small area, like a house or an office floor. Someone outside can't simply walk in and access your devices.
WAN: Wide Area Network
A WAN is bigger. Imagine a college with campuses in different towns. Each building has its own small networks, and all of them are joined into one big network. A network spread across many places like that is a WAN. (One large campus on its own is still usually a LAN, sometimes called a campus network.)
The internet: a network of networks
Now take networks in India, the US, China and every other country, and join them all together. That's the internet, the biggest network there is. It's why you can sit at home in Kerala and reach Facebook's servers in the US.
| Covers | Example | |
|---|---|---|
| LAN | A small area | Your home Wi-Fi, one office |
| WAN | Many places | A college's campuses in different towns joined together |
| Internet | The whole world | Every country's networks joined: a network of networks |
Why it matters for hackers: where a device sits decides who can reach it. A device only on your LAN is hidden from the internet; a server on the internet can be reached, and attacked, from anywhere. You'll see this again with private and public IPs in the next lesson.
Key takeaways
- A network is devices connected to share data.
- LAN = a small area like your home or office.
- WAN = networks in different places joined together.
- The internet = a network of networks across the world.
Quick quiz
Pick an answer to check yourself. Answer both to mark this lesson done.
1. Your phone, fridge and laptop are all on your home Wi-Fi. What kind of network is that?
- A) LAN
- B) WAN
- C) Internet
- D) None of these
Show answer
Answer: A. A LAN is a network set up in a small area like a home.
2. Why can you reach Facebook's server in the US from home?
- A) Only through your home LAN
- B) Because the world's networks are connected through the internet
- C) Because Facebook's server is in Kerala
- D) Through Bluetooth
Show answer
Answer: B. The internet joins the networks of India, the US and every other country, so you can reach a server anywhere.
Frequently asked questions
What is the difference between LAN and WAN?
A LAN covers a small area such as a home or office. A WAN connects networks across many locations, like a college joining its campuses in different towns.
Is the internet a WAN?
The internet is the largest network of all: a network of networks joining the networks of every country. It is often described as the biggest WAN.
Is my home Wi-Fi a LAN?
Yes. The devices connected to your home Wi-Fi form a Local Area Network.