NLB IPv6 Dual-Stack Traffic to EC2
Short answer
A The subnets where the EC2 instances are deployed do not have IPv6 addresses configured.
Question
Key Takeaways
Tests understanding of NLB target group requirements; the trap is assuming protocol translation occurs automatically without IP configuration on targets.
This question tests the prerequisites for Network Load Balancer (NLB) IPv6 dual-stack operation. The consensus is that backend EC2 instances must have IPv6 addresses configured in their subnets to receive traffic from an NLB.
Common mistake: Option B: Users often assume the issue lies with the NLB's route table, but NLB subnets typically handle routing correctly; the bottleneck is the lack of IPv6 IPs on the actual targets.
Expert Analysis
Why the Answer Is Correct
Network Load Balancers operating in dual-stack mode require that both the load balancer and the registered targets (EC2 instances) support the same IP version for direct forwarding. If the Auto Scaling group instances do not have IPv6 addresses assigned within their subnet, the NLB cannot establish a connection using IPv6 because the destination endpoint lacks the necessary address. Therefore, enabling IPv6 on the NLB alone is insufficient if the backend infrastructure is not also configured for IPv6.
Why the Other Options Are Wrong
Option B is incorrect because NLB subnets are managed by AWS and generally have default routes or appropriate configurations for internet-facing LBs; the failure is at the target level. Option C is partially related but less precise than A; while route tables matter, the fundamental prerequisite is the existence of IPv6 addresses on the instances themselves. Option D is incorrect because security groups would block traffic after it reaches the instance, not prevent the NLB from attempting to forward it based on IP availability.
Community Comment Notes
Comment [1] and [2] correctly identify that EC2 instances need IPv6 addresses to receive traffic. Comment [3] suggests IPv6-to-IPv4 translation occurs, which is misleading in the context of dual-stack direct routing; while some services support NAT64, standard NLB dual-stack expects native IPv6 on targets unless specifically architected otherwise with transit gateways or specific proxies.
Community Votes
80% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
djangoGroup 👍 3 Answered AThe EC2 subnets (where the Auto Scaling group instances run) do not have IPv6 addresses configured. Therefore, even though the Network Load Balancer (NLB) is operating in dual-stack mode and can accept IPv6 connections, it cannot forward IPv6 traffic to instances that do not themselves have IPv6 addresses in the same subnet.
-
ashk123456 👍 1 Answered AFor IPv6 traffic to flow from the NLB to the backend EC2 instances, the EC2 instances need to have IPv6 addresses assigned. Since the first phase was only to enable IPv6 on the NLBs, the backend EC2 instances likely weren't prepared to handle IPv6 traffic. Without IPv6 addresses configured in the EC2 subnets, the NLB cannot forward IPv6 traffic to the targets.
-
c1193d4 👍 1 Answered BSee https://docs.aws.amazon.com/whitepapers/latest/ipv6-on-aws/scaling-the-dual-stack-network-design-in-aws.html NLB does the IPv6 to IPv4 conversion during this first phase so that no IPv6 configuration is necessary in the EC2 subnet
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All ANS-C01 Questions
Access 137 questions with complete answers and detailed explanations.
View Full ANS-C01 Practice Test →