Skip to main content
InterviewHubPRO
Section Overview
Q45

Question 45 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

90%
Networking & Protocols (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

IP Addressing and Subnetting: IPv4 vs IPv6, CIDR notation, and RFC 1918.

senior Levelnetworking-protocolsAdvanced Internals

In Simple Words:

  • CIDR Notation (/24): Number of fixed network prefix bits. 192.168.1.0/24 has 24 network bits, leaving $32 - 24 = 8$ bits for hosts ($2^8 - 2 = 254$ usable host IPs).
  • RFC 1918 Private Ranges: Reserved for local networks, unroutable on the public internet:
    • 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16.
  • IPv6: 128-bit hexadecimal addresses ($3.4 imes 10^{38}$ addresses), eliminating the need for NAT and providing native end-to-end device connectivity.