A local area network (LAN) connects devices within a limited location such as a home, office, school, or building. Devices communicate over Ethernet or Wi-Fi to reach local services and usually share an internet gateway.
A LAN is defined by its local scope and administration, not by one cable or brand. A wireless LAN (WLAN) is the Wi-Fi portion of a LAN; a wide area network (WAN) links networks across greater distances; a virtual LAN (VLAN) creates logical separation on shared switching infrastructure.
Main LAN components
Router or gateway: connects the LAN to other networks and often provides firewall, NAT, DHCP, and DNS forwarding.
Switch: forwards Ethernet frames between wired devices. Managed switches can enforce VLANs and access controls.
Wireless access point: bridges Wi-Fi devices onto an authorized network.
DHCP: assigns IP configuration. DNS translates names to addresses. IPv4 and IPv6 may operate simultaneously.
Endpoints and services: computers, phones, printers, cameras, storage, servers, and IoT devices.
How LAN traffic flows
Traffic between devices in the same network may remain inside a switch or access point. Traffic for another network goes to a router. Internet access normally passes through the gateway firewall, but a firewall at the edge does not automatically prevent one compromised local device from attacking another.
VLANs separate broadcast domains, but they are not a complete security boundary unless routing and firewall policies restrict traffic between them.
Home LAN security checklist
Update router firmware and enable supported automatic security updates.
Replace default administrator credentials and protect the management account separately from the Wi-Fi passphrase.
Use WPA3-Personal where all essential devices support it, or WPA2-AES for compatibility. Avoid WEP and obsolete WPA/TKIP.
Disable administration from the internet, WPS, unused port forwards, and UPnP when it is not needed.
Place guests and untrusted IoT devices on an isolated guest network. Confirm that guest isolation blocks access to local devices.
Back up the router configuration after hardening and keep an inventory of connected devices.
Business LAN security checklist
Separate users, servers, management, voice, guest, operational technology, and IoT according to risk and required communication.
Apply firewall or ACL rules between segments using least privilege, not unrestricted routing.
Use enterprise authentication for wired and wireless access where appropriate, and protect infrastructure administration with MFA and a dedicated management path.
Disable unused switch ports and services; control rogue DHCP, DNS, and unauthorized access points.
Centralize time, configuration backups, logs, and alerts. Monitor new devices and unusual east-west traffic.
Document IPv6 as well as IPv4. Ignoring IPv6 does not disable it and can leave an unmonitored path.
CISA's network hardening guidance recommends segmentation using VLANs, ACLs, stateful inspection, and DMZ designs as part of defense in depth.
Safe LAN troubleshooting order
Check physical link, Wi-Fi association, and whether the device received the expected IP, gateway, and DNS values.
Test the local gateway, then a known IP destination, then DNS resolution. This separates connectivity from naming problems.
Compare one affected device with others on the same segment.
Review recent router, switch, DHCP, VLAN, firewall, and provider changes before factory-resetting equipment.
LAN FAQ
Is Wi-Fi the same as a LAN?
Wi-Fi is an access technology. A LAN can contain wired and wireless devices.
Does a strong Wi-Fi password secure the LAN?
It protects one entry point. Router management, firmware, segmentation, exposed services, and endpoint security still matter.
Does a VLAN encrypt traffic?
No. It separates traffic logically; encryption must come from protocols such as TLS, SSH, or a VPN.