A router forwards data packets between computer networks to create an internetwork. It reads address information to determine a packet's destination and uses its routing table to direct the packet through networks until it reaches its destination node. A switch receives messages and transmits them only to the intended device, making it more intelligent than a hub which broadcasts to all devices. Common networking protocols include TCP/IP for addressing and transporting data, DNS for domain names, and HTTP/HTTPS for web protocols. Ethernet cables like Cat5e and Cat6 can support speeds up to 1 Gbps and 10 Gbps respectively. The document also discusses WiFi versions and configurations, powerline networking, firewalls, and network-attached storage (NAS).