Posted: Thu Sep 15, 2022 2:43 Post subject: How to set static IPv6 on wan?
So I requested a static IPv6 to my fiber ISP, they gave me one(yes I know, only one) and now I am wondering how do I set it in dd-wrt.
I am using a R7000 with build r47033, the ISP told me that the port 4 of the ONU was now on bridge mode and they gave me two IPs, one private IPv4 and one public IPv6, they told I should dual stack because not all websites and services work with IPv6 yet.
This is what they gave me in the email:
IPv6:
2001:redacted for privacy /126
2001:redacted for privacy
DNS:
2001:4860:4860::8888
2001:4860:4860::8844
IPv4:
192.168.199.34 IP
255.255.255.0
192.168.199.1 Gateway
DNS:
8.8.8.8
8.8.4.4
My questions is, how do I configure the IPv6s, why did they gave me two, one with a prefix and the other none? And finally, why I can't type 3 digits in the prefix length?
Posted: Mon Sep 19, 2022 1:18 Post subject: I give up.
Well I give up , I couldn't figure it out, I even tried through SSH with the /etc/config/network file but it doesn't exist for some reason.
I'll have to get an R7800 and install OpenWRT on it.
What is the default nvram name and value for Prefix Length? ipv6_pf_len=64? nvram set ipv6_pf_len=126
Or, in browser right click in prefix length field inspect element set maxlength to 3 (temporary workaround).
What is the default nvram name and value for Prefix Length? ipv6_pf_len=64? nvram set ipv6_pf_len=126
Or, in browser right click in prefix length field inspect element set maxlength to 3 (temporary workaround).
The hacky inspect field thingy didn't work:
I rebooted the router and the setting was maintained but IPv6 connectivity still doesn't work.
Posted: Mon Sep 19, 2022 15:39 Post subject: Re: How to set static IPv6 on wan?
Per Yngve Berg wrote:
isaacx123 wrote:
This is what they gave me in the email:
IPv6:
2001:redacted for privacy /126
2001:redacted for privacy
DNS:
You have massedrap out to much information. Mask 4 digits in the middle.
Is the second address a /64?
It's probably for your lan.
The IPv6 my ISP gave me does work, I've confirmed by bypassing the R7000 and connecting my PC directly into the ONU and setting the IPv6 in the Windows's control panel, in the change adapter options settings: