Network devices connect electronic devices together to share resources. Common network devices used for local area networks include hubs, switches, and routers. Hubs connect multiple devices and duplicate all data received to send it to all ports. Switches intelligently direct data only to the intended port. Routers forward data packets between different networks and subnets and perform traffic directing functions on the internet.