When you send a message on your phone, it may travel through a Wi-Fi router, a mobile tower, undersea cables and several servers before reaching your friend a second later. All of this works because computers are joined into networks, and the internet is the biggest network of all. This lesson explains types of networks, how devices are connected, IP addresses and domain names, and what happens when you open a website.
In this lesson you will learn
- What a network is and why we use them
- PAN, LAN, MAN and WAN
- Network topologies: bus, star, ring and mesh
- Network devices: router, switch, modem, access point
- IP addresses, DNS, URLs and how a web page loads
You should know operating systems and software.
What Is a Network?
A computer network is two or more devices connected so they can share data and resources. Networks let an office share one printer, let students share files, and let everyone use the internet.
Types by Size
| Type | Area | Example |
|---|---|---|
| PAN (personal area network) | A few metres | Phone connected to earbuds by Bluetooth |
| LAN (local area network) | One building or campus | A school computer lab |
| MAN (metropolitan area network) | A city | A cable or fibre network covering Dhaka |
| WAN (wide area network) | Countries or the world | The internet; a bank linking all its branches |
Network Topologies
A topology is the layout of the connections.
| Topology | Advantage | Disadvantage |
|---|---|---|
| Bus | Cheap, little cable | If the main cable breaks, the whole network fails |
| Star | One faulty cable affects only one computer; easy to add devices | If the central switch fails, everything stops |
| Ring | Data flows in order, no collisions | One break can stop the ring |
| Mesh | Many paths, very reliable | Expensive, lots of cable |
Most homes, schools and offices use a star topology with a switch or Wi-Fi router in the centre.
Network Devices and Media
- Switch: connects devices inside a LAN and sends data only to the device it is meant for.
- Router: connects different networks, such as your home LAN to the internet, and chooses the path for data.
- Modem: converts signals between your network and the internet provider’s line.
- Wireless access point: lets devices join the network by Wi-Fi. A home Wi-Fi router usually combines a router, switch and access point.
Data travels over wired media (twisted-pair Ethernet cable, coaxial cable, and fibre-optic cable, which uses light and is the fastest) or wireless media (Wi-Fi, Bluetooth, mobile 4G and 5G, and satellite). Bangladesh is linked to the world’s internet through undersea fibre-optic cables landing at Cox’s Bazar and Kuakata.
The Internet and the Web
The internet is the global network of networks. The World Wide Web is one service that runs on it: the collection of linked web pages. Email, video calls and online games are other services on the internet.
- Every device on a network has an IP address, such as 192.168.0.10 (IPv4). Newer IPv6 addresses are much longer, because the world ran short of IPv4 addresses.
- People remember names, not numbers. The Domain Name System (DNS) works like a phone book, turning a name such as www.example.com into its IP address.
- A URL is the full address of a page.
https://www.example.com/learn/page.html
└─┬─┘ └──────┬──────┘└──────┬───────┘
protocol domain name path to the page
What happens when you open it:
1. The browser asks a DNS server for the IP address of www.example.com
2. It connects to that web server
3. It sends a request for /learn/page.html using HTTPS
4. The server sends back the page; the browser draws it on screen
HTTPS encrypts the data between your browser and the website, shown by a padlock icon. Never type passwords on a page without it.
Common Mistakes
- Using “internet” and “web” as the same thing. The web is one service on the internet.
- Thinking Wi-Fi means internet. Wi-Fi connects you to the router; the router still needs an internet connection.
- Mixing up a switch and a router. A switch links devices within a network; a router links networks.
- Thinking a padlock means a site is honest. It only means the connection is encrypted; scam sites can have one too.
Practice Exercises
Exercise 1. A school lab connects 30 computers to one switch. Name the network type and topology.
Show answer
A LAN with a star topology, because every computer connects to the central switch.
Exercise 2. What would happen if DNS stopped working but the internet cables were fine?
Show answer
Typing website names would fail because names could not be turned into IP addresses. Typing the IP address directly would still work.
Frequently Asked Questions
What is bandwidth?
Bandwidth is the maximum amount of data a connection can carry per second, measured in bits per second, such as 50 Mbps. Higher bandwidth means faster downloads and smoother video.
What is an ISP?
An internet service provider is the company that connects you to the internet, such as a broadband company or a mobile operator. You pay it for access.
Summary
- Networks share data and resources; they range from PAN to WAN.
- Star is the most common topology; mesh is the most reliable.
- Switches link devices; routers link networks; modems link to the provider.
- DNS turns names into IP addresses; HTTPS encrypts web traffic.
Next: MS Word Basics.
