Subject: Re: ipv6 route configuration

From: Brian Haley <[email-masked]>
Date: Fri, 14 Nov 2008 13:09:49 -0500

Mohan Lal Jangir wrote:
> [foo:/root] route -A inet6 add 2::/64 gw 2::1 dev eth5
> SIOCADDRT: Invalid argument
> [foo:/root]
> Could someone please tell why route addition tells invalid argument ?

Because 2::1 is in the reserved address space (see 
http://www.iana.org/assignments/ipv6-address-space) and the kernel needs 
to have a unicast address for the gateway.  You could try using the 
link-local address (which is preferred) for that system instead.  Or use 
a real global prefix or generate a ULA.

-Brian