Hi,
i am having trouble to get a ipv6 over ipv4 tunnel to work
on a linux/sparc with a vanilla 2.4.18 kernel - It seems
there is something broken. The same setup works on i386.
wise:~# ip -V
ip utility, iproute2-ss010824
wise:~# ip tunnel add sit1 mode sit
ioctl: Invalid argument
wise:~# dmesg | grep IPv6
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
strace gets to this point:
[...]
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
ioctl(3, 0x89f1, 0xeffffb98) = -1 EINVAL (Invalid argument)
dup(2) = 4
[...]
After trying around a bit this showed up:
sys32_ioctl(ip:379): Unknown cmd fd(3) cmd(000089f3) arg(effffb88)
sys32_ioctl(ip:382): Unknown cmd fd(3) cmd(000089f3) arg(effffb88)
Flo
--
Florian Lohoff [email protected] +49-5201-669912
Heisenberg may have been here.
From: Florian Lohoff <[email protected]>
Date: Fri, 2 Aug 2002 21:36:10 +0200
i am having trouble to get a ipv6 over ipv4 tunnel to work
on a linux/sparc with a vanilla 2.4.18 kernel - It seems
there is something broken. The same setup works on i386.
Unfortunately SIT tunnels use SIOCDEVPRIVATE ioctls which we can't
support in 32-bit programs runnign on sparc64 hardware. Sorry.
Some day we'll add non-conflicting ioctls for SIT and other similar
devices using SIOCDEVPRIVATE but for now you're out of luck.