A Local Area Network (LAN) is a computer network that consists of cables, routers, and switches that enable devices to connect to web servers and internal servers within a single building, campus, or home network, and to other LANs via Wide Area Networks (WAN) or Metropolitan Area Network (MAN). Devices on a LAN network, typically workstations and personal computers, can share files and be accessed by each other over a single Internet connection.
A LAN network can be one of the two types: wired or wireless. A wireless LAN network (or WLAN) uses radio waves to communicate, in which mobile users can connect to a Local Area Network (LAN) through a wireless connection and move around in a confined area while they are still connected to the network. A wired LAN network requires Ethernet cables to physically connect all computers on the network to a main device called switch, and since all devices need to be connected to the network switch with cables, it then may have requirements for the switch port numbers, which mainly depends on the numbers of your connected devices. In a wired LAN network, a network switch can not only be used to connect to the router and facilitate communication between the connected devices, but also can expand the number of LAN ports available on the network.