Networks and Network Devices
A computer network connects two or more computers to share data and resources. Networks are classified by scale (how far they reach), by topology (how devices are arranged) and by the devices that connect them.
Network types and scale
Smallest to largest: PAN → LAN → MAN → WAN.
| प्रकार | Full form | Typical scale |
|---|
| PAN | Personal Area Network | Around one person, e.g. a phone paired with Bluetooth earbuds |
| LAN | Local Area Network | One building or site, e.g. a home or office Wi-Fi |
| MAN | Metropolitan Area Network | A city or a large campus, larger than one LAN |
| WAN | Wide Area Network | Across cities, countries or continents — the internet is the largest WAN |
- Client-server: clients request resources or services; a dedicated server provides them. Easier to manage and back up centrally, but the server is a single point of failure for what it provides.
- Peer-to-peer: every computer can both share and use resources, with no central server.
- A network can use client-server for some resources (e.g. a file server) and peer-to-peer for others (e.g. sharing a printer directly) at the same time.
| Topology | आकृति | Links needed (n devices) |
|---|
| Star | Every device connects to one central hub/switch | n |
| Bus | Every device shares one backbone cable | — (one shared cable) |
| Ring | Each device connects to exactly two neighbours, forming a loop | n |
| Mesh | Every device connects directly to every other device | n(n − 1) ÷ 2 |
| Hybrid | A mix of the above, e.g. several stars joined by a bus | — |
- Star: a fault on one device's cable does not affect the others; easy to add a device. Depends on the central hub.
- Bus: a break in the shared cable can disrupt the whole segment.
- Ring: a single break can disrupt the one path data had, unless an extra path exists.
- Mesh: most resilient (many alternative paths) but needs far more cable — a 6-device mesh needs 15 links, an 8-device mesh needs 28.
- Transmission media, roughly weakest to strongest: basic unshielded wire → twisted-pair (wires twisted to cut interference) → coaxial (shielded copper core) → fibre-optic (light through glass/plastic — least signal loss over distance, best for long links between cities). Wireless media (Wi-Fi, Bluetooth) use radio waves, no cable.
Network devices
| Device | Job |
|---|
| NIC | Connects one computer to a network (wired or wireless) |
| Hub | Repeats incoming data to every connected device (no targeting) |
| Switch | Sends data only to the device it is addressed to — more efficient than a hub |
| Bridge | Joins two similar network segments into one |
| Router | Directs data between different networks (e.g. a home LAN and the internet) |
| Modem | Converts signals so a device can connect over an ISP's line |
| Gateway | Connects networks using different protocols, translating between them |
| Repeater | Boosts a weakening signal so it can travel further |
| Access point | Lets Wi-Fi devices join a wired network without a cable |
A typical home "Wi-Fi router" usually combines a modem + router + switch + access point in one box, which is why it can be hard to tell which single function has a fault.
Wired vs wireless, data transfer modes
- Wired (Ethernet, fibre): a physical cable carries the signal. Wireless (Wi-Fi, Bluetooth): radio waves through the air — weakened by walls and distance.
- Wi-Fi: wireless, building-scale range, typically higher data rate, higher power use. Bluetooth: wireless, very short range (a few metres), lower power — suited to accessories (mouse, earphones), and needs a one-time pairing step.
- Simplex: one direction only (e.g. a broadcast). Half duplex: both directions, but one at a time (e.g. a walkie-talkie). Full duplex: both directions at once (e.g. an ordinary phone call).
- Circuit switching: a dedicated path is reserved for the whole session (e.g. a traditional phone call), even during silent pauses. Packet switching: a message is split into packets that may travel different paths and are reassembled at the destination (most internet traffic) — this shares capacity more flexibly and can route around a failed path.