๐ 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.
๐ 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?
๐ 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?
๐ 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?
๐ 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?
๐ 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?
๐ 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?
๐ 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?
๐ Explanation: A /24 prefix provides 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 .
Q8. What is the primary effect of a highly fragmented address space on the convergence time of distanceโvector routing protocols?
๐ 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?
๐ 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?
๐ 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.