The invention relates to the technical field of computer networks, in particular to an ONU gateway IPv6 address
allocation method and device of a PON network, equipment and a medium. In addition, the ONU
problem solution obtaining method of the PON network can also be applied to a
fiber to room (FTTR), an enterprise-level
fiber to room (FTTR-B) and a
broadband fusion terminal product, and the ONU
problem solution obtaining method of the PON network can also be applied to the FTTR, the enterprise-level FTTR-B and the
broadband fusion terminal product. The ONU gateway obtains an
association mapping table, and records a multi-WAN link PD prefix and a binding relationship between the multi-WAN link PD prefix and an LAN bridging group comprising at least one LAN port; expanding a
router announcement function based on the table, and directionally distributing an announcement message containing a matched PD prefix to an LAN
port access terminal; and meanwhile, a DHCPv6 function is expanded, a terminal request message is received, an interface identifier is extracted, a PD prefix is matched in combination with the corresponding relationship between the bridging group and the port, and the two are combined to generate a complete IPv6 address and returned through a response message. According to the invention, the problem that the LAN port and the IPv6 address under the multi-WAN link cannot be accurately bound and allocated in the prior art is solved.