Hub Vs Switches
Internet hubs are generally used to connect with internet , it contains multiple port to switch with internet. Term ‘hub’ is sometimes referred as for the piece of network equipment that connects PCs together, but it actually use to refers as a multi port repeater. This type of device simply passes on (repeats) all the information it receives, so that all devices connected to its ports receive that information. Hubs connects through segments with LAN and send packets to its connected system and when a packet arrives at one port, it is copied to the other ports so that all segments of the LAN can see all packets.
Switches
Switches control the flow of network traffic based on the address information in each packet. A switch learns which devices are connected to its ports (by monitoring the packets it receives), and then forwards on packets to the appropriate port only. This allows simultaneous communication across the switch, improving bandwidth. This switching operation reduces the amount of unnecessary traffic that would have occurred if the same information had been sent from every port (as with a hub). Switches and hubs are often used in the same network; the hubs extend the network by providing more ports, and the switches divide the network into smaller, less congested sections.
Different between hub and switched:
A Hub is a networking device that allows one to connect multiple PCs to a single network. Hubs may be based on Ethernet, Fire wire, or USB connections. A switch is a control unit that turns the flow of electricity on or off in a circuit. It may also be used to route information patterns in streaming electronic data sent over networks. In the context of a network, a switch is a computer networking device that connects network segments.