Wireless and Routing Notes
1. IEEE 802.11a/b/g Standards: Frequency Bands, Data Rates, and Applications
IEEE 802.11 is a family of wireless LAN (WLAN) standards. Among its early versions, 802.11a,
802.11b, and 802.11g are the most commonly referenced. These standards differ mainly in their
operating frequency bands, data rates, modulation techniques, and ideal applications.
802.11a was introduced in 1999 and operates in the 5 GHz unlicensed band. It supports data rates
up to 54 Mbps using Orthogonal Frequency Division Multiplexing (OFDM). Because of the
higher frequency, 802.11a signals have shorter range (about 20–30 meters indoors) and are more
easily blocked by walls. However, they experience less interference from other household
devices (microwaves, Bluetooth, etc.) compared to 2.4 GHz networks. It is mainly suited for
office or enterprise environments where high speed and multiple access points are available.
802.11b also came in 1999 and operates in the 2.4 GHz band with a maximum data rate of 11
Mbps using Direct Sequence Spread Spectrum (DSSS). It offers longer range (about 100 meters
outdoors) and better wall penetration than 802.11a, but the 2.4 GHz band is more crowded,
leading to possible interference. 802.11b is suitable for small home networks where cost and
range are more important than speed.
802.11g, introduced in 2003, combines the advantages of both. It uses the 2.4 GHz band like
802.11b but achieves speeds up to 54 Mbps using OFDM. It is backward compatible with
802.11b devices, allowing a smooth upgrade. Its range is about 30–50 meters indoors. Because it
offers higher speeds while maintaining reasonable range and compatibility, 802.11g became
widely used in both homes and small offices.
| Standard | Frequency | Max Speed | Range | Application |
|---|---|---|---|---|
| 802.11a | 5 GHz | 54 Mbps | ~30 m | Office WLAN |
| 802.11b | 2.4 GHz | 11 Mbps | ~100 m | Home WLAN |
| 802.11g | 2.4 GHz | 54 Mbps | ~50 m | Mixed use |
2. WLAN Security Mechanisms: MAC Filtering, WEP, WPA
Wireless LANs are prone to security threats due to their broadcast nature. Three basic security
mechanisms are commonly used: MAC filtering, WEP, and WPA.
MAC filtering restricts network access based on the unique MAC addresses of devices. Only
devices whose MAC addresses are whitelisted can connect. Its advantage is simplicity and
immediate control, but it has major limitations: MAC addresses can be easily spoofed, and
manually managing them becomes impractical in large networks.
Wired Equivalent Privacy (WEP) is an older encryption protocol. It uses RC4 stream cipher with
40/104-bit keys to protect data. While it provided basic confidentiality when first introduced,
WEP is now considered insecure because of weak key management and predictable IVs
(initialization vectors) that attackers can exploit to crack keys quickly.
Wi-Fi Protected Access (WPA) was introduced as an improvement over WEP. It uses Temporal
Key Integrity Protocol (TKIP) with dynamic key changes and integrity checks. WPA
significantly improves security, making it harder for attackers to capture enough data to crack
keys. WPA2 and WPA3 further strengthen this by using AES encryption and robust
authentication.
In short, MAC filtering offers basic access control, WEP offers weak encryption, and WPA
provides much stronger security. Modern WLANs use WPA2 or WPA3 as standard security
while optionally using MAC filtering for added access control. WEP is now obsolete and should
not be used.
3. Key Factors for Evaluating WLAN Performance
Several key factors influence WLAN performance, especially for home networking
environments using IEEE 802.11 standards.
Data rate and throughput are primary indicators. Data rate is the theoretical maximum speed
(e.g., 54 Mbps for 802.11g), while throughput is the actual achieved speed after accounting for
overhead and interference. Higher throughput ensures smoother streaming and file transfers.
Signal range and coverage also matter. Lower frequency bands (2.4 GHz) offer better range and
wall penetration but are more crowded, while higher bands (5 GHz) provide higher speeds but
shorter range. The number and placement of access points affect coverage and dead zones.
Interference is another major factor. Other 2.4 GHz devices like microwaves and Bluetooth can
cause signal degradation. Using dual-band routers and selecting less congested channels can
improve performance.
Latency and jitter are important for real-time applications like video calls and gaming. Lower
latency improves responsiveness. Network congestion from many simultaneous users can
increase latency and reduce performance.
Security settings (WPA2, WPA3) and Quality of Service (QoS) features also impact performance
by prioritizing traffic types.
Overall, optimal WLAN performance depends on matching the correct standard (802.11n/ac/ax),
proper AP placement, minimizing interference, ensuring sufficient bandwidth, and maintaining
strong security configurations for stable and reliable home wireless networks.
4. Static Routing: Concept, Advantages, Disadvantages, Use Cases
Static routing is a method of manually configuring routes in a router’s routing table. Network
administrators define fixed paths for packets to travel between networks. These routes remain
unchanged unless manually updated.
Advantages include simplicity, predictability, and low overhead. Routers using static routes do
not exchange routing information, reducing bandwidth usage and CPU load. Static routing is also
more secure because routes are not advertised to other routers.
Disadvantages are lack of scalability and fault tolerance. If a link goes down, static routes do not
adapt, causing network outages until manually corrected. Managing static routes becomes
difficult in large, dynamic networks.
Static routing is best suited for small networks with few routers, stub networks (single exit
point), or in situations requiring strict control over routing paths. For example, a branch office
with one WAN link to headquarters can use static routes to direct all traffic through that single
link. In such environments, static routing offers simplicity and stability without the overhead of
dynamic routing protocols.
5. Dynamic Routing: Concept, Advantages, and Types
Dynamic routing automatically updates routing tables using routing protocols. Routers share
information about network topology, and routes are recalculated as the network changes.
Advantages include scalability, adaptability, and fault tolerance. Dynamic routing detects link
failures and reroutes traffic automatically, reducing downtime. It also reduces administrative
overhead in large networks by learning new routes automatically.
Dynamic routing protocols are classified into two types: Interior Gateway Protocols (IGPs) and
Exterior Gateway Protocols (EGPs). IGPs operate within an autonomous system and include
distance vector protocols like RIP and EIGRP, and link state protocols like OSPF and IS-IS.
EGPs operate between autonomous systems; the main example is BGP (Border Gateway
Protocol).
Dynamic routing is ideal for medium to large networks that experience frequent topology
changes, such as enterprise or ISP networks. It offers flexibility and resilience compared to static
routing.
6. Basic Routing Protocols: RIP, OSPF, EIGRP, BGP
Routing protocols differ in scope, algorithm, metric, and applications.
RIP (Routing Information Protocol) is a distance vector IGP using hop count as its metric, with a
maximum of 15 hops. It is simple and suitable for small networks but converges slowly.
OSPF (Open Shortest Path First) is a link state IGP that uses Dijkstra’s shortest path algorithm
and cost as a metric. It scales well and converges faster than RIP, making it suitable for large
enterprise networks.
EIGRP (Enhanced Interior Gateway Routing Protocol) is a Cisco proprietary hybrid protocol
combining distance vector and link state features. It uses a composite metric (bandwidth, delay,
reliability) and is efficient and fast, used in medium to large Cisco networks.
BGP (Border Gateway Protocol) is an exterior gateway protocol used between autonomous
systems on the Internet. It uses path vector algorithm and multiple attributes (AS path, policy) as
metrics. It is essential for large-scale Internet routing between ISPs.
| Protocol | Type | Algorithm | Metric | Application |
|---|---|---|---|---|
| RIP | IGP | Distance Vector | Hop Count | Small LANs |
| OSPF | IGP | Link State | Cost | Large Enterprises |
| EIGRP | IGP | Hybrid | Bandwidth/Delay | Cisco Networks |
| BGP | EGP | Path Vector | AS Path/Policy | Internet/ISPs |
7. Domain Name Space and DNS Operation
The Domain Name System (DNS) maps human-readable domain names to IP addresses. The
domain name space is hierarchical, structured like an inverted tree.
At the top are root servers. Below are top-level domains (TLDs) like .com, .org, .edu, and
country codes like .in. Under each TLD are second-level domains ([Link]), and then
subdomains ([Link]).
When a user enters a domain name, the DNS resolver on their device queries a DNS server. If the
IP is not cached locally, the resolver contacts a root server to find the responsible TLD server,
then contacts the TLD server to find the authoritative name server for that domain. The
authoritative server responds with the IP address, which is then cached by the resolver for future
use. This process is called DNS resolution.
DNS enables easy use of websites without remembering IP addresses. It is a critical distributed
naming system for the Internet.
8. DHCP Operation and Static vs Dynamic Allocation
Dynamic Host Configuration Protocol (DHCP) automatically assigns IP addresses and
configuration to devices on a network.
The DHCP operation involves four steps (DORA): Discover, Offer, Request, and Acknowledge.
When a client joins, it broadcasts a DHCP Discover. A DHCP server replies with an Offer
containing an IP. The client sends a Request accepting it, and the server responds with an
Acknowledge, confirming the lease.
Static allocation means manually assigning IPs to each device. It gives consistent addresses but
is time-consuming and prone to errors. Dynamic allocation lets the DHCP server assign available
IPs automatically from a pool, simplifying management. For example, printers or servers may
use static IPs for reliability, while laptops and phones use dynamic IPs to join easily.
DHCP reduces administrative effort, prevents IP conflicts, and is essential for scalable networks.
9. Single Node Architecture of a Wireless Sensor Network
A wireless sensor network (WSN) consists of many small sensor nodes. Each node has several
hardware components:
• Sensor: Detects physical parameters like temperature, light, or motion.
• ADC (Analog-to-Digital Converter): Converts sensor signals to digital data.
• Microcontroller: Processes data, controls components, and manages communication.
• Memory: Stores code and sensed data temporarily or permanently.
• Transceiver: Handles wireless communication (transmit/receive data packets).
• Power unit: Usually a battery or energy harvester powering the node.
These components work together to sense environmental data, process it, and transmit it to a
base station. Energy efficiency is crucial because nodes are battery-powered. Minimizing power
consumption in sensing, processing, and communication extends network lifetime. The
architecture enables large-scale environmental monitoring applications like agriculture, health,
and industrial automation.
10. IEEE 802.15.4 and ZigBee for WSN Applications
IEEE 802.15.4 is a low-rate wireless personal area network (LR-WPAN) standard. It supports
low data rates (20–250 kbps), short range (10–100 meters), and low power consumption, making
it ideal for sensor networks.
ZigBee is a protocol built on 802.15.4, adding network and application layers for device
addressing, routing, and security. ZigBee supports star, tree, and mesh topologies, allowing many
low-power nodes to communicate efficiently. It uses the 2.4 GHz, 915 MHz, and 868 MHz
bands.
Advantages include low cost, low power usage, scalability to hundreds of nodes, and suitability
for battery-operated devices. Limitations are low data rates and short range, making it unsuitable
for high-bandwidth applications.
ZigBee and 802.15.4 are widely used in home automation, industrial monitoring, smart
agriculture, and medical sensing, where small amounts of data must be transmitted reliably over
long periods on minimal power.