From: Dan Williams <dcbw@redhat.com>
To: Sylvain Munaut <s.munaut@whatever-company.com>
Cc: Lorenzo Colitti <lorenzo@google.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: Who/What is supposed to remove IPv6 address from interface when moving from one network to another ?
Date: Mon, 18 Mar 2013 15:42:46 -0500 [thread overview]
Message-ID: <1363639366.7698.10.camel@dcbw.foobar.com> (raw)
In-Reply-To: <CAF6-1L7Von88pAhHzhyaJiL8x4w9cNpJw+k+0Giu5Jh-fYJ37g@mail.gmail.com>
On Mon, 2013-03-18 at 19:28 +0100, Sylvain Munaut wrote:
> Hi,
>
> >> This might be a dumb idea but, would it make sense for the kernel not
> >> to use as source address, an address generated from a prefix for which
> >> the route has expired ?
> >
> > The route doesn't expire either. (And neither does the default gateway).
>
> Ah sorry.
>
> In my case the router lifetime is much shorter ( a few minutes ) and
> expired by the time I get home, which is why I was only faced with the
> "using bad source address" issue.
>
> In anycase, following Dan's reponse, I just flush all ipv6 on suspend
> now ... (NetworkManager was a bit heavy-weight to just sort that
> particular issue ...)
While I'm not an IPv6 expert I would actually expect the kernel to stop
using any IPv6 address or route that had expired, and that was *added
automatically* by the kernel as a result of a router advertisement.
Perhaps that's not how it actually works, but would be nice to hear from
some kernel IPv6 people why that's not how it works, if that's the case.
Dan
next prev parent reply other threads:[~2013-03-18 20:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAF6-1L4=xACZdqvJ6AZL4XkY17N0pC9PnPfNfK9Tk7QB47c1tw@mail.gmail.com>
2013-03-14 19:33 ` Who/What is supposed to remove IPv6 address from interface when moving from one network to another ? Sylvain Munaut
2013-03-14 19:48 ` Dan Williams
2013-03-18 16:51 ` Lorenzo Colitti
2013-03-18 17:03 ` Dan Williams
2013-03-18 18:11 ` Sylvain Munaut
2013-03-18 18:12 ` Lorenzo Colitti
2013-03-18 18:28 ` Sylvain Munaut
2013-03-18 20:42 ` Dan Williams [this message]
2013-03-18 20:49 ` Mikael Abrahamsson
2013-03-18 18:34 ` Hannes Frederic Sowa
2013-03-18 18:39 ` Lorenzo Colitti
2013-03-18 18:58 ` Hannes Frederic Sowa
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=1363639366.7698.10.camel@dcbw.foobar.com \
--to=dcbw@redhat.com \
--cc=lorenzo@google.com \
--cc=netdev@vger.kernel.org \
--cc=s.munaut@whatever-company.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).