All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Haley <brian.haley@hp.com>
To: Mohan Lal Jangir <mohanlal@samsung.com>
Cc: netdev@vger.kernel.org
Subject: Re: ipv6 route configuration
Date: Fri, 14 Nov 2008 13:09:49 -0500	[thread overview]
Message-ID: <491DBEED.3090009@hp.com> (raw)
In-Reply-To: <3E7B3A98D9974986B65CC4E3C9409B3C@samsung4qkw9nm>

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

      reply	other threads:[~2008-11-14 18:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14  9:38 ipv6 route configuration Mohan Lal Jangir
2008-11-14 18:09 ` Brian Haley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=491DBEED.3090009@hp.com \
    --to=brian.haley@hp.com \
    --cc=mohanlal@samsung.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.