@krakenfan69
Switch versus Hub - simply put.....
EtherNet works using CSMACD technology - that's Carrier Sense, Multiple Access, Collision Detect.
Carrier Sense - nodes on the network listen for no "carrier" signal, which is when no nodes are transmitting.
Because of Multiple Access, all nodes have equal priority, and can start transmitting simultaneously.
Then each node waits a random time delay, before waiting for a quiet network again. So one of the nodes will succeed, gaining the network resource for its sole use.
To be efficient, the network components should reduce the number of collisions, ideally to zero.
A Hub is just a dumb "port expander", meaning that a data-packet sent through one port will be relayed out of all the other hub ports. This of course escalates the possibility of collisions.
A Switch, however, will learn what IP addresses can be reached through each port. It will read the destination address embedded in each data-packet, and route it out to the port that is connected to the destination. This dramatically reduces the "collisions". If the switch ports only have one node attached to them, then collisions are eradicated completely (assuming that the ports are working in full-duplex mode). A switch will also allow devices at differen speeds (e.g. 10MB/s & 100MB/s) to communicate with each other.
Don't even consider using a hub nowadays.
Switch versus Hub - simply put.....
EtherNet works using CSMACD technology - that's Carrier Sense, Multiple Access, Collision Detect.
Carrier Sense - nodes on the network listen for no "carrier" signal, which is when no nodes are transmitting.
Because of Multiple Access, all nodes have equal priority, and can start transmitting simultaneously.
This will inevitably lead to "collisions", which all transmitting nodes will detect, and they will all stop transmitting.
Then each node waits a random time delay, before waiting for a quiet network again. So one of the nodes will succeed, gaining the network resource for its sole use.
To be efficient, the network components should reduce the number of collisions, ideally to zero.
A Hub is just a dumb "port expander", meaning that a data-packet sent through one port will be relayed out of all the other hub ports. This of course escalates the possibility of collisions.
A Switch, however, will learn what IP addresses can be reached through each port. It will read the destination address embedded in each data-packet, and route it out to the port that is connected to the destination. This dramatically reduces the "collisions". If the switch ports only have one node attached to them, then collisions are eradicated completely (assuming that the ports are working in full-duplex mode). A switch will also allow devices at differen speeds (e.g. 10MB/s & 100MB/s) to communicate with each other.
Don't even consider using a hub nowadays.
Last edited: