WAN
Topic: Networking
WAN — Wide Area Network
WAN stands for Wide Area Network.
A Wide Area Network (WAN) is a network that connects computers, devices, and smaller networks across a large geographical area, such as multiple cities, states, countries, or continents.
A WAN can connect multiple LANs and MANs so that users and systems in different locations can communicate with each other.
What is WAN?
A WAN connects networks over long distances.
For example, a company may have offices in different cities:
WAN
|
┌─────┼─────┐
↓ ↓ ↓
Office A Office B Office C
| | |
LAN LAN LAN
The WAN provides connectivity between the different office networks.
Simple WAN Example
Suppose a company has offices in:
- Jaipur
- Delhi
- Mumbai
Each office has its own LAN.
Jaipur Office
|
LAN
|
Router
|
|
WAN
|
┌────┴────┐
| |
Delhi Mumbai
Office Office
| |
LAN LAN
Employees in different offices can communicate with authorized services and resources through the WAN.
Why Do We Need WAN?
WANs are used when organizations need to connect networks over long distances.
Common purposes include:
- Connecting branch offices
- Connecting data centers
- Accessing cloud services
- Sharing applications
- Connecting remote locations
- Supporting remote users
- Centralized resource access
- Business communication
How Does WAN Work?
A WAN uses routers and communication links to forward traffic between different networks.
A simplified example:
PC
|
LAN
|
Router
|
WAN Link
|
Router
|
LAN
|
Server
When a device sends traffic to a destination outside its local network, the traffic is forwarded to a router.
The routers use routing information to determine where the traffic should go next.
Components of a WAN
1. Routers
Routers are fundamental WAN devices.
They connect different networks and forward IP packets between them.
LAN A ─── Router A ─── WAN ─── Router B ─── LAN B
2. WAN Links
A WAN requires connectivity between geographically separated locations.
Examples include:
- Fiber connections
- Leased lines
- Internet connections
- MPLS
- Cellular networks
- Microwave links
- Satellite links
3. Switches
Switches may be used inside individual locations and within service-provider infrastructure.
For example:
PCs
|
Switch
|
Router
|
WAN
4. Firewalls
Firewalls can control and inspect traffic between networks.
They help enforce security policies and restrict unauthorized communication.
5. VPN
A VPN can provide secure connectivity over an existing network such as the Internet.
Example:
Office A
|
VPN
|
Internet
|
VPN
|
Office B
WAN Technologies
Different technologies can be used to build WAN connectivity.
1. Leased Line
A leased line is a dedicated telecommunications connection between locations.
Example:
Office A
|
Leased Line
|
Office B
It can provide predictable connectivity but may be more expensive than shared Internet services.
2. MPLS
MPLS stands for Multiprotocol Label Switching.
MPLS has been widely used by service providers to connect enterprise branches.
It can support different types of traffic, including:
- Data
- Voice
- Video
- Business applications
3. Internet
Organizations can use the public Internet to connect locations.
Security mechanisms such as VPNs can be used to protect traffic.
Office A
|
Router
|
Internet
|
Router
|
Office B
4. SD-WAN
SD-WAN stands for Software-Defined Wide Area Network.
SD-WAN uses software-based centralized management and can work across different types of WAN connections.
For example:
SD-WAN
|
┌─────────┼─────────┐
↓ ↓ ↓
Internet MPLS 4G/5G
Organizations can use multiple links and apply policies to manage traffic.
5. Cellular Networks
4G and 5G networks can provide WAN connectivity for locations where wired connections are unavailable or as a backup connection.
6. Satellite
Satellite communication can provide connectivity to remote locations where terrestrial connectivity is limited.
Types of WAN
WANs can be designed in different ways.
Point-to-Point WAN
A direct connection between two locations.
Office A ───────── Office B
Hub-and-Spoke WAN
One central location connects multiple branch locations.
HQ
/ | \
/ | \
Branch A Branch B Branch C
Full Mesh WAN
Each location has direct connectivity to multiple other locations.
A────────B
|\ /|
| \ / |
| \ / |
| \/ |
| /\ |
| / \ |
| / \ |
C────────D
Full mesh can provide multiple paths but may require more connections and configuration.
Hybrid WAN
A hybrid WAN combines multiple connectivity technologies or network designs.
For example:
Headquarters
/ \
MPLS Internet
/ \
Branch A Branch B
WAN Routing
Routing is a major part of WAN communication.
Routers use routing information to determine the path to remote networks.
Routing can be:
Static Routing
Routes are manually configured.
Network A
|
Router
|
Static Route
|
Network B
Dynamic Routing
Routers exchange routing information using routing protocols.
Examples:
- OSPF
- EIGRP
- BGP
WAN Addressing
WANs use IP addressing to identify interfaces and networks.
Example:
Office A Router
WAN IP: 203.0.113.1
Office B Router
WAN IP: 203.0.113.2
The exact addressing scheme depends on the network design and provider.
WAN Example: Company with Multiple Branches
Consider a company with offices in four cities:
Headquarters
|
Router
|
WAN / SD-WAN
┌───────────┼───────────┐
↓ ↓ ↓
Jaipur Delhi Mumbai
Branch Branch Branch
| | |
LAN LAN LAN
Each branch has its own LAN.
The WAN connects the branches and headquarters.
Employees can access authorized centralized services according to the company’s network and security policies.
WAN and Internet
The Internet is a global network of interconnected networks.
A company can use the Internet as a WAN transport network.
For example:
Office A
|
Router
|
Internet
|
Router
|
Office B
A VPN can be added when encrypted communication between locations is required.
WAN vs LAN
| Feature | LAN | WAN |
|---|---|---|
| Full Form | Local Area Network | Wide Area Network |
| Coverage | Limited area | Large geographical area |
| Example | Office network | Branch-to-branch network |
| Main Purpose | Connect local devices | Connect separate networks |
| Common Technologies | Ethernet, Wi-Fi | MPLS, SD-WAN, Internet, leased lines |
| Latency | Usually lower locally | Usually higher over long distances |
| Complexity | Generally lower | Generally higher |
WAN vs MAN
| Feature | MAN | WAN |
|---|---|---|
| Full Form | Metropolitan Area Network | Wide Area Network |
| Coverage | Metropolitan/city area | Large geographical area |
| Example | City-wide network | Multi-city or global network |
| Scale | Smaller | Larger |
| Typical Connectivity | Metro Ethernet, fiber | MPLS, SD-WAN, Internet, leased lines |
The distinction is not always strict because modern network architectures can span multiple geographical scales.
Advantages of WAN
1. Large Geographical Coverage
WANs can connect locations across cities, countries, and continents.
2. Branch Connectivity
Organizations can connect geographically distributed offices.
3. Centralized Services
Branches can access centralized:
- Applications
- Databases
- Servers
- Storage
- Cloud services
4. Remote Access
Employees can securely access organizational resources from remote locations using technologies such as VPN.
5. Cloud Connectivity
WAN connectivity allows organizations to connect offices and data centers to cloud platforms.
Disadvantages of WAN
1. Higher Cost
Some WAN services, especially dedicated connectivity, can be expensive.
2. Higher Complexity
WANs require careful design, routing, monitoring, and security.
3. Higher Latency
Long-distance communication generally introduces more latency than communication within a local network.
4. Security Risks
Traffic crossing public or shared infrastructure must be properly protected.
5. Dependency on Providers
Organizations may depend on Internet Service Providers or telecommunications providers for WAN connectivity.
WAN Security
Security is an important part of WAN design.
Common security technologies include:
- Firewalls
- VPN
- IPsec
- ACLs
- Encryption
- Authentication
- Network segmentation
- IDS
- IPS
- Secure routing
- Traffic monitoring
Practical WAN Example
You can create a simple WAN topology in Cisco Packet Tracer:
PC1 ─ Switch ─ Router1
|
|
WAN
|
|
Router2
|
Switch
|
PC2
Example addressing:
LAN 1:
192.168.10.0/24
WAN Link:
10.0.0.0/30
LAN 2:
192.168.20.0/24
The routers can be configured with static routes or a dynamic routing protocol such as OSPF.
After configuration, test connectivity using:
ping
traceroute
Common WAN Devices and Technologies
| Component | Purpose |
|---|---|
| Router | Connects different networks |
| Firewall | Controls network traffic |
| VPN | Provides secure connectivity |
| MPLS | Provider-based WAN technology |
| SD-WAN | Software-defined WAN management |
| Leased Line | Dedicated connectivity |
| 4G/5G | Cellular WAN connectivity |
| Satellite | Connectivity for remote locations |
| Fiber | High-speed physical connectivity |
WAN in Cloud Computing
WAN connectivity is also important in cloud environments.
For example:
Company Office
|
Internet
|
Cloud
|
AWS / Azure / GCP
Organizations may use:
- Site-to-Site VPN
- Dedicated cloud connectivity
- SD-WAN
- Internet-based connectivity
to connect their offices with cloud environments.
Important WAN Terms
| Term | Meaning |
|---|---|
| WAN | Wide Area Network |
| ISP | Internet Service Provider |
| MPLS | Multiprotocol Label Switching |
| SD-WAN | Software-Defined Wide Area Network |
| VPN | Virtual Private Network |
| IPsec | Security protocol suite commonly used for VPNs |
| Router | Connects and routes between networks |
| Leased Line | Dedicated network connection |
| Latency | Time taken for data to travel |
| Bandwidth | Capacity of a network link |
Quick Quiz
1. What does WAN stand for?
A. Wireless Area Network
B. Wide Area Network
C. Web Area Network
D. Wired Access Network
Answer: B
2. What is the main purpose of a WAN?
A. Connect devices within one room
B. Connect networks over large geographical areas
C. Connect only printers
D. Store files
Answer: B
3. Which technology is associated with software-defined WANs?
A. SD-WAN
B. USB
C. HDMI
D. Bluetooth
Answer: A
4. Which device is primarily responsible for routing traffic between networks?
A. Switch
B. Router
C. Printer
D. Monitor
Answer: B
5. Which technology can provide encrypted connectivity over the Internet?
A. VPN
B. Ethernet frame
C. DNS
D. DHCP
Answer: A
Summary
A Wide Area Network (WAN) connects networks across large geographical areas.
Key points:
- WAN can connect networks across cities, countries, or continents.
- Routers are fundamental to WAN connectivity.
- WANs can use Internet, MPLS, SD-WAN, leased lines, cellular, fiber, and other technologies.
- Static and dynamic routing can be used to reach remote networks.
- VPNs can provide secure connectivity over shared networks.
- WANs are widely used by enterprises, service providers, data centers, and cloud-connected organizations.
Want to learn this professionally?
Explore practical IT training at Cyber Code Academy.
View Academy Courses