Networking devices are components that connect electronic devices and allow them to share resources over a network. Common networking devices include network interface cards, hubs, switches, bridges, routers, and modems. A switch connects network segments and can perform error checking before forwarding data packets between devices on a local area network. A router connects two or more networks and reads address information in packets to determine the best path to forward packets between networks. Routers work at the network layer and contain routing tables to define the addresses of connected networks.