LAN
LAN — Local Area Network
LAN stands for Local Area Network.
A Local Area Network (LAN) is a network that connects computers, servers, printers, smartphones, and other devices within a limited geographical area, such as a home, office, school, computer lab, or building.
LANs allow connected devices to communicate with each other and share resources such as files, printers, applications, and Internet connections.
What is LAN?
A LAN is a network designed to connect devices within a relatively small area.
Simple Example
Internet
|
Router
|
Switch
/ | \
/ | \
PC1 PC2 PC3
|
Printer
In this example, the computers and printer are connected to a switch and form a Local Area Network.
The router provides connectivity to other networks, such as the Internet.
Where is LAN Used?
LANs are commonly used in:
- Homes
- Offices
- Schools
- Colleges
- Computer laboratories
- Hospitals
- Banks
- Small businesses
- Data centers
Example: Office LAN
Router
|
Firewall
|
Switch
/ | \
/ | \
PC1 PC2 PC3
| |
Printer Server
All these devices can communicate within the organization’s local network.
How Does a LAN Work?
A LAN uses networking devices, cables or wireless technology, and network protocols to allow devices to communicate.
A typical wired LAN works like this:
PC
|
Ethernet Cable
|
Switch
|
Ethernet Cable
|
Server
When PC1 sends data to another device, the switch examines the destination MAC address and forwards the Ethernet frame toward the appropriate port.
For communication outside the local network, the device normally sends traffic to a default gateway, which is commonly a router or Layer 3 switch.
Main Components of a LAN
1. End Devices
End devices are devices that send or receive data.
Examples:
- Desktop computers
- Laptops
- Servers
- Printers
- IP cameras
- Smartphones
- IoT devices
2. Switch
A network switch connects multiple devices within a LAN.
PC1
|
|
PC2 ─ Switch ─ PC3
|
|
Server
Switches use MAC addresses to make forwarding decisions at the Ethernet layer.
3. Router
A router connects different networks.
For example:
LAN ─── Router ─── Internet
The router can act as the default gateway for devices on the LAN.
4. Network Interface Card
A Network Interface Card (NIC) allows a device to connect to a network.
A NIC may provide:
- Ethernet connectivity
- Wi-Fi connectivity
Each network interface has a link-layer address, commonly called a MAC address.
5. Transmission Media
Devices can connect using wired or wireless technologies.
Wired
- Ethernet copper cable
- Fiber optic cable
Wireless
- Wi-Fi
LAN Technologies
Common LAN technologies include:
Ethernet
Ethernet is the most widely used wired LAN technology.
Ethernet commonly uses:
- Switches
- Ethernet cables
- MAC addresses
- Ethernet frames
Wi-Fi
Wi-Fi provides wireless LAN connectivity.
A wireless LAN may look like this:
Wireless Router
/ | \
/ | \
Laptop Phone Tablet
Wi-Fi allows devices to communicate without requiring an Ethernet cable for every client device.
Types of LAN
LANs can be implemented in different ways.
Wired LAN
Devices connect using physical network cables.
PC ─── Cable ─── Switch ─── Cable ─── Server
Advantages
- Stable connection
- Low latency
- High throughput
- Less affected by wireless interference
Wireless LAN
Devices connect using Wi-Fi.
Access Point
/ | \
/ | \
Laptop Phone Tablet
Advantages
- Mobility
- Easy client connectivity
- Less cabling
- Convenient for users
LAN Topologies
A LAN can use different physical or logical arrangements.
Common topologies include:
- Star
- Bus
- Ring
- Mesh
- Tree
- Hybrid
Modern Ethernet LANs commonly use a star topology, where devices connect to a central switch.
PC1
|
|
PC2 ─────── Switch ─────── PC3
|
|
Server
LAN Addressing
Devices in a LAN commonly use IP addresses for Layer 3 communication.
Example:
PC1 → 192.168.1.10
PC2 → 192.168.1.11
PC3 → 192.168.1.12
Router → 192.168.1.1
Here, the devices are using addresses from the same IPv4 subnet.
A device also has a MAC address for Ethernet communication.
Example
IP Address:
192.168.1.10
MAC Address:
00:1A:2B:3C:4D:5E
The IP address is used for logical addressing, while the MAC address is used for local Ethernet frame delivery.
LAN and Broadcast Domain
A LAN can contain one or more broadcast domains, depending on its configuration.
For example, a basic switched network without VLAN separation may have a single broadcast domain.
PC1 ─┐
PC2 ─┼── Switch ── Router
PC3 ─┘
If VLANs are configured, different VLANs normally represent different Layer 2 broadcast domains.
VLAN 10 VLAN 20
PC1 ─┐ PC3 ─┐
PC2 ─┼─ Switch PC4 ─┼─ Switch
This allows the network to be logically segmented.
LAN vs WAN
LAN and WAN are different types of networks.
| Feature | LAN | WAN |
|---|---|---|
| Full Form | Local Area Network | Wide Area Network |
| Coverage | Limited area | Large geographical area |
| Example | Office network | Branch-to-branch network |
| Typical ownership | Organization/home | Often uses multiple providers/networks |
| Common technologies | Ethernet, Wi-Fi | MPLS, SD-WAN, leased lines, VPN, Internet |
| Latency | Usually lower within the local network | Often higher across long distances |
Advantages of LAN
1. Resource Sharing
Users can share:
- Printers
- Files
- Storage
- Applications
2. Fast Communication
Devices on a LAN can communicate at high speeds, depending on the network technology.
3. Centralized Management
Organizations can centrally manage:
- Users
- Servers
- Applications
- Security
- Data
4. Internet Sharing
Multiple devices can access the Internet through a common gateway.
5. Easy Collaboration
Users can work with shared files, applications, and services.
Disadvantages of LAN
1. Limited Coverage
A traditional LAN is designed for a relatively small geographical area.
2. Setup Cost
A business LAN may require:
- Switches
- Routers
- Access points
- Cables
- Firewalls
- Servers
3. Maintenance
Networks require regular:
- Monitoring
- Troubleshooting
- Updates
- Security management
4. Security Risks
Poorly configured LANs can expose systems to:
- Unauthorized access
- Malware
- Data theft
- Network attacks
Proper authentication, segmentation, access controls, and security policies help reduce these risks.
Real-World LAN Example
Consider a training institute with:
- 20 computers
- 2 printers
- 1 server
- Wi-Fi access
- 1 Internet connection
The network could be designed like this:
Internet
|
Firewall
|
Router
|
Switch
┌─────────────┼─────────────┐
| | |
PCs Server Printer
|
Access Point
/ | \
Phone Laptop Tablet
The internal devices form the organization’s LAN.
LAN Security
A LAN should be properly secured.
Common security mechanisms include:
- Strong passwords
- Network segmentation
- VLANs
- Firewalls
- Access Control Lists
- Port Security
- 802.1X authentication
- Secure Wi-Fi
- WPA2/WPA3
- Regular software updates
- Network monitoring
Practical LAN Example
You can create a simple LAN using Cisco Packet Tracer.
Network
PC1 ─────┐
|
PC2 ─────┼──── Switch
|
PC3 ─────┘
Assign IP addresses:
PC1 → 192.168.10.10
PC2 → 192.168.10.11
PC3 → 192.168.10.12
Subnet Mask:
255.255.255.0
Then test connectivity:
ping 192.168.10.11
If the configuration is correct, PC1 should be able to communicate with PC2.
Important LAN Terms
| Term | Meaning |
|---|---|
| LAN | Local Area Network |
| NIC | Network Interface Card |
| MAC | Media Access Control |
| IP | Internet Protocol |
| Switch | Connects devices within a LAN |
| Router | Connects different networks |
| Ethernet | Common wired LAN technology |
| Wi-Fi | Common wireless LAN technology |
| VLAN | Logical Layer 2 network segmentation |
| Default Gateway | Device used to reach other networks |
Key Points
Remember:
- LAN stands for Local Area Network.
- LAN connects devices within a limited geographical area.
- Ethernet and Wi-Fi are common LAN technologies.
- Switches commonly connect devices within a LAN.
- Routers connect different networks.
- Devices use IP addresses for logical network communication.
- Ethernet uses MAC addresses for local frame delivery.
- VLANs can logically divide a switched network into separate broadcast domains.
- LANs are widely used in homes, offices, schools, and data centers.
Quick Quiz
1. What does LAN stand for?
A. Large Area Network
B. Local Area Network
C. Logical Area Network
D. Long Area Network
Answer: B
2. Which device commonly connects multiple devices in a LAN?
A. Switch
B. Monitor
C. Keyboard
D. CPU
Answer: A
3. Which technology is commonly used for wired LANs?
A. Ethernet
B. Bluetooth
C. GPS
D. NFC
Answer: A
4. What is the purpose of a router in a LAN?
A. Store files
B. Connect different networks
C. Display webpages
D. Print documents
Answer: B
5. Which address is used at the Ethernet link layer?
A. IP Address
B. MAC Address
C. Port Number
D. URL
Answer: B
Summary
A Local Area Network (LAN) connects devices within a limited geographical area and enables communication and resource sharing.
LANs commonly use Ethernet, Wi-Fi, switches, routers, IP addressing, and network protocols.
Understanding LANs is an important foundation for learning:
VLAN → Switching → Routing → Subnetting → Network Security → Cisco Networking
Want to learn this professionally?
Explore practical IT training at Cyber Code Academy.
View Academy Courses