If my router get these IPv6 /128 address and the PD /64 delegation range AND my 5G modem "PDP type" is IPv4/IPv6:
yes, my clients don't get IPv6 addresses assigned / nothing is getting delegated since it is deactivated on LAN
But one question:
Is the router itself, as a client, in the situation to assign a IPv6 to itself, to "this device" (in a firewall wording) and initiate a connection to a server using this IPv6 ?
BTW, The 5GModem (WAN) interface is always getting an
IPv6 /128 address and the PD /64 delegation range
--> independent of what I activate / deactivate in the advanced settings tab.
The only way not to get this is to set the "PDP type" to IPv4 only (and not IPv4/IPv6).
My thought is, that even if the router gets it, it is unused and LAN does never get something delegated / assigned. But: This still gives me question 2.
network:
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option delegate '0'
option ipv6 '0'
config interface '5G_MODEM'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option apn 'internet.blueocean'
option pincode '007'
option auth 'pap'
option username 'blueocea'
option password 'pm'
option pdptype 'ipv4' --> This is the settings that makes the difference described above
option sourcefilter '0'
option delegate '0'
No, it isn't. They're different settings (not sure why you think 2 different settings with different fields in different locations are somehow the same).
Did you configure the interface to have an address?
If so, yes.
Cool - but it's not clear why you're trying to stop IPv6 and what issues it resolved.
Edit:
Just FYI - trying to fully disable IPv6 isn't supported anymore (e.g. some services use IPv6 sockets, the Kernel developers removed the ability to disable IPv6 with build options, etc.).
Okay, in Luci, I see the tab "Global network options" and the field for "IPv6 ULA-Prefix"
So, I guess, this is the field affected by
delete network.globals.ula_prefix
For Luci Interfaces WAN, advanced settings "Delegate IPv6 prefixes", I don't see any field name. So, I cannot tell if it is the same or a different field.
Can you?
Do you see the configuration for 5G_MODEM (which is WAN)? I don't see anything related to this having an IPv6.
The " Virtual dynamic interface (DHCP client)" doesn't get one.
That's very interesting. Services on the device (?) using IPv6 sockets?
Even if there is the IPv6 delegation deactivated and no IPv6 range assigned to the device?
Somehow, I regret to ask these questions here in this forum.
There seem to be people who try to act as Wisenheimers and rather ask weird questions and add confusing - off topic - information, instead of trying to help someone coming up with questions.
Because you wrote:
Initially, I had two questions on my mind and I think I described them quite well:
Is this the same as the Luci: Interfaces WAN, advanced settings "Delegate IPv6 prefixes" setting?
Is the router itself, as a client, in the situation to assign a IPv6 to itself, to "this device" (in a firewall wording) and initiate a connection to a server using this IPv6 ?
After a couple of words, sentences and questions, I know two answers to my question:
yes / I don't understand the question, because they're obviously different to me. So yes, to answer your question, I can tell it's a different field.
Did you configure the interface to have an address? If so, yes.
Both answers are useless. Even if there is a yes/no answer to the question, can you imagine that there might be a very short explanation useful? Maybe a very little additional information, that goes any little tiny step beyond than just "yes" or "no"?
So please just close the thread, I will mark my answer as "Solution".
Yes, that's why I keep asking if there's an issue. I don't see how two clearly worded settings that produce different configs and have different forms can be identified as remotely identical.
It's unclear why you believe they're the same.
We also discussed that software can have an IPv6 socket. It's unclear why you're trying to ignore that. If we knew your issue, perhaps you woldn't be unsatisfied with answers.
In any case my apologies, maybe you think the socket discussion was off-topic. Anyways, I digress.
These comments really discourage people from answering inquires like this.
I dont see how your declaratice bullet lists have any semblance to actionable question. You disable all external ipv6 communication and worry not more. ipv6 wildcard sockets will become loopback only.
If you don't want to have a public v6 address on an LTE wan, configure pdptype to v4 only. Having it set to v6 is explicitly telling the modem driver that you want it to request (and install) a v6 IP from the ISP, and that will override the other UCI / netifd settings in OpenWrt.
This is no longer recommended, as it will break some applications that expect some sort of dual stack (even if it is LLAs only) to exist.