Skip to main content
InterviewHubPRO
Section Overview
Q5

Question 5 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

10%
Networking & Protocols (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What is an IP Address and what is CIDR notation?

junior Levelnetworking-protocolsBasic

In Simple Words:

  • IPv4: 32-bit address represented as 4 decimal octets (e.g. 192.168.1.1).
  • IPv6: 128-bit hexadecimal address (e.g. 2001:0db8::1).
  • CIDR (Classless Inter-Domain Routing): Appends a slash and prefix length (/24) indicating how many bits represent the Network Prefix:
    • 10.0.0.0/24: First 24 bits are network; remaining 8 bits are host addresses ($2^8 = 256$ IPs, 254 usable).
    • 10.0.0.0/16: 16 host bits ($2^{16} = 65,536$ IPs).