What Is a LAN? Local Area Network Meaning, Types and How to Connect Two Computers

On this page
A LAN (local area network) is a network that connects computers and devices in one limited area, such as a home, office, school or building, so they can share an internet connection, files, printers and other resources. A typical home LAN is your router plus everything connected to it by Ethernet cable or Wi-Fi. The "LAN" ports on the back of your router are where wired devices plug in; the "WAN" port connects the LAN to the internet.
LAN at a glance
| Question | Answer |
|---|---|
| Full form | Local Area Network |
| Typical size | One home, office, floor or campus |
| Main technologies | Ethernet (IEEE 802.3) and Wi-Fi (IEEE 802.11) |
| Typical speed | 1 Gbps wired is standard; 2.5/10 Gbps increasingly common; Wi-Fi 6/7 up to several Gbps |
| Key devices | Router, switch, access points, cables, network adapters |
| Who owns it | The home or organization that uses it |
How a LAN works
- Devices (PCs, phones, TVs, printers) each have a network adapter with a unique MAC address.
- A switch (built into most home routers) forwards data between wired devices; access points do the same for Wi-Fi.
- The router gives each device a private IP address (via DHCP, for example 192.168.1.x) and connects the LAN to the internet through the WAN port; see what is a WAN port.
- Devices find each other with protocols such as ARP, mDNS and SMB for file sharing.
Types of LAN
| Type | How it connects | Pros | Cons |
|---|---|---|---|
| Wired LAN (Ethernet) | Cat5e/Cat6 cables to a switch or router | Fastest, most stable, low latency | Needs cables |
| Wireless LAN (WLAN / Wi-Fi) | Radio via access points | No cables, works with phones | Slower, interference, range limits |
| Virtual LAN (VLAN) | Logical groups on managed switches | Separates guest, IoT and work traffic | Needs configuration |
| Peer-to-peer LAN | Devices share directly (no server) | Simple home setup | Harder to manage at scale |
| Client-server LAN | Central servers for files, logins, apps | Central control, backups | More cost and admin |
LAN vs WAN vs MAN vs WLAN vs PAN
| Network | Area | Example |
|---|---|---|
| PAN (personal area network) | A few metres | Phone + Bluetooth earbuds and watch |
| LAN | Building or campus | Home or office network |
| WLAN | Same as LAN, wireless | Your Wi-Fi network |
| MAN (metropolitan area network) | A city | City fiber network linking offices |
| WAN (wide area network) | Countries, the world | The internet, company networks linking branches (MPLS, SD-WAN) |
LANs are faster, cheaper and privately owned; WANs cover long distances and usually rely on ISPs and carriers. An intranet is a private website/service system that often runs on a company's LAN.
LAN cables, ports and adapters
- Cable: Ethernet cable with RJ45 connectors. Cat5e handles 1 Gbps (and 2.5 Gbps on short runs); Cat6/Cat6a for 10 Gbps. See Cat5 vs Cat6.
- Port: an RJ45 socket, slightly wider than a phone jack, often with green/amber lights.
- Adapter/driver: the network interface card (NIC) in your PC (Intel, Realtek, Killer). If Ethernet stops working, update its driver from the PC maker or chip maker.
- Max length: 100 m per cable run for standard Ethernet.
How to network two computers (Windows 11 and 10)
Option A: both on the same router (recommended)
- Connect both PCs to the same router by Wi-Fi or Ethernet.
- On each PC: Settings → Network & internet → your connection → set Network profile type to Private.
- Control Panel → Network and Sharing Center → Change advanced sharing settings (Windows 11: Settings → Network & internet → Advanced network settings → Advanced sharing settings) → turn on Network discovery and File and printer sharing for Private networks.
- Right-click the folder to share → Properties → Sharing → Share (or Advanced Sharing), choose users and permissions.
- On the other PC, open File Explorer → Network, or type
\\PC-NAMEor\\192.168.1.xin the address bar, and sign in with an account on the sharing PC.
HomeGroup was removed in Windows 10 version 1803, so use the steps above or OneDrive/Nearby sharing instead.
Option B: direct cable between two PCs
- Connect the PCs with a normal Ethernet cable (modern adapters detect crossover automatically).
- Windows gives each an automatic 169.254.x.x address, or set static IPs: for example 192.168.10.1 and 192.168.10.2, subnet 255.255.255.0 (Control Panel → Network Connections → Ethernet → Properties → IPv4).
- Turn on Network discovery and sharing as in Option A.
Common LAN problems and fixes
| Problem | Fix |
|---|---|
| Other PC not visible under Network | Set network to Private; turn on Network discovery; type \\IP-address directly |
| "Network cable unplugged" | Try another cable/port; check adapter is enabled; update NIC driver |
| Connected at 100 Mbps instead of 1 Gbps | Damaged or old cable (needs all 8 wires); replace with Cat5e/Cat6 |
| IP address 169.254.x.x | Device isn't getting DHCP: restart router, run ipconfig /renew |
| IP address conflict | Restart devices; use DHCP reservations instead of manual IPs |
| Slow file transfers over Wi-Fi | Use Ethernet for big transfers or a Wi-Fi 6/7 router |
FAQ
Is Wi-Fi a LAN?
Yes. Wi-Fi is a wireless LAN (WLAN); it's part of the same local network as wired devices on your router.
What does LAN mean in gaming?
A "LAN party" or LAN mode means players connect over the same local network instead of the internet, giving very low latency.
Is the internet a LAN?
No. The internet is the largest WAN, a network of networks; your home LAN connects to it through your router.
What is the LAN port on a router?
The (usually yellow or numbered) Ethernet ports for your local devices; the separate WAN/Internet port goes to your modem or fiber box.
Related guides
- What Is a WAN Port? WAN vs LAN, How to Use It and Fixes When It Stops Working
- What is an Intranet? A Complete Guide for Beginners
- What is the Difference Between Modem and Router?
- Cat5 vs Cat5e vs Cat6 vs Cat6a: Ethernet Cable Differences Explained
- Ethernet Cable Termination Guide & Standards [Step By Step]