Hub & Switch
Last updated
Last updated
There two main types of device, that use ethernet and create Local Area Networks (LANs):
All the nodes, connected to the hub, receive all packets sent by another node but only destination node considers it. The other ones discard them.
Broadcast is very efficient.
There is Collision.
Network security level is very low.
Only the destination node can see the packets sent by another node to it.
There aren't collision.
Broadcast is supported.
Using switches, we can also create logical subnetworks of the hosts connected to the switch. For security reason, the access, to other subnetworks of the hosts connected to the hub, is usually managed through gateways connected to particular ports of the switch. Hence a packet, sent from a virtual network to another one, is sent to that ports to be able reach the final destination.
It is also possible to create a VLAN over 2 different switches. The connection between the two switches is done by adding an Layer-2 or Layer-3 connection. In the second case the connection is called Lan Emulation Tunneling (VPN).