(EDIT: warning! I used ffff:: to mask the ip! my bad... it is routable IP, i just chose badly when redacting it)
Hi. I'm trying to map some Ipv6 settings from a very weird modem UX. This is not openWRT specific, only so far as I have to solve this to get my openwrt device online. Goal is to have openWRT correctly advertise things if needed and/or not get in the way of SLAAC working its magic.
The modem is getting public (slightly obfuscated) ip
ffff:14c:7a::547
and I know it is a single /64 (which is plenty for this)
The UI have two options regarding IPv6... one is to show the LAN devices:
delegated prefix by system: ffff:014c:007a:84fc::/64
Prefix defined by user: [ ]
Server Configuration
The delegated prefix by LAN will be derived from Deletegated Prefix by system, and the initial address will have the same prefix Delegated by LAN
Activate [X]
Initial Address: ffff:014c:007a:84fc:0000:0000:0000:0001
Number of addresses: 4097
TTL: 3600
Activate rapid connect: [ ]
Activate Unicast: [X]
Deactivate Stateless DHCPv6: [X]
Button(Apply changes)
I think i can disable the disabling of stateless, since i want SLAAC... but i'm not sure about the other options. Do I need any of them?
What type of Internet service is this? It looks like LTE where everything is in one /64. You can't do any conventional further routing with a single /64, relay mode is about the best alternative.
If you capture packets on your WAN interface, you will probably see RAs from the modem advertising the same prefix.
I think its more likely that ffff:014c:007a:0000: is the prefix for Customer Connected devices, like a modem, and ffff:014c:007a:9390::/64 is just your single delegated prefix.
If you have only one LAN, then, no that its no problem and the default OpenWrt network config for wan and wan6, would just work out of the box.
PS: Or if you are really curious then set reqprefix 48 or 56 and see what you get.
Uh yeah nice! Not. I've heard of such bonkers and broken deployments. Yeah the only solution would be to have just a bunch of half random allocations for each subnet.