Skip to content

huawei: add support for IPv6

Oliver Kästner requested to merge okaestne/ModemManager:huawei_ipv6 into main

This MR removes the restriction that only IPv4 (legacy IP) connections are allowed for Huawei modems.

For this, specialized methods for load_supported_ip_families_{ready,finish} are provided, which use the proprietary ^NDISSTATQRY instead of the default +CGDCONT command to determine whether IPv6 is supported, as the latter might return different results (i.e. reporting v6 support, that can't be used via NDIS).

Unfortunately, I wasn't able to read the IPv6 address nor IPv6 DNS servers from my E3372s-153. Host SLAAC works as intended, but no v6 DNS servers are provided (neither via RDNSS RA option nor DHCPv6), so IPv6 only connections aren't practically usable. On the other hand, dual-stack connections work without any issues.

Fixes #87 (closed), #469 (closed)

Edited by Oliver Kästner

Merge request reports

Loading