A local area network (LAN) is a set of hosts that are able to transmit data to one another via a connection to a common switch. Multiple LANs can be connected together with a router.