ONT cannot get IPV6 with PPPoE

Issue Description
The ONT is not receiving the IPv6 address by PPPoE, the BRAS assigns prefix and address through a DHCPv6 server. The ONT only gets the prefix, but not the address.

Alarm Information

The ONT can get some debuggings and found that PPP establishment is successful, but the ONT is sending a LCP ProtRej (Protocol Reject) so is suspected the ONT is not accepting the IPv6 address
166ae6eeeb444065a38f3e15542d70c2

Handling Process

1. Verified the WAN Configuration and is needed the IPv6 and prefix be obtained by DHCPv6.
defe7cb6a3f748d6bb27e3d0349b7fc7
2. We can make the debuggings logging by CLI to the ONT and apply the following command
8d75c8f09bd54c43a2907c4d784a3854
3. Also took some packet captures with the command set ethportmirror sourceport X destport Y mirrordate 2 enable 1
1a372f208e0c494982892583a62ea08c
4. Checking the packet capture, the Protocol Reject packet is because the BRAS is sending a PPP IPCP Configuration request, but the ONT will reject the IPCP packet, only will accept IPv6CP Configuration Request
ba8ec5c439604f8c8e968c0f49d79d60
5. In the packet captures we can see that the ONT requests the IPv6 address and prefix of the WAN through DHCPv6, but the BRAS only allocates the prefix information and does not allocate the IPv6 address.
a) The ONT requested the IPv6 address (IA_NA) and IPv6 prefix information (IAPD) in the DHCPv6 Solicit message:
e505e326e55b4ee184f8f78904b491b9
6. Checkin the response, the BRAS only replies the IPv6 prefix information (IAPD) in the Advertise message, and does not reply the IPv6 address information (IA_NA), so ONT’s WAN cannot obtain an IPv6 address. Need to further investigate the problem of the upper BRAS。
bc33a87ce7784f23aa7b1cca09236a7d
Although the ONT is requesting the IPv6 address in the IA_NA packet and the prefix in the IAPD, the ONT is only receiving the IAPD.
7. The Neighbor Discovery protocol uses a Router Solicitation and Router Advertisement to get the peer IPv6 address.
We checked that the ONT WAN interface sends RS (Router Solicitation) messages, but the ONT has not received the RA (Router Advertisement) message from the BRAS. Therefore, it is also necessary to confirm if the BRAS supports the Neighbor Discovery Protocol
b7fd3a5ed2b04191857dbbe3933f173f

Root Cause

The BRAS is not sending the IPv6 address because it does not have the neighbor discovery protocol enabled.
Solution

Enable the Neighbor Discovery Protocol in the BRAS.