๐ŸŽ“ BookMCQ
โ† Back to 22. Next Generation IP

๐Ÿ“ IPv6 address space 128-bit structure (10 MCQs)

The 128-Bit Size of the IPv6 Address Space

IPv6 uses 128-bit addresses to identify network interfaces and support a vastly larger addressing space than IPv4. A 128-bit field permits 2^128 distinct bit patterns, providing room for hierarchical allocation across providers, organizations, subnets, and interfaces. Addresses are assigned to interfaces rather than simply to physical devices, and one interface may hold several addresses for different purposes or scopes.

Dividing an Address into Network and Interface Portions

An IPv6 address is interpreted with a prefix length that identifies the network portion; the remaining bits form the interface-specific portion under that subnet plan. A common LAN assignment uses /64, leaving 64 bits after the prefix. Other prefix lengths are used for routing aggregation and different allocation levels, so the boundary is determined by the prefix, not by fixed address classes.

Representing the Address as Eight 16-Bit Groups

The 128 bits are divided into eight 16-bit groups for hexadecimal display. Each group has four hexadecimal digits before optional zero shortening, and colons separate adjacent groups. A prefix such as /48 identifies the first 48 bits, while /64 identifies the first 64 bits. This notation makes large binary values easier to read, configure, compare, and route.

Calculating the Number of Addresses in a Prefix

A subnet with a /64 prefix has 64 bits outside the prefix, giving 2^64 possible interface-identifier patterns. The arithmetic is 18,446,744,073,709,551,616 patterns, although not every pattern is necessarily assigned to a host. This example demonstrates how prefix length determines the size of a subnet rather than imposing IPv4-style network and host classes.

Addressing Scale and Hierarchical Internet Allocation

The large space supports hierarchical allocation, route aggregation, and multiple address scopes, including global unicast, link-local, and multicast. It reduces the pressure for widespread address sharing that characterized IPv4 deployment, but does not remove the need for planning, filtering, routing policies, or address management. Prefixes allow networks to be divided and summarized efficiently across organizations and providers.

Misconceptions About IPv6 Address Capacity

'Every 128-bit pattern is a usable host address' is incorrect because special-purpose and reserved ranges have defined meanings. 'Every subnet must use /64' is too broad because allocation and link requirements vary, although /64 is common on LANs. 'IPv6 eliminates routing limits' is false; routers still depend on prefixes, routing tables, and policies.

Solving IPv6 Address and Prefix Calculations

Students should calculate the number of bit patterns remaining after a prefix, convert address groups between binary and hexadecimal, and distinguish interface identifiers from network prefixes. Be able to explain why /48 and /64 represent different subnet sizes, identify common address scopes, and avoid applying IPv4 classful rules to IPv6 addressing.

IPv6 Address Space and Prefix Terms

  • Address space - Set of all possible address values.
  • 128-bit address - IPv6 address containing 128 binary bits.
  • Prefix - Initial bits identifying a network.
  • Interface - Network attachment point assigned addresses.
  • Aggregation - Combining prefixes for compact routing.
  • Scope - Range within which an address is meaningful.
3
Easy
5
Medium
2
Hard

๐Ÿ“ All IPv6 address space 128-bit structure MCQs

Q1. If an organization exhausts its IPv4 address space and obtains additional addresses from a different block, what is the most likely immediate effect on its routing tables?

A.Decrease number of entries
B.Increase number of entries โœ…
C.No change
D.Router will shutdown
๐Ÿ’ก Difficulty: easy | โœ… Correct: B

๐Ÿ“– Explanation: When a network acquires a new, separate address block, the router must create additional routes to reach the new prefixes. This adds entries to the routing table, increasing its size. The change does not reduce existing entries, nor does it halt the router, so the correct effect is an increase in entries.

Q2. Suppose subnet A is defined as 192.168.1.0/24 and subnet B as 192.168.1.128/25. What can be inferred about the relationship between these subnets?

A.B is completely inside A โœ…
B.A is inside B
C.They are disjoint
D.They overlap partially
๐Ÿ’ก Difficulty: medium | โœ… Correct: A

๐Ÿ“– Explanation: A /24 network covers addresses from 192.168.1.0 to 192.168.1.255. A /25 network starting at .128 spans .128 to .255, which lies entirely within the /24 range. Therefore subnet B is a subset of subnet A, meaning B is completely inside A. The other statements describe different relationships that do not match the address ranges.

Q3. If an ISP restructures its address space from a flat /16 allocation to a hierarchical scheme where each site receives a /24, how will the number of OSPF Typeโ€‘3 LSAs (summary LSAs) likely change?

A.Increase exponentially
B.Remain the same
C.OSPF will stop
D.Decrease โœ…
๐Ÿ’ก Difficulty: medium | โœ… Correct: D

๐Ÿ“– Explanation: OSPF Typeโ€‘3 LSAs are generated when an area summarizes multiple networks into a single prefix. By moving from a single /16 to many /24 prefixes, the network can be aggregated at higher levels (e.g., /20 or /16) reducing the need for individual summaries. Consequently, the total number of summary LSAs tends to decrease, easing LSA traffic.

Q4. Which statement best captures the main advantage of classโ€‘less (CIDR) addressing over classful addressing?

A.Simpler subnet masks
B.Fixed network sizes
C.More efficient use of address space โœ…
D.No need for routing tables
๐Ÿ’ก Difficulty: easy | โœ… Correct: C

๐Ÿ“– Explanation: CIDR allows network prefixes of arbitrary length, enabling allocation of address blocks that closely match an organizationโ€™s size. This flexibility prevents the waste inherent in classful schemes, where whole classes (e.g., /24, /16) must be assigned even if only a fraction of the addresses are needed. Hence, CIDR improves the efficiency of address space usage.

Q5. When comparing IPv4 address fragmentation with CIDR aggregation, which tradeโ€‘off most accurately reflects their impact on routing and address utilization?

A.CIDR reduces waste and can reduce routing table size when aggregated โœ…
B.Fragmentation reduces routing table size
C.CIDR increases waste but simplifies routing
D.Fragmentation simplifies routing but wastes addresses
๐Ÿ’ก Difficulty: medium | โœ… Correct: A

๐Ÿ“– Explanation: Fragmentation (splitting a large block into many small, unrelated pieces) often leads to a larger routing table because each fragment must be advertised separately, and it wastes address space by leaving gaps. CIDR aggregation groups contiguous blocks under a common prefix, conserving addresses and allowing routers to advertise a single aggregated route, thereby reducing table size.

Q6. How does hierarchical address allocation affect the growth of routing tables compared to flat allocation?

A.Hierarchical leads to exponential growth
B.Flat leads to linear growth
C.Both produce identical growth
D.Hierarchical allows summarization reducing entries โœ…
๐Ÿ’ก Difficulty: hard | โœ… Correct: D

๐Ÿ“– Explanation: In hierarchical allocation, addresses are assigned in a way that reflects the networkโ€™s topology, enabling routers to summarize multiple subโ€‘nets under a common prefix. This summarization dramatically cuts the number of distinct routes that must be stored. Flat allocation lacks this structure, forcing routers to keep individual entries for each subโ€‘net, leading to larger tables.

Q7. A network is assigned a /24 prefix. How many usable host IP addresses does this network contain?

A.256
B.254 โœ…
C.255
D.252
๐Ÿ’ก Difficulty: easy | โœ… Correct: B

๐Ÿ“– Explanation: A /24 prefix provides 282^{8} total addresses because the host portion is 8 bits. Two addresses are reserved: the network identifier (all host bits zero) and the broadcast address (all host bits one). Therefore, usable hosts equal 28โˆ’2=256โˆ’2=2542^{8} - 2 = 256 - 2 = 254.

Q8. What is the primary effect of a highly fragmented address space on the convergence time of distanceโ€‘vector routing protocols?

A.Slower convergence due to more updates โœ…
B.Faster convergence
C.No effect
D.Convergence becomes impossible
๐Ÿ’ก Difficulty: medium | โœ… Correct: A

๐Ÿ“– Explanation: Distanceโ€‘vector protocols rely on periodic exchange of entire routing tables. When address space is fragmented into many small prefixes, each router must advertise a larger number of routes. The increased volume of updates amplifies processing and propagation delays, causing the network to take longer to reach a stable state after a change.

Q9. An ISP with multiple edge routers wants to allocate IPv6 address space to minimize global routing table entries. Which strategy best achieves this goal?

A.Assign each customer a unique /48 from a single /32
B.Allocate /64 per customer without aggregation
C.Use a /48 per customer aggregated under a /32 per region โœ…
D.Give each router a /56 from a flat pool
๐Ÿ’ก Difficulty: hard | โœ… Correct: C

๐Ÿ“– Explanation: By assigning each customer a /48 that is part of a regionโ€‘wide /32, the ISP can advertise the regional /32 as a single aggregate route. Individual customer routes are hidden behind this summary, reducing the number of prefixes announced to the global Internet. The other options either lack aggregation or use flat pools that increase advertised entries.

Q10. In IP networking, what does the term 'network prefix' refer to?

A.The host portion of an address
B.The portion that identifies the subnet mask
C.The decimal representation of the address
D.The leading bits that define the network portion โœ…
๐Ÿ’ก Difficulty: medium | โœ… Correct: D

๐Ÿ“– Explanation: The network prefix consists of the most significant bits of an IP address that designate the network to which the host belongs. These bits are determined by the subnet mask or prefix length (e.g., /24) and allow routers to forward packets based on the network identifier rather than the individual host address.

๐Ÿ”— Related Topics (MCQs)