Router, switch, and hub are networking devices that connect and direct data traffic. Routers connect networks and forward packets based on IP addresses, allowing networks to span different protocols. Switches have multiple ports and can perform error checking before selectively forwarding packets to connected devices based on MAC or IP addresses. Hubs are the simplest devices and broadcast all data to all connected devices without intelligence about the best path, making them inefficient. Routers support WAN technologies and share a public IP with connected devices, switches can operate at layers 2 and 3, and hubs were used for small low traffic networks.