Network Topologies

Theory

Introduction:
In the present scenario, networking plays a crucial role in every individual’s and every organization’s day-to-day activities. But there has to be some specific models or guidelines that must be followed to connect one device to another. This logical or physical layout or configuration of a network is known as a network topology.

Definition:
A network topology is a substantial arrangement of a network in which all the nodes are connected with each other using network links or connecting lines. Apart from just describing how the nodes are interconnected, network topology also explains how the data is transferred in a network.

Logical and Physical Network Topologies:
A logical network topology is a high-level representation of how two or more nodes are connected. A logical network topology describes or explains how signals act on a network and how the data is transmitted from one node to another at a very high level. On the other hand, a physical topology describes how nodes are physically connected to each other. The physical connection can be made using wires, wireless connectivity, networking components, and more.

Importance of Network Topologies:
1) Plays a significant role in the functioning of networks.
2) Helps us better understand the networking concepts.
3) Plays a crucial role in performance.
4) Helps reduce the operational and maintenance costs such as cabling costs.
5) A network topology is a factor in determining the media type to be used to cable a network.
6) Error or fault detection is made easy using network topologies.
7) Effective utilization of resources and networking components.

Network Topology Classification:
Both physical and logical network topologies can be broadly classified into five basic types - Star, Bus, Ring, Mesh and Hybrid.

Star Topology:
In a star topology, every node in the network is connected to a central computer or a node, which takes care of the network. Every device in the network has a direct connection to the central node and every node is indirectly connected to other nodes using the central node.

All the data in a star topology flow through the central hub before it reaches its destination. The central hub manages and controls all data transfers and connectivity in a star topology. The central hub also acts as a repeater to make sure there is zero or minimal data loss during the transmissions. A star topology can be configured using a twisted pair, coaxial cable, or an optical fiber.

Advantages of Star Topology:
1) Failure of one node will not affect the entire network.
2) Devices can be added, removed, reconfigured, or modified without disturbing the network.
3) Less cabling is needed to configure star topology.
4) Easy to set up and modify.
5) Easy to troubleshoot.

Disadvantages of Star Topology:
1) The entire network is dependent on the central hub: If the hub fails, then the whole network will be down.
2) Expensive to install and use.
3) Performance is solely based on the central hub’s configuration, power, and efficiency.

Bus Topology:
Bus topology refers to a network setup where nodes or devices are interconnected using a single cable. It is because of this setup why bus topology is often referred to as line topology or backbone. Depending on the nodes or devices that need to be connected, a coaxial cable or an RJ45 cable is typically used to connect the devices.

Bus topology usually consists of two ends and signals travel from one end to another. Bus topology is unidirectional and data is transferred from one end to another in a single direction.

Advantages of Bus Topology:
1) Cost-effective.
2) Less cable required to connect the nodes.
3) Very easy to understand.
4) Provides an easy feasibility to extend or to reduce a network.
5) Ideal for small network setups.

Disadvantages of Bus Topology:
1) Ideal only for small network setups.
2) If the backbone (primary) cable fails, the entire network fails.
3) Unidirectional.
4) Transmission speeds are drastically reduced with the increased number of nodes.

Ring Topology:
As the name suggests, a ring network topology forms a ring as each node or computer in a network are connected to each other in a circular manner. Every node or device in a ring topology will have exactly two neighbors and accordingly, the last node in the network will be connected to the first node.

In a ring topology, all devices are connected in a closed loop configuration and one node in the network acts as a monitor, which essentially takes care of the configuration. In a ring topology, all the data packets are transmitted from one node to another in a circular manner and, therefore, for a data packet to reach one point to another it has to traverse through all the intermediate nodes. For large networks with more nodes connected in a ring, repeaters can be used to prevent data loss in these data transmissions.

Advantages of Ring Topology:
1) Performs better than bus topology under heavy network loads.
2) Point-to-point connectivity of the nodes makes it easy to identify and detect misconfigurations or faults.
3) Orderly network flow.
4) Cost effective to implement.

Disadvantages of Ring Topology:
1) One malfunctioning node can collapse the whole network.
2) Transmission line failure can take down the whole network.
3) Communication delay is proportional to the number of nodes in a ring.
4) Bandwidth is shared among all the devices in a network.
5) Reconfiguring, adding, or removing nodes requires the network to shut down.

Mesh Topology:
Mesh topology is a widely used network model that has a point-to-point connection between each node in the network. Every node or a device in a mesh network connects to other nodes directly and in a non-hierarchical manner. In a mesh network, the network isn’t dependent on a single machine like the star topology and every node plays an active role in the relay of information.

Data transmission in a mesh topology is based on two important techniques:
1)Routing
2)Flooding

Routing:
Every node in a mesh network can have a routing logic and transmission of data or information happens through that routing logic. This routing logic can be used to find the shortest distance to send some information from sender to receiver or the logic can be used to avoid using broken lines for data transmission.

Flooding:
In the case of flooding, the same data is transmitted to each node in the network. Therefore, no routing logic is required in case of flooding mesh networks. Loss of data is highly unlikely as every node will have the same data with them. This makes it robust and fault-tolerant. However, this also increases the load on the network.

Advantages of Mesh Topology:
1) Fully connected.
2) Robust.
3) Provides security and privacy.
4) Any node failure won’t affect the network.
5) Less load and collisions to dedicated lines.
6) Isolation and fault-detection are easy.

Disadvantages of Mesh Topology:
1) Cost of implementing and cost of cabling is high.
2) Installation and reconfiguring is a typical task.
3) Complex to understand.

Hybrid Topology:
When a network topology is formed by integrating two or more topologies together, this results in a hybrid topology. Hybrid topologies can be configured as per the company’s requirement. When configured properly, hybrid topologies can provide the best of all the network topologies. Hybrid topologies are easy to scale and expand. However, they might need higher costs and more operational efforts to configure and maintain.
Advantages of Hybrid Topology:
1) Reliable.
2) Effective.
3) Flexible.
4) Scalable.

Disadvantages of Hybrid Topology:
1) Expensive to implement.
2) Higher Complexity.

These topologies can also be classified as:
1) Peer to Peer
2) Primary - Secondary

Peer to Peer:
Peer to peer is the relationship where the devices share the link equally. The examples are ring and mesh topologies.

Primary - Secondary:
In Primary - Secondary relationship, one device controls and the other devices have to transmit through it. For example star topology.

Cables:
A cable is a thick wire, or a group of wires inside a rubber or plastic covering, which is used to carry electricity or electronic signals. There are different types of cables used such as Cross Over Cable, Coaxial Cable, Fibre Optic Cable, Rollover Cable and Straight Cable.

Cross Over Cable:
An Ethernet crossover cable is a crossover cable for Ethernet used to connect computing devices together directly. It is most often used to connect two devices of the same type, e.g. two computers (via their network interface controllers) or two switches to each other.

Coaxial Cable:
Coaxial cable or coax is a type of electrical cable consisting of an inner conductor surrounded by a concentric conducting shield, with the two separated by a dielectric (insulating material). Many coaxial cables also have a protective outer sheath or jacket. The term 'coaxial' refers to the inner conductor and the outer shield sharing a geometric axis. Intentionally crossed wiring in the crossover cable connects the transmit signals at one end to the receive signals at the other end.

Fibre Optic Cable:
A fiber-optic cable, also known as an optical-fiber cable, is an assembly similar to an electrical cable, but containing one or more optical fibers that are used to carry light. The optical fiber elements are typically individually coated with plastic layers and contained in a protective tube suitable for the environment where the cable will be deployed. Different types of cable[1] are used for different applications, for example, long distance telecommunication, or providing a high-speed data connection between different parts of a building.

Rollover Cable:
Rollover cable (also known as a Yost cable, Cisco cable, or a Console cable) is a type of null-modem cable that is often used to connect a computer terminal to a router's console port. This cable is typically flat (and has a light blue color) to help distinguish it from other types of network cabling.

Straight Cable:
By contrast, patch cables or straight through cables are used to connect devices of different types, such as a computer to a network switch or Ethernet hub.