IPv6 enabler-tool available

lavonius | 01 November, 2011 11:25

[Guest-authored by Teemu Savolainen, our IPv6 mastermind.]

Internet Protocol version 6 is the successor of the widely deployed version 4. Thus far, adoption of IPv6 in cellular networks and on the internet has been slow. Lately, however, the industry’s interest in IPv6 deployment has increased significantly as the Internet Assigned Numbers Authority (IANA) and Asia Pacific Network Information Centre (APNIC) IPv4 address pools have already dwindled. IPv6 deployments for cellular networks have already started and will gain significant traction during 2012. It is important that all devices and IP-version aware applications are enhanced with support for IPv6.

The latest developer-mode update for Harmattan includes beta-level support for IPv6 targeted for developers' and IPv6 experimenters' needs. Enabling this will allow users and network operators to take advantage of IPv6 support in the Nokia N9, in order to test applications as well as network deployments. The IPv6 enabler package can be installed on the device by going to "Settings->Security->Developer mode"-view and selecting "Install" for IPv6 at the bottom of the view.

Once installed, this feature loads an IPv6 kernel module and enables IPv6 for WiFi and cellular network interfaces.  In the case of WiFi, IPv6 addresses are configured whenever the attached WiFi network is IPv6 enabled. In the case of cellular networks, whenever an Internet connection with IPv4 type of Packet Data Protocol (PDP) context is activated also IPv6 type of PDP context activation is attempted to the same Access Point Name (APN) as IPv4 was.  Please note that the IPv6 on the cellular networks usually requires special service subscription and is not currently available at all on most cellular operators’ networks.

The IPv6 module does support cellular network setups that use different APNs for IPv6 than for IPv4. However, that requires manual creation of a file called “/etc/v6apn” that shall contain the IPv6 APN name, and nothing else. IPv6-only networks are not supported.

After the installation of this package, and when connected to IPv6 enabled networks, it is possible, for example, to use Web browser to surf to IPv6 enabled websites. More importantly, also Qt supports IPv6 and it is possible, for example, to explicitly open IPv6 socket connections with QAbstractSocket::connectToHost or utilize QNetworkAccessManager to load content over IPv6. This IPv6 feature enables addition and verification of Qt applications’ IPv6 support on Harmattan.

For more information about Nokia’s views on IPv6 transition, please see Forum Nokia document entitled: ”Nokia Views on IPv6 Transition”.


RSSComments

Works just for Cellular networks?

lihamakaroonilaatikko | 01/11/2011, 15:39

I have IPv6 at home but my N9, despite of having installed the ipv6 support, does not get any IPv6 address. I was checking the scripts in the phone just to find out that the IPv6 seems to be activated only when in cellular network. Is this the case?

Re: Works just for Cellular networks?

tsavo | 01/11/2011, 16:34

This works in WiFi as well. IPv6 kernel module is loaded at any network attachment (by 00_enable_ipv6 script), be that WiFi or cellular. The more complex script (01_enable_apn_ipv6) is required to setup IPv6 PDP in the case of cellular networks.

Try close/start WiFi and see if it helps.

You might also want to check what addresses are configured by "ip addr show" command in Terminal, there should be IPv6 addresses on wlan0 interface if your network has IPv6 enabled.

You can also check with "lsmod | grep ipv6" that the IPv6 kernel module is loaded.

-Teemu

Same as the first post

larsxsamuelsson | 02/11/2011, 09:08

Hi,

Yeah, i noticed the same thing yesterday. Even though the ipv6 module was loaded into the kernel on my n9 it did not receive a ipv6 adress, although the rest of my network devices all got them.

I'll try to dig a little deeper into it tonight, but it seems that me and lihamakaroonilaatikko bumped into the same issue. :-[

How did you check you have no IPv6 address?

tsavo | 02/11/2011, 17:18

Did you check the address with "ip addr show" instead of "ifconfig" or did you try browsing for example to www.testipv6.com? (busybox is not IPv6 enabled at the moment and that's why you should not assume IPv6 address is not configured just because it is not shown by by ifconfig:-).

Re: How did you check you have no IPv6 address?

larsxsamuelsson | 03/11/2011, 08:14

It was my bad. I had checked the ipv6 connectivity on my n900 just 10 minutes before, and then i had a crash on my ipv6 connection at home just after that, before i played around with the N9.. :P

I feel a little bit ashamed for not checking up on that. :)

Cheers and kiitos for the assistance! :)

You must login to post comments. Login
 
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved