Date: Tue, 15 Jan 2013 17:56:14 -0500 From: Shawn Webb <lattera@gmail.com> To: Ben Morrow <ben@morrow.me.uk> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: IPv6 Tunnel Shared With Jails via epair Devices Message-ID: <CADt0fhxOEtsa5kJTzEb5wKrqAW0yqN0Oht6aFDtRSHQSm_dR2g@mail.gmail.com> In-Reply-To: <CADt0fhwJVTu-93ehPRmzaUru_9eoWmkSm9jkd-k1FwUQpjQO0Q@mail.gmail.com> References: <CADt0fhxG-EqZq_cYq3YvkYGd=yY4o7FTxW6fmra0Zt06oyAO=A@mail.gmail.com> <20130115052937.GA44328@anubis.morrow.me.uk> <CADt0fhxCuy8xrahJAcGTSqXWFd4DHT7TwcXYtYYLV77BSFUsqw@mail.gmail.com> <20130115195444.GA92522@anubis.morrow.me.uk> <CADt0fhwEia10jT3nrz=nbCO%2Bw5JZdUsTcrX83AMKRYWm4XxGrg@mail.gmail.com> <20130115215159.GA93174@anubis.morrow.me.uk> <CADt0fhwJVTu-93ehPRmzaUru_9eoWmkSm9jkd-k1FwUQpjQO0Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Somehow there ended up a typo in the CC to freebsd-stable@freebsd.org. Last email below: On Tue, Jan 15, 2013 at 5:53 PM, Shawn Webb <lattera@gmail.com> wrote: > On Tue, Jan 15, 2013 at 4:52 PM, Ben Morrow <ben@morrow.me.uk> wrote: > >> Quoth Shawn Webb <lattera@gmail.com>: >> > On Tue, Jan 15, 2013 at 2:54 PM, Ben Morrow <ben@morrow.me.uk> wrote: >> > > >> > > ifconfig epair0b inet6 -ifdisabled >> > > >> > > I don't know why you get that error when you miss out the 'inet6'; >> it's >> > > not exactly very clear. >> > > >> > >> > Ah. That works. I'll just have to add that to my scripts. Since the >> device >> > won't come out of tentative mode without manually removing the >> ifdisabled >> > flag, should I go ahead and file a PR? It'd be nice if I could at the >> very >> > least set a timeout for DAD. >> >> DAD already has a timeout: it succeeds iff no packets indicating someone >> else is using the address are received in a given time. The only reason >> for an address remaining tentative indefinitely (without transitioning >> to either valid or duplicated) is if IPv6 on that interface has been >> disable entirely by setting IFDISABLED. If DAD fails for the LL address >> the interface is marked IFDISABLED but the LL address is marked >> duplicated rather than tentative. >> > > I figured it out. In my jail initialization scripts, I'm running '/bin/sh > /bin/rc' after doing initial network setup. The rc script puts the > interface in IFDISABLED mode. So if I run the ifconfig command to remove > the flag, I'm golden. I've committed and pushed the code that fixes the > problem in my scripts. If you're curious, you can look at > https://github.com/lattera/drupal-jailadmin/commit/cbf8509712c3dd237bbc020f49f63b51507b7be4 > > Thanks for the help. I really appreciate it. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADt0fhxOEtsa5kJTzEb5wKrqAW0yqN0Oht6aFDtRSHQSm_dR2g>