What is the Collision domain in a computer network?
While setting or using a computer network you never worry about the collision frequency. But it will get important when the number of hosts keeps increasing and the network becomes slower and slower. In this tutorial, we will discuss the collision domain and how various network topology and devices affect the amount of collusion in the network.
What is the collision domain?
The subnetwork in which there are chances of collisions while transmitting data. In another tutorial of CSMA, we have described the protocol for avoiding collisions. But in that, there will be a delay if the collision domain is big. So its better to understand what is collision domain while setting up a network.
Network Using a HUB:
HUB is a very basic device for creating a local area network. It is cheap and works at the physical layer of the OSI model. When a host sends a packet to another, the hub places an electrical signal on all other ports. This is a kind of broadcast at the physical level. If more that one computer sends the data the chances of collision are high. All computers connected to the HUB comes under the same collision domain.
If you add more computers, to the same device or with another device. The domain will keep expending. This will worse the data communication experience. Because of that hubs are best suited for very small local area networks.
Switch and collision domain:
Another improved option for networking is a switch. The switch works on the data link layer. There are managed switch those works at layer 3 too. But here we will cover from layer two reference only. When a port receives a frame, it sends out the packet to the port connects to the destination computer (as a contrast to HUB to all ports). This enables one to one communication between two computers.
The collision may occur when two computers send a message to the same destination. So here the collision domain includes all communicating hosts.
Collision domain with the router:
The network router purely works on the IP layer. It connects multiple subnetworks of LANs. Collision in one subnetwork does not have any impact on another subnetwork. With a router, the collision domain is the number of subnetworks connected to the ports.