Start learning →

An IPv4 address consists of

A32 bits, four octets (e.g. 192.168.1.1)
B16 bits, two octets
C64 bits, eight octets
D128 bits (the IPv6 length)
Answer & Solution
Correct answer: A. 32 bits, four octets (e.g. 192.168.1.1)
1. IPv4 addresses are 32 BITS long, conventionally written as four DECIMAL octets separated by dots (e.g. 192.168.1.1). 2. Each octet is 8 bits (0-255 in decimal). 3. Total address space: $2^{32} \approx 4.3$ billion addresses — exhausted around 2011, prompting IPv6 transition. 4. Option D refers to IPv6 (128 bits). Options B, C are non-standard. _Source: RFC 1180 "A TCP/IP Tutorial", §5 (Internet Protocol — Addressing)._
Practise this question with Quill — GATE CSE →

Keep practising Computer Networks

Browse all Computer Networks questions for GATE CSE, or explore more Computer Science topics.

Start a Computer Networks lesson →
Related questions