I am having a problem configuring OpenWRT to use IPv6, specially with Android clients.
As far as I know, Android doesn't have DCHPv6, and must use NDP to work. Windows/Linux could use both. I read a lot of tutorials and technical data, but I am stuck.
I use Hughes satellite internet, that gives /64 IPv6 adresses (seems what I need). It comes with a cheap router, with that I could use IPv6 with Android/Windows/Linux gracefully, but I'm unable to get and copy those configuration to OpenWRT. So ISP maybe not a problem.
For Android I mean 7.0 Nougat and for OpenWRT I mean version 18.06.1.
So far, the only configuration of DHCP I was able to use IPv6 with Windows/Linux is:
But with this config, Android connects to WiFi, gets an IPv4, then gets an IPv6 and then disconnects, like not having connectivity. Even if I put the WiFi network to keep connected without Internet access...
Any other combination of this and Windows/Linux can't connect to IPv6 address. I couldn't understand why.
In order to connect Android to WiFi, I need to disable IPv6 (WAN6, all DHCP configs or at least "Router Advertisement-Service").
I've tried disable firewall, and nothing changes, so probably it is not a missing rule of NDP. I've also have a guest network, same problem occurs without it. I was able to have lan with IPv6 for Windows/Linux and use guest without IPv6 only for Androids...
Any help is welcome. If needed I send more config files and screenshots. I want to bring this for discussion to try to isolate the problem.
I was messing around, and tried to remove "list dns"/"Announced DNS servers" options (I was using Google IPv6 DNS). Now it's working with server or hybrid configs, Android at all.
I'm not sure if it is a bug or why this is happening.
My LAN is working fine, I get one local IPv4, one fe80 IPv6 and two 2804 IPv6s.
But GUEST network still not working, even cloning all configurations and disabling firewall. In Android I only get I get one local IPv4 and one fe80 IPv6, then it disconnects.
I hooked up a travel router to a site that had Hughes and got an ip6 prefix, so I do think they offer more than a 64. It was a while back and don't remember details.
I have Comcast, not Hughes. That said, I was unable to divide a /64 back with LEDE, it would cause errors. So I request and receive a /60 from Comcast and divide that between the regular and guest networks.
Thanks, now I understand.
I tried to request /60 or less with no success. It is the same Hughes, I am using in Brazil, so is another satelitte. I will contact support.
I will maybe leave GUEST with IPv4 only. It is better to have any internet than none.
Two things are still not clear to me:
Is IPv6 assignment length and hint configs in LAN/GUEST used for NDP or only for DHCPv6?
Is it possible to have LAN/GUEST /65 or /68 subnets? How to do this? (Sorry I didn't find anywhere)
Smallest proper subnet is a /64 according to standards. ISPs should give /60 or /56 routinely, but they don't always do it. Still I think Hughes does based on the one place I encountered it.