ipv6

Thomas Schäfer tschaefer at t-online.de
Fri Sep 21 13:53:14 PDT 2012


Am Freitag, 21. September 2012 um 22:20:23 schrieb Dan Williams:

> Ah, so right, maybe not DCHPv6.  I misunderstood your post "test result:
> mmcli connecting with IPv6 works".  

For clarification: when I write connecting IPv6 works the following happens:
mmcli says 
"succesfully connected the modem"

Then I make manually:

/sbin/ip link set wwan0 up

After that or before, I copy the 

/etc/resolv.conf.google (with the public dns) to /etc/resolv.conf

I am online.

> What would be interesting to know is
> if the kernel-derived SLAAC address is the same as what the modem
> actually reports with GetCurrentSettings.  Since the kernel's SLAAC
> address is based on the MAC of the ethernet adapter, and since we know
> that's made up by the kernel in some cases, I wouldn't doubt that the
> kernel's idea is wrong.  But it's probably right in many cases too.

Don't forget the privacy extensions, they are more and more enabled by 
default. (ubuntu 12.04 or earlier , opensuse since 12.1)

So the mac-based-address is there, but not alone.
We get /64 and no single IPs.


> 
> With IPv6 SLAAC there are the "nduseropt" options, which can include
> both nameservers (RDNSS) and domain names (DNSSL).  That does require
> the modem to handle these and pass them through though.  I'm not sure if
> they do or not. With Linux, they are only passed through to user
> applications via netlink when the kernel receives the RA from the modem
> firmware.  You need something in userspace (like NetworkManager) to
> listen for that, grab those options, and send them to /etc/resolv.conf.

Some months ago i made a wwan-dump, if I remember correctly there was no sign 
of DNS to find.


This testcase works for me with:

Hauwei H398 (Telekom Speedstick LTE)
Vodafone K5005 ( very similar, but not equal to H398)
ZTE-MF821D with branding von O2/Telefonica
Vodafone K5006-Z (ZTE 8....)

There are some limitations for me : 
I don't know about dualstack. (only IPv6 native)
I am forced to 2G/3G. (checking LTE and IPv6 is not possible in my 
testenvironment)


Regards,
Thomas







More information about the libqmi-devel mailing list