IPv6 rooute rule adding bug
Fanta Private
nadtatrou at gmail.com
Fri Jul 9 11:17:05 UTC 2010
There is error using "ip" and "route" command when you want to add new route
to ipv6. I experienced similar error programming routing protocol using
netlink.
for 'ip" error: RTNETLINK answers: Invalid argument
for "route" error: SIOCADDRT: Invalid argument
e.g:
ifconfig eth1 inet6 add 301::1/64
route -6 add 400::/64 gw 301::2 dev eth1
SIOCADDRT: Invalid argument
ip -6 route add 400::/64 via 301::2 dev eth1
RTNETLINK answers: Invalid argument
route -- version
net-tools 1.60
using tap0 device it fails as well.
Also using <linux/rtnetlink.h> library adding the route rule fails. Error
[-22].
This does not work with latest Ubuntu distribution.
Kernel version generic 2.6.31-14-generic.
Any ideas how to fix it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20100709/5695690d/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list