lan
tag did not apply, but a br0
tag had to be added for the ULA range. Specific details (and my memory) are sketchy, but I ultimately dropped the idea.And if you set DHCP-PD to Disabled you get to put in your own ip for br0, which could be a ULA If so wishes. It wouldn't work for internet (unless firewall rules for ipv6 nat is added) but that's another story.What is the use case here? If you enable IPv6 on the WAN then the bridge interface already gets a link local IPv6 address (IIRC).
And if you set DHCP-PD to Disabled you get to put in your own ip for br0, which could be a ULA If so wishes. It wouldn't work for internet (unless firewall rules for ipv6 nat is added) but that's another story.
Unless we know the use case as @ColinTaylor says, it's hard to give proper answer.
I have a vague memory of router already giving out ula alongside your public ip... or maybe that was just my setup, I don't use ipv6 on my lan anymore, last time was on 386 fw so things could have changed.The use case is that my network is IPv6-only and when the router reboots, it's only accessable by it's IPv4 LAN address. So having a ULA address there makes the router accessable over IPv6 as well, even when the net is down..
I think you're missing the point.Now we know the use case, with the right (ipv6) DDNS you can always use the host.domain.tld such so that could be something like https://c3po.thesearentthesitesyourelookingfor.com:8443
Are you sure you don't already have an IPv6 address? I've just looked at my old RT-AC68U and with IPv6 enabled but the WAN down it has a link local address (EUI-64).The use case is that my network is IPv6-only and when the router reboots, it's only accessable by it's IPv4 LAN address. So having a ULA address there makes the router accessable over IPv6 as well, even when the net is down..
I really hate reading man pages of dnsmasq. Somehow I always have more questions after reading then before. ButThe use case is that my network is IPv6-only and when the router reboots, it's only accessable by it's IPv4 LAN address. So having a ULA address there makes the router accessable over IPv6 as well, even when the net is down..
To me sounds like dnsmasq directive would announce all available addresses on the interface.--dhcp-range=::1,::400,constructor:eth0
will look for addresses on eth0 and then create a range from <network>::1 to <network>::400. If the interface is assigned more than one network, then the corresponding ranges will be automatically created,
ip -6 address add dev br0 your:e:uniq:e:ula::1/64
service restart_dnsmasq
Me to... but I somehow cannot use this to access the router gui, neither can I connect via ssh, can you?I've just looked at my old RT-AC68U and with IPv6 enabled but the WAN down it has a link local address (EUI-64).
Thanks guys for all the replies. LLA is indeed there when IPv6 is enabled. But that's not something you can use for accessing the GUI. ULA's, the RFC1918 equivalent is recommended so that's the common setup most people go with + the address doesn't change just like it's private IPv4 counterpart.I think you're missing the point.
Are you sure you don't already have an IPv6 address? I've just looked at my old RT-AC68U and with IPv6 enabled but the WAN down it has a link local address (EUI-64).
I do this exact thing.Thanks guys for all the replies. LLA is indeed there when IPv6 is enabled. But that's not something you can use for accessing the GUI. ULA's, the RFC1918 equivalent is recommended so that's the common setup most people go with + the address doesn't change just like it's private IPv4 counterpart.
So having the option to set it in the GUI would benefit alot of people that want to use it, me included. Heck, maybe also have an option to auto-generate/auto-populate a ULA address block when ULA is enabled.
Enclose IPv6 LLA in [ ]LLA is indeed there when IPv6 is enabled. But that's not something you can use for accessing the GUI.
Thanks. This does help temporarily. If I recall, when restarting the wan from the GUI, it removes any additional IPv6 addresses on br0, which I have 2 of them and will have to wait till the WAN re-establishes itself so it executes the wan0-connected script and adds back the addresses. A little tedious but a temporary workaround.I do this exact thing.
/jffs/scripts/ula contains:
#!/bin/sh
ip -6 addr add MyULA::1/64 dev br0
Which gets called by /jffs/scripts/services-start so it'll kick in upon reboot:
/jffs/scripts/ula # Assign ULA on boot
And since for some reason the GT-BE98 Pro removes the ULA randomly even when the WAN hasn't dropped, I also have this cron job added in services-start to keep it persistent:
cru a ula '*/1 * * * * /jffs/scripts/ula' # Ensure ULA cronjob runs every minute persistently after boot
Works perfectly. ifconfig br0 confirms all the addressing is there and properly kept assigned.
Also, unrelated to this exactly but I do a similar thing to blackhole all of Google's DNS, /jffs/scripts/blackholes contains:
#!/bin/sh
# Add blackhole routes for Google's DNS servers
# IPv4
ip route add blackhole 8.8.4.4
ip route add blackhole 8.8.8.8
# IPv6
ip -6 route add blackhole 2001:4860:4860::8844
ip -6 route add blackhole 2001:4860:4860::8888
I run two pi-holes locally with unbound as well so don't want hard-coded devices sneaking past. This forces them to behave.
I added fe80::1 to br0 and that is advertise as the default gateway to the clients.Enclose IPv6 LLA in [ ]
http://[fe80::xxxx:xxxx:xxxx:xxxx] works for me![]()
Me to... but I somehow cannot use this to access the router gui, neither can I connect via ssh, can you?
But I can ping it...
Well like I said that's why I add the cronjob to constantly add back the ULA every minute. If it already exists, it doesn't add it again, and if it's missing it puts it back. Works like a charm.Thanks. This does help temporarily. If I recall, when restarting the wan from the GUI, it removes any additional IPv6 addresses on br0, which I have 2 of them and will have to wait till the WAN re-establishes itself so it executes the wan0-connected script and adds back the addresses. A little tedious but a temporary workaround.
Would be great if the devs could add the option to add IPv6 addresses under the LAN section of the GUI.
The issue is how to access the webUI using a local IPv6 address when there is no WAN connection. DDNS won't help there.Accessing the WEBUI using IPv6 does work on the GT-AX6000 and I would assume on most newer routers. As does, having just tested this, using IPv6 only DDNS with my own domain, which is the much easier option IMHO!
# Add blackhole routes for Google's DNS servers
# IPv4
ip route add blackhole 8.8.4.4
ip route add blackhole 8.8.8.8
# IPv6
ip -6 route add blackhole 2001:4860:4860::8844
ip -6 route add blackhole 2001:4860:4860::8888
Crazy thing with Google Public DNS - the addresses you mention for IPv4/IPv6 are not the only ones - those go to a load-balancer and then go from there out to their cloud...
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!