A hub is a networking device which is used to connect multiple devices. It broadcast the data to devices connected to it but it doesn’t contain any routing table or cant filter the data that is why it sends the data to every device connected to it. Broadcasting every data to every device is a security risk. To understand how does hub work let suppose there is computer A, computer B, and Computer C is connected to the hub. Now if the hub sends data for computer A then computer B and C will also receive that data.
Types of hub
There are three types of hubs active hub, passive hub and intelligence hub.
Active hubs monitor the data send to the devices that are connected to the hub and require electricity to work. Before sending the data it checks the data and organises which packet to send first.
The passive does not need electricity to work and divide the signals that come from previous ports. The passive hub receives the packets on the port then transmit them into all ports.
The intelligent hub also is known as a smart hub. The intelligent hub works to monitor network traffic and it allows you to configure each port on it individually.
The switch is also a networking device used to network multiple computers together. Switches contain 4 to 8 Ethernet ports by which you can connect computers, cable or DSL modems, and other switches. The switch can perform error checking due to which it becomes very efficient because it doesn’t not forward that have errors. Switches are more advanced than a hub because it can specify addresses to send the data. The switch can find for which computer is the message intended and then send the data directly to that computer.
Types of Switches
There are mainly four types of switches which are Unmanaged Switch, Managed Switch, LAN switch and PoE Switch.
Unmanaged Switches are commonly used in homes because it comes in an affordable price range which makes it the perfect choice for home use. User can set up it easily by simply plugging into the network and the easy set up becomes another reason for home use.
The Managed Switches are quite costly in comparison to Unmanaged Switches but it is can be the best option for larger and complex networks. To configure the managed switches Simple Network Management Protocol (SNMP) is used.
LAN (local area network) switches are also known as Ethernet switches or data switches. The LAN switches help to reduce network congestion. It prevents overlapping of data packets in a network by allocating bandwidth in the correct way.
Power over Ethernet (PoE) switches merge the data and power transmission so that connected devices can receive both electricity and data. It is used in Power over Ethernet (PoE) Gogabit Ethernets.
The job of the router is to decide the best path for the data packets and then send the data packet using the same path. The router has to be connected to at least two networks and it connects usually LANs and WANs together. It is designed in such a way that it can handle the network traffic. To communicate with each other and to determine the best route between any two hosts it uses protocols.
Types of router
There are mainly five types of routers which are wireless router, wired routers, edge routers, core routers and virtual routers.
With everything becoming wireless, wireless routers also have started coming. The wireless routers create signals to connect with devices. To secure the router user have to set a password and user ID so that only authorized persons can access it.
As you may have understood by the name that it connects to devices with a cable. Wired routers can be used to connect computers or to connect to the Internet. An Ethernet cable is required to connect the devices with the router.
The Edge routers can be wireless and wired and can connect to the core routers. It distributes the data packets between multiple networks but it doesn’t distribute data packets within the network.
Core routers support the routing protocol that is used in the core. Inside the centre or backbone of the LAN network, the core routers reside. It distributes the data packets within the network and doesn’t distribute the data packets between multiple networks.
For computer sharing the virtual router is a default router. It can take multiple routers in the group due to which they share a virtual IP address. Every group contain a master to handles IP packets. In case master fails to forward data packets then routers take a place to forward data packets.