Dulranga's Notes
Semester 3Data Communication and Networking

Network Topologies

Data link layer stuff

These are ways to connect nodes in a network to other nodes. Physically and Logically. The names are given based on the shape it looks.

Bus and Tree topology

Tree Topology Pasted image 20261111141259.png

Bus Topology Pasted image 20261111141227.png

Bus topology is a special case of tree topology with one main communication line. Tree topology uses several of these communication lines.

AdvantagesDisadvantages
Cheap and Easy to setupNot fault tolerant
(If the common line fails, no way to send data)
Node failures do not affect other nodesLimited by main line cable length
Suitable for temporary networksNo security
(all packets sent will be received by every other)
  • It uses a header packet with destination address so data will be only accepted by that address even though all receive it.
  • Media access control protocols can be used to limit access but everyone can see all packets.

Ring Topology

Pasted image 20261111142047.png

  • Transmission is unidirectional.
  • Nodes connected to network via a repeater. Repeaters transmit incoming signals into the outgoing wire. Once, a signal is transmitted into the receiver, it will be removed from the source node.
  • Chance to send data is determined by a circulating token. Whoever holds this token in given time, will have access to send the data. This ensures no collisions when multiple nodes start sending data.
AdvantagesDisadvantages
can avoid collisions unlike bus topologycan cause a bottleneck due to weak links
all nodes have equal accessNot fault tolerant.
Unidirectional
Single point of failure affect the entire network
No security

Performance with higher loads

Bus (random access, CSMA/CD)Ring (token passing)
Light loadLow delay, sends at onceWaits for token
Heavy loadCollisions waste capacityOrderly, no collisions
WeaknessCollisionsToken overhead, latency, token loss

Star Topology

Pasted image 20261111144111.png

  • All nodes are connected to one central hub/switch
  • hub/switch administrate the connection
  • Secure since other nodes are completely isolated when two nodes communicate.
  • Single point of failure (Switch)

On this page