Data Communication and Networking

Wireless Networking (Wi-Fi); Network Address Translation (NAT); Routing and Routing Protocols

C-CAT

Wireless Networking (Wi-Fi)

IEEE 802.11 Standards

StandardFrequencyMax SpeedRangeNotes
802.11b2.4 GHz11 Mbps~35mOld standard
802.11g2.4 GHz54 Mbps~35mCommon in early 2000s
802.11n (Wi-Fi 4)2.4/5 GHz600 Mbps~70mMIMO introduced
802.11ac (Wi-Fi 5)5 GHz3.5 Gbps~35mMU-MIMO
802.11ax (Wi-Fi 6)2.4/5/6 GHz9.6 Gbps~35mOFDMA, better in dense areas
Wi-Fi 6E6 GHz only9.6 GbpsLowerLess interference
Wi-Fi 7 (802.11be)2.4/5/6 GHz46 Gbps~30mMLO (multi-link operation)

Wireless Security Standards

StandardDescriptionStatus
WEPWired Equivalent PrivacyBroken — do not use
WPAWi-Fi Protected AccessDeprecated
WPA2Uses AES encryptionStill common
WPA3Enhanced security, SAE handshakeCurrent standard

2.4 GHz vs 5 GHz

Feature2.4 GHz5 GHz
RangeLongerShorter
SpeedSlowerFaster
InterferenceMore (Bluetooth, microwave)Less
PenetrationBetter through wallsWorse through walls
Channels14 (3 non-overlapping)25 (all non-overlapping)

Network Address Translation (NAT)

Why NAT?

The number of IPv4 addresses is limited (about 4.3 billion). NAT allows many devices to share one public IP address.

Types of NAT

TypeDescriptionUse Case
Static NATOne private IP ↔ one public IPServers with fixed public address
Dynamic NATPool of public IPs assigned dynamicallyLimited public IP pool
PAT (Port Address Translation)Many private IPs share one public IP using different portsHome routers, office

PAT (NAPT) — Most Common

Private IP:Port    → NAT Table →    Public IP:Port
192.168.1.100:12345 → 203.0.113.1:40001 → Internet
192.168.1.101:54321 → 203.0.113.1:40002 → Internet
192.168.1.102:9876  → 203.0.113.1:40003 → Internet

Routing and Routing Protocols

What is Routing?

Routing is the process of finding the best path for data to travel from source to destination across networks.

The Router:

  • Maintains a routing table with network paths
  • Selects best path based on metrics (hop count, cost, bandwidth)
  • Forwards packets from one network to another

Types of Routing

TypeDescriptionConfiguration
Static RoutingRoutes manually configured by adminManual
Dynamic RoutingRoutes learned automatically via routing protocolsAutomatic
Default RoutingSingle route "gateway of last resort"Manual

Routing Protocols

Interior Gateway Protocols (IGP) — within one organization

ProtocolTypeAlgorithmMetric
RIP (v1, v2)Distance VectorBellman-FordHop count (max 15)
OSPFLink StateDijkstra's SPFCost (bandwidth)
EIGRPHybridDUALBandwidth, delay, load, reliability
IS-ISLink StateDijkstra's SPFCost

Exterior Gateway Protocols (EGP) — between organizations/ISPs

ProtocolTypeUse
BGP (Border Gateway Protocol)Path VectorInternet routing between ISPs

Routing Table Example

Network          Next Hop         Interface    Metric
192.168.1.0/24   directly         eth0         0
10.0.0.0/8       192.168.1.1     eth0         10
172.16.0.0/12    192.168.1.1     eth0         20
0.0.0.0/0        192.168.1.1     eth0         100   ← default route

Continue learning

Related notes

Put this topic into timed practice

Open mock tests when you want full-exam pacing, or keep drilling in practice mode.