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

Bus Topology

Bus topology is a special case of tree topology with one main communication line. Tree topology uses several of these communication lines.
| Advantages | Disadvantages |
|---|---|
| Cheap and Easy to setup | Not fault tolerant (If the common line fails, no way to send data) |
| Node failures do not affect other nodes | Limited by main line cable length |
| Suitable for temporary networks | No 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

- 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.
| Advantages | Disadvantages |
|---|---|
| can avoid collisions unlike bus topology | can cause a bottleneck due to weak links |
| all nodes have equal access | Not 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 load | Low delay, sends at once | Waits for token |
| Heavy load | Collisions waste capacity | Orderly, no collisions |
| Weakness | Collisions | Token overhead, latency, token loss |
Star Topology

- 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)