====== Hub ====== ==== What is a hub? ==== Hub is a [[network-devices|network device]] used for directly connecting computers. It acts as a center for LAN. It can be considered a multi-port [[network-repeater|repeater]]. ==== How does it work? ==== Hub works on the [[network-layer-physical|physical layer]]. It receives bits and sends them to all the devices connected to it (flooding strategy). It has no routing table, it can't filter data. When bits reach a device, the device checks their destination address and matches it to its own [[mac-address|MAC address]]. If 2 devices send data simultaneously, collision occurs and data gets lost. Devices then have to wait a certain amount of time to try again. The transmission mode is [[network-duplex|half-duplex]].