🎓 BookMCQ
← Back to 22. Next Generation IP

📝 Use of IP addresses during transition (8 MCQs)

Address Selection During IPv4 and IPv6 Coexistence

During transition, devices may hold IPv4 and IPv6 addresses simultaneously, and applications must select an address family suitable for the destination and available network path. DNS commonly supplies A records for IPv4 and AAAA records for IPv6. Correct source and destination selection, routing, and policy configuration help preserve connectivity while services migrate between protocol versions. This requires careful application and network-layer coordination.

IPv4 and IPv6 Address Forms in DNS

An A record stores an IPv4 address, whereas an AAAA record stores a 128-bit IPv6 address. A dual-stack hostname may publish both records. A client resolver and application select among available results according to host policy and connectivity. DNS records identify destinations; they do not themselves translate packets or guarantee that a route exists.

Using Addresses Across Dual-Stack and Translation Paths

A dual-stack host can choose an IPv4 source address for an IPv4 destination or an IPv6 source for an IPv6 destination. With NAT64, an IPv6 client may use a synthesized IPv6 address representing an IPv4 server. The translator maps the flow to IPv4, while DNS64 can help create the synthesized destination information.

Example of Address Use for a Dual-Stack Service

A web service publishes A record 192.0.2.40 and AAAA record 2001:DB8:10::40. A dual-stack client can attempt IPv6 using the AAAA result or IPv4 using the A result. If IPv6 routing is unavailable, client connection logic may fall back to IPv4, provided that path and service remain reachable.

Address Management and Security During Migration

Address coexistence affects firewall rules, access-control lists, logs, monitoring, DNS caching, and application configuration. Administrators must apply equivalent security policy to both families, remove stale records, and monitor source-address selection. IPv4-mapped IPv6 addresses are a software representation used in some APIs, not a general-purpose mechanism for routing IPv4 packets over IPv6.

Misconceptions About IP Address Use in Transition

'An AAAA record guarantees IPv6 connectivity' is incorrect because DNS cannot create a working route. 'A dual-stack host uses both addresses in one packet' is false because each packet uses one IP version. 'IPv4-mapped IPv6 is a translation tunnel' is wrong; it is an address representation used by some software interfaces.

Interpreting Address Records and Transition Examples

Students should distinguish A and AAAA records, identify which address family a packet uses, and explain source-address selection on a dual-stack host. Trace how NAT64 and DNS64 support unlike endpoints, and recognize why firewall policies and DNS updates must cover both address families throughout the transition. Explain what the resolver provides and what the route must support.

IP Address Selection During Transition Terms

  • A record - DNS record containing an IPv4 address.
  • AAAA record - DNS record containing an IPv6 address.
  • Source address - Identifies the packet's sending interface.
  • Destination address - Identifies the intended packet recipient.
  • DNS64 - Creates IPv6 DNS answers for IPv4 hosts.
  • NAT64 - Translates communication between IPv6 and IPv4.
2
Easy
4
Medium
2
Hard

📝 All Use of IP addresses during transition MCQs

Q1. Why does router R3 forward the multicast datagram only through interface 1 and not interface 2?

A.Interface 2 is congested, so R3 drops the packet.
B.There are no group members reachable via interface 2. ✅
C.Interface 1 has higher bandwidth, so R3 prefers it.
D.R3 is configured to ignore interface 2 for all traffic.
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: The multicast group has no members downstream of interface 2, so R3 knows that forwarding there would be wasteful. Multicast routing protocols prune branches without receivers, ensuring that only interfaces leading to at least one group member forward the packet, which in this case is only interface 1.

Q2. Assume a source sends the same data to three destinations. In multiple unicasting, three separate packets of size PP bytes travel each link. In multicasting, only one packet of size PP bytes travels each link once. Which statement correctly describes the total bandwidth consumption on a link with capacity CC?

A.Unicasting uses 3P3P bytes, multicast uses PP bytes, saving 50% bandwidth.
B.Both use 3P3P bytes, no saving.
C.Unicasting uses PP bytes, multicast uses 3P3P bytes, increasing bandwidth.
D.Unicasting uses 3P3P bytes, multicast uses PP bytes, saving 66% bandwidth. ✅
💡 Difficulty: medium | ✅ Correct: D

📖 Explanation: With three destinations, unicasting sends three copies, each PP bytes, totaling 3P3P bytes on the link. Multicasting sends a single copy, only PP bytes. The reduction is (3P−P)/3P=2/3(3P-P)/3P = 2/3, or about 66%, demonstrating the bandwidth efficiency of multicast over multiple unicasts.

Q3. When a source transmits a single multicast packet to 1,000 receivers, what is the primary advantage regarding transmission delay compared with sending 1,000 separate unicast packets?

A.All receivers get the data simultaneously, eliminating the cumulative creation delay. ✅
B.The packet size automatically reduces proportionally to the number of receivers.
C.Each router adds a fixed delay, making total delay independent of receiver count.
D.Multicast packets are prioritized by routers, guaranteeing faster delivery.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: A single multicast packet is generated once by the source, so there is no per‑receiver packet‑creation time. In contrast, sending 1,000 unicast packets introduces a sequential creation and queuing delay that can be significant. Multicast therefore removes the cumulative delay, delivering the data to all members as quickly as the network permits.

Q4. What does a multicast group address represent in IP networking?

A.An address that identifies a single host.
B.The MAC address of a router.
C.An address that identifies all members of a multicast group. ✅
D.The subnet mask for a network.
💡 Difficulty: easy | ✅ Correct: C

📖 Explanation: A multicast group address is a special IP address reserved for a set of hosts that have expressed interest in receiving the same data stream. Any packet sent to this address is delivered to every host that has joined the group, allowing efficient one‑to‑many communication.

Q5. If a new host joins the multicast group behind router R2, which of the following changes will occur in the forwarding behavior of router R1?

A.R1 will start sending the datagram out through interface 2 in addition to its existing interfaces.
B.R1 will stop sending the datagram through interface 3.
C.R1 will duplicate the packet and send one copy to R2 and another to R3.
D.R1’s forwarding behavior remains unchanged because R2 handles the new member locally. ✅
💡 Difficulty: hard | ✅ Correct: D

📖 Explanation: Router R1 already forwards the multicast datagram toward R2 via its interface that connects to R2. Adding a new receiver behind R2 does not require R1 to alter its forwarding decisions; the downstream router (R2) will take responsibility for delivering the packet to the new member.

Q6. Consider a link with capacity C=10C = 10 Mbps connecting routers R1 and R4. If the source sends data to 5 receivers via multiple unicasting, each packet of size P=2P = 2 Mb, what is the minimum time to transmit all packets over this link? Compare this with multicast where only one copy is sent.

A.Unicasting: 1 s; Multicast: 0.2 s. ✅
B.Unicasting: 2 s; Multicast: 0.2 s.
C.Unicasting: 1 s; Multicast: 0.4 s.
D.Unicasting: 2 s; Multicast: 0.4 s.
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Five unicast packets require 5×25 \times 2 Mb = 10 Mb of transmission. At 10 Mbps, this takes 10 Mb/10 Mbps=110 \text{Mb} / 10 \text{Mbps} = 1 s. A single multicast packet of 2 Mb needs only 2 Mb/10 Mbps=0.22 \text{Mb} / 10 \text{Mbps} = 0.2 s, showing a substantial time and bandwidth reduction.

Q7. In a multicast routing tree, which router is responsible for duplicating the incoming packet so that it can be sent out on multiple outgoing interfaces?

A.The router that first receives the packet from the source and has more than one downstream interface requiring the data. ✅
B.Every router along the path duplicates the packet regardless of downstream members.
C.Only the last router before the receivers duplicates the packet.
D.No router duplicates; the source sends multiple copies.
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: The first router that receives the multicast packet and discovers that more than one downstream interface leads to group members must replicate the packet. This duplication enables the packet to be forwarded along each branch of the tree, ensuring delivery to all receivers while minimizing unnecessary copies.

Q8. Given the network of routers R1–R4 shown in Figure 21.2, which modification would most efficiently reduce duplicate transmissions while ensuring all group members still receive the multicast datagram?

A.Configure R3 to forward the packet also through interface 2, creating redundancy.
B.Enable R1 to perform source‑specific multicast, sending separate streams to each member.
C.Implement a shared tree (PIM‑SM) so that R4 forwards the packet only on the interface that leads to members, eliminating the extra copy on its second interface. ✅
D.Replace multicast routers with unicast routers and rely on multiple unicasting.
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: Using a shared multicast tree (e.g., PIM‑SM) allows routers to construct a single distribution structure rooted at the source. R4 would then forward the packet only on the interface that reaches downstream members, removing the unnecessary duplicate on its other interface while still delivering the data to every group member.

🔗 Related Topics (MCQs)