What is bus topology ? Explain its working

 Bus topology is a type of network topology in which all devices share a single communication line, called a bus. In a bus topology, each device is connected to the bus, and the bus itself serves as a communication medium through which data is transmitted. It is a simple and straightforward topology commonly used in small networks.



Here's how bus topology works:

Physical Structure:

All devices in a bus topology are connected to a central cable, which is the bus. This cable can be a coaxial cable or a twisted pair cable. The central cable runs the entire length of the network, and each device taps into it.

Transmission of Data:

When a device on the network wants to send data to another device, it places the data onto the bus. The data travels along the bus, and all devices on the network receive the data. However, each device is equipped with a network interface card (NIC) that has a unique address. Devices examine the data on the bus, and only the device with the matching address processes and accepts the data.

Collisions:

In a bus topology, there is a possibility of collisions. To manage collisions, bus networks often use a protocol called Carrier Sense Multiple Access with Collision Detection (CSMA/CD). With CSMA/CD, devices listen to the bus before transmitting data. If a device detects that the bus is busy, it waits for a random amount of time before attempting to transmit again.

Advantages:

Simple and easy to implement. Requires less cable compared to other topologies.

Disadvantages:

Susceptible to collisions, especially as the number of devices increases. If the central bus cable fails, the entire network may be affected.

Example:

Think of a bus topology like a single road with houses on either side. Each house (device) is connected to the road (bus), and if someone wants to send a package (data) to another house, they place it on the road for all houses to see. Only the intended recipient accepts and opens the package. Bus topology is often used in small networks or as a segment within a larger network. As networks grow larger or require higher performance and reliability, other topologies like star or ring may be preferred.

Star topology:

A star topology is a network topology in which each node (computer or other device) in the network is connected directly to a central hub or switch. In a star topology, all communication between nodes in the network must pass through the central hub. This hub can be a physical device like a network switch or a logical point in a network where connections are centralized.

Key characteristics of a star topology include:

Centralized Hub:

All nodes in the network are connected to a central hub, which can be a physical device like a switch or a logical point where connections are managed.

Point-to-Point Connection:

Each node is connected directly to the central hub, creating a point-to-point connection. Isolation of Nodes: Nodes are isolated from each other, and the failure of one node typically does not affect the rest of the network.

Ease of Installation and Maintenance:

Star topologies are relatively easy to install and manage. Adding or removing a node involves connecting or disconnecting it from the central hub. Scalability: Star topologies can be easily scaled by adding more nodes to the network. However, the capacity of the central hub may become a bottleneck if a large number of nodes need to communicate simultaneously.

Reliability:

The network's reliability is dependent on the central hub. Star topologies are commonly used in local area networks (LANs) and are popular in home networks and small to medium-sized businesses. They provide a straightforward and easily manageable structure for network communication. However, they may not be the most efficient for large-scale networks with high traffic, as the central hub can become a performance bottleneck.

Post a Comment

0 Comments