Broadband Subscriber IPv6 Assignment
IPv6 BNG Packet Flow Reference Guide RA (/64) vs DHCPv6 Prefix Delegation (/56)
This document explains the end-to-end IPv6 packet flow in a Broadband Network Gateway (BNG), clearly separating the roles of Router Advertisement (RA) for the access link and DHCPv6 Prefix Delegation (PD) for subscriber network allocation.
The flow is aligned with real-world ISP deployments using IPoE or PPPoE access models.
1. Subscriber Session Creation When a subscriber connects (IPoE or PPPoE), the BNG creates a subscriber session containing IPv4 context, an IPv6 link (/64), and an IPv6 delegated prefix (/56).
2. Router Solicitation (RS) The CPE sends an ICMPv6 Router Solicitation (RS) to ff02::2 (All Routers) asking for IPv6 router presence.
3. Router Advertisement (RA) – /64 Link Prefix The BNG responds with an ICMPv6 Router Advertisement containing a /64 prefix. This prefix is used only for the WAN-side IPv6 address and Neighbor Discovery. It is equivalent to an IPv4 WAN address.
4. WAN IPv6 Address Configuration Using SLAAC, the CPE configures its WAN IPv6 address from the advertised /64 and installs a default route towards the BNG.
5. DHCPv6 Solicit – Prefix Delegation Request After WAN connectivity is established, the CPE sends a DHCPv6 SOLICIT message requesting an IA_PD, typically asking for a /56 prefix.
6. DHCPv6 Advertise The BNG responds with a DHCPv6 ADVERTISE message, offering a delegated /56 prefix from the subscriber pool.
7. DHCPv6 Request The CPE sends a DHCPv6 REQUEST to accept the offered delegated prefix.
8. DHCPv6 Reply – Prefix Delegation Complete The BNG confirms the allocation with a DHCPv6 REPLY. The /56 prefix is now bound to the subscriber session and installed in the BNG routing table.
9. CPE Internal Subnetting The CPE subdivides the /56 into multiple /64 LAN prefixes (home, guest, IoT, etc.) and sends RAs to internal hosts.
10. Traffic Flow Outbound traffic flows from hosts to CPE to BNG to core. Inbound traffic is routed directly to the delegated prefix without NAT.
11. Core Network View The core network only sees aggregated subscriber prefixes. Internal /64 LANs are hidden behind the CPE.
12. Key Design Takeaways RA provides link plumbing (/64). DHCPv6-PD provides customer ownership (/56). IPv6 assigns networks, not just addresses, eliminating the need for NAT.
Logical Flow Diagram (Textual)
|
Core
|
BNG
|-- RA (/64 link)
|-- DHCPv6-PD (/56 site)
|
CPE
|-- LAN /64s
|
Hosts
Comments
Post a Comment