What is a Hub?
A Hub is a networking connector device that aids in connecting multiple devices to a single network. It is a common connection point that is also known as a network hub. It is a physical layer network device that connects a series of LANs.
What is a Switch?
A Switch is a networking device that has the ability to link multiple devices together on one computer network. It uses a data link layer to connect the devices. When it comes to switching, we prefer the packet switching method to dispatch the data packet over the web.
What is a Router?
A router is a device for computer networking devices that helps in connecting two or more packet-switched networks. The major role of the router is to perform the two functions. It supports in handling the traffic between the networks by dispatching data packets, and permits several devices to use the same internet connection.
Difference between Hub, Switch and Router
S. No | Hub | Switch | Router |
1. | Hub belongs to layer 1 of an OSI model that means it is a physical layer device. | Switch belongs to layer 2 of an OSI model that means it is a data link layer device. | Router belongs to layer 3 of an OSI model that means it is a network layer device. |
2. | Hub prefers half-duplex transmission method. | Switch prefers full-duplex transmission method. | It is full duplex in nature. |
3. | It functions based on broadcasting. | It functions based on MAC addresses. | It functions based on IP addresses. |
4. | Hub is commonly used to link components of a LAN | A switch is used by LAN. | A router is utilised by LAN as well as MAN. |
4. | Hubs are not smart gadgets because they pass on everything obtained on one connection to all other connections. | A Switch is a smart and wise device as it gives a message to a specific device by scanning the address. | Routers are basically tiny computers that accomplish a variety of intelligent jobs. They can also help in building address tables that support routing decisions. |
5. | In a hub, we need a single network to connect. | Here also, we require a single network to connect. | It demands a minimum of two networks to connect. |
6. | It is inexpensive as compared to switch and router. | It is an expensive device than a hub. | It is a more expensive device than a hub and switch. |
Keep learning and stay tuned to get the latest updates on GATE Exam along with GATE Eligibility Criteria, GATE 2023, GATE Admit Card, GATE Application Form, GATE Syllabus, GATE Cut off, GATE Previous Year Question Paper, and more.
Comments