IPv6 Connectivity

David Woodhouse dwmw2 at infradead.org
Wed Jan 29 12:00:28 EST 2014


On Wed, 2014-01-29 at 17:13 +0100, Nikos Mavrogiannopoulos wrote:
> 
> Indeed. I realized that in Linux there is black magic involved to set
> an IPv6 address to a device. The same ioctl is used (SIOCSIFADDR) but
> a different structure is passed (in6_ifreq) which isn't typically
> defined. Moreover SIOCGIFADDR isn't able to read the IPv6 address.

You should be using netlink for configuration, not the legacy ioctls.

> I think also that my assumption that a tun device allows for both an
> IPv4 and IPv6 address isn't true.

You *can* have both IPv6 and Legacy IP on a tun device simultaneously.
But perhaps not if you're just using the legacy ioctls?

-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20140129/92c516e7/attachment.bin>


More information about the openconnect-devel mailing list