IPv6 working when PC connected to ONT but not with router

I'm not sure what is going on, on my router I only have IPv4 working but when I'm connecting my computer directly to the ONT I have both IPv4 and IPv6 working.
Where can I start to diagnose this problem?
I tried to follow a video on YouTube but I got confused.

ifstatus wan6
Replace the interface name if necessary.

{
        "up": false,
        "pending": true,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "proto": "dhcpv6",
        "device": "eth1",
        "data": {

        }
}

I reset the ONT, now OpenWrt is able to obtain an IPv6 address but my computer doesn't get IPv6.

See IPv6 doesn't work for connected devices - #4 by AndrewZ
then, if problem persists, show ifstatus lan

I solved the issue.
I set IPv6 assignment length to 64 on lan interface. Is that the correct method?
My IPv6 ULA-Prefix is empty.

ULAs are not used to connect to the Internet but you should have a GUA prefix (IP address starts with the number 2 or 3, not F). Try setting a reqprefix with standard sizes such as 60, 56 or 48 in the wan6 configuration.

I honestly have not idea what I'm doing.
So I changed it to 48, the interface refreshed and now what?
How do I know it worked?

Anyways, I'll post the solution on how I got it working for me.

  1. Disconnect the ethernet cable from the router to the ONT.
  2. Reset the ONT with the reset button.
  3. Wait for the PON's LED to return.
  4. Connect the ethernet cable from the router to the ONT.
  5. Confirm via ssh that there is an IPv6 connection with ping6 openwrt.org
  6. Open Luci and go to the lan interface, click edit and set the IPv6 assignment length to 64. In Global network options the IPv6 ULA-Prefix is empty.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.