UNIHIVE

Study Hub UNIPORT CSC 498

CSC 498 · Computer Network and Data Communications

Topologies and local area networks

Bus, ring (loop), star, mesh and tree topologies, LAN access methods (CSMA/CD, token passing, CSMA/CA), Ethernet and Wi-Fi, and broadcast networks.

Our notes

3 min read

Network 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

TopologyLayoutStrengthsWeaknesses
Busone shared cable with terminators at both endscheap, little cableone break stops the network; collisions; hard to find faults
Ring (loop)each node joined to two neighbours in a closed loop; data goes roundorderly access, no collisionsone break stops it unless dual ring (FDDI); adding a node disrupts it
Starevery node to a central hub or switcheasy to add, one cable fault affects one node, easy to managethe centre is a single point of failure; more cable
Meshmany or all nodes interconnectedvery reliable, multiple pathscostly; full mesh needs n(n − 1)/2 links
Tree (hierarchical)stars joined in levelsscales to campusesdepends on upper levels
Hybridcombinationsflexible

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

Watch

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.

All CSC 498 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.