3.1 IPv4 Addressing: Classes & Reserved
Classful addressing: Class A (1.0.0.0–126.255.255.255), Class B (128.0–191.255), Class C (192.0.0–223.255.255), Class D (multicast), Class E (reserved). Default subnet masks. Private IP ranges: 10.x, 172.16–31.x, 192.168.x. Loopback: 127.0.0.1. Why private IPs exist (IPv4 exhaustion).
3.2 Subnetting & CIDR
Subnet mask: which bits are network, which are host. CIDR notation: /24 = 255.255.255.0. Subnetting calculations: network address (AND IP with mask), broadcast address (OR with inverted mask), first/last usable host, number of hosts (2^host_bits - 2). "Given 192.168.10.50/26, find network, broadcast, and host range" — the #1 CN numerical question.
3.3 VLSM & Supernetting
Variable Length Subnet Masking: different subnets can have different sizes. "Divide 192.168.1.0/24 into subnets for departments of 100, 50, 25, and 10 hosts." Supernetting (route aggregation): combine multiple networks into one route entry (e.g., four /24s → one /22). Reduces routing table size.
3.4 IPv4 Header & Fragmentation
IPv4 header fields: version, IHL, TTL, protocol, source/destination IP, checksum, flags, fragment offset. TTL: prevents infinite loops (decremented at each router). Fragmentation: splitting packets when MTU is exceeded. MF flag and fragment offset. Reassembly at destination. "What is MTU?" — asked frequently.
3.5 NAT: Network Address Translation
NAT translates private IPs to public IPs. Types: Static NAT (1:1), Dynamic NAT (pool), PAT/NAT Overload (many:1 using port numbers — what home routers use). Why NAT exists: IPv4 address exhaustion. NAT breaks end-to-end connectivity — implications for peer-to-peer. "How does NAT work?" — standard interview question.
3.6 IPv6 Fundamentals
128-bit addresses (3.4 × 10^38 addresses). Address format: 2001:0db8:85a3::8a2e:0370:7334. No NAT needed (enough addresses for every device). No fragmentation at routers (done at source). No checksum (handled by upper layers). Transition mechanisms: dual stack, tunnelling, translation. Why IPv6 adoption is slow but inevitable.
3.7 ARP, ICMP & DHCP
ARP (Address Resolution Protocol): IP → MAC resolution. ARP request (broadcast), ARP reply (unicast). ARP cache. ICMP: error reporting (destination unreachable, time exceeded) and diagnostics (ping uses Echo Request/Reply, traceroute uses TTL). DHCP: automatic IP assignment (Discover → Offer → Request → Acknowledge). "How does DHCP assign an IP?" — frequently asked.
Placement relevance: Subnetting is THE most asked CN numerical — "Given this IP and mask, find network/broadcast/hosts" appears in TCS, Infosys, Wipro, GATE, and every product company CN question set. NAT, ARP, ICMP, and DHCP are guaranteed conceptual questions. IPv4 vs IPv6 is a standard comparison question. This is the most exam-critical CN module.