All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xavier Roche <roche*lkml@httrack.com>
To: netdev@vger.kernel.org
Subject: "src" attribute ignored for IPv6 (preferred source address selection)
Date: Sat, 04 Sep 2010 11:47:52 +0200	[thread overview]
Message-ID: <4C8215C8.8000908@httrack.com> (raw)

Hi folks,

In an attempt to change the source address in various conditions 
(network prefix, outgoing protocol, user owner id, ..), it appeared that 
the src attribute of an IPv6 route command (ip -6 route add .. src ..) 
was simply ignored.

The outgoing interface can be selected, but not the preferred source 
address (see (1)), which remains always the same within an interface.

If this a bug ? Or a known limitation of the kernel ?


(1) IPROUTE2 Utility Suite Howto
"src ADDRESS --- the source address to prefer using when sending to the 
destinations covered by route prefix. This address must be defined on a 
local machine interface. This will come into play when routes and rules 
are combined with the masquerade rules of the ipchains firewall we 
discuss later."


             reply	other threads:[~2010-09-04 10:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-04  9:47 Xavier Roche [this message]
2010-10-17  1:12 ` "src" attribute ignored for IPv6 (preferred source address selection) Daniel Roesen
2010-10-29 20:11   ` David Miller

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=4C8215C8.8000908@httrack.com \
    --to=roche*lkml@httrack.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.