CSC 498 · Computer Network and Data Communications
Our notes
3 min readNetwork types by size
PAN (personal: Bluetooth), LAN (a building or campus), MAN (a city: metro fibre rings in Port Harcourt and Lagos), WAN (country or world: the Internet).
Topologies
| Topology | Layout | Strengths | Weaknesses |
|---|---|---|---|
| Bus | one shared cable with terminators at both ends | cheap, little cable | one break stops the network; collisions; hard to find faults |
| Ring (loop) | each node joined to two neighbours in a closed loop; data goes round | orderly access, no collisions | one break stops it unless dual ring (FDDI); adding a node disrupts it |
| Star | every node to a central hub or switch | easy to add, one cable fault affects one node, easy to manage | the centre is a single point of failure; more cable |
| Mesh | many or all nodes interconnected | very reliable, multiple paths | costly; full mesh needs n(n − 1)/2 links |
| Tree (hierarchical) | stars joined in levels | scales to campuses | depends on upper levels |
| Hybrid | combinations | flexible |
Worked example. A full mesh of 10 routers needs 10 × 9/2 = 45 links.
Broadcast networks
In a broadcast (multi-access) network, every station hears every frame on the shared medium (bus Ethernet, Wi-Fi, satellite); each station keeps only frames addressed to it. Rules are needed for who transmits when: the medium access control (MAC) sublayer.
Access methods
- ALOHA (University of Hawaii, 1970s, radio): send whenever ready; collisions are resent after a random wait. Pure ALOHA uses at most 18% of the channel; slotted ALOHA 37%.
- CSMA/CD (classic Ethernet on a bus): listen before sending (carrier sense); if a collision is detected while sending, stop, send a jam signal and wait a random time (binary exponential backoff). The minimum frame (64 bytes = 512 bits) makes sure a sender is still transmitting when news of a collision returns: at 10 Mbps that is 51.2 µs.
- Token passing (token ring, token bus, FDDI): a special frame (the token) circulates; only the station holding it may send. No collisions; fair, predictable delay.
- CSMA/CA (Wi-Fi, 802.11): radios can't listen while sending, so they try to avoid collisions: wait a random backoff after the channel is free; optional RTS/CTS handshake for hidden stations; each frame is acknowledged.
- Switched Ethernet: today each device has its own full-duplex link to a switch, so there are no collisions at all; CSMA/CD survives only in the standard.
Ethernet
- Frame: preamble, destination and source MAC addresses (48 bits, e.g. 3C-52-82-1A-7F-09), type, data (46-1,500 bytes), CRC-32.
- Speeds: 10 Mbps (10BASE-T), 100 Mbps, 1 Gbps (Cat 5e/6), 10 Gbps and more on fibre.
- Hub: repeats bits to every port (one collision domain). Switch: learns which MAC address is on which port and forwards frames only there. Router: joins different networks using IP addresses.
- VLANs split one switch into separate logical networks (staff, students, CCTV).
Wireless LANs
802.11 standards: Wi-Fi 4 (n), Wi-Fi 5 (ac), Wi-Fi 6 (ax). Access points connect wireless stations to the wired LAN. Security: WPA2/WPA3 (never open networks for staff systems). Campus Wi-Fi hotspots and hostel routers are 802.11 networks.
Exams usually ask: draw and compare topologies; count mesh links; explain CSMA/CD and the minimum frame size; token passing; CSMA/CA and the hidden-station problem; hub versus switch versus router; Ethernet frame format.
Common mistake: saying a star network has no single point of failure because each cable is separate. The central switch is one: if it fails, everything stops.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Network topology
(opens en.wikipedia.org in a new tab)
Wikipedia, Network topology, CC BY-SA 4.0 · licence
-
Computer Networks: A Systems Approach, 2.6 Multi-access networks
(opens book.systemsapproach.org in a new tab)
Peterson and Davie, Computer Networks: A Systems Approach, Computer Networks: A Systems Approach, 2.6 Multi-access networks, CC BY 4.0 · licence
-
Local area network
(opens en.wikipedia.org in a new tab)
Wikipedia, Local area network, CC BY-SA 4.0 · licence
-
Ethernet
(opens en.wikipedia.org in a new tab)
Wikipedia, Ethernet, CC BY-SA 4.0 · licence
Watch
-
Network Topology
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Classification of Computer Networks
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Network Topologies (Star, Bus, Ring, Mesh, Ad hoc, Infrastructure, & Wireless Mesh Topology)
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Network Types: LAN, WAN, PAN, CAN, MAN, SAN, WLAN
5 min · ≈ 23 MB · about ₦13
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.