From owner-freebsd-stable@FreeBSD.ORG Tue Jan 15 22:56:17 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 520DE620 for ; Tue, 15 Jan 2013 22:56:17 +0000 (UTC) (envelope-from lattera@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 02DDCF9F for ; Tue, 15 Jan 2013 22:56:16 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fy27so716691vcb.13 for ; Tue, 15 Jan 2013 14:56:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jS039QAZY7GqzmtEKQLnzE/qGl9KRuHuxy8RSz4fLl8=; b=rpge2KHqn8sB/eamcCT/QumVtxjxV/e8ghYX7W2AMWs1bWZXUmllOMdyn92hsWrA0B eYwnzyaNtLDJtr76Cpo2UUR4izwT1woxy0BfzXjBKbsioCU0sZrjOss+03wc3x/+7occ azQJGcpxH0aqZaStB9BvQfqflT4MAO9PjOsqGGyNUGhCmrnJqVerfnprm1FyOCTXr9pn pAIyNZHg3NKiUZrP8bA2s52I/qQiuU43zQ82PHnawj9AOQbSvUee3vol6tecIOpb/JfO eH3R3gf/iOE9vkLsFsb0vt9FqHhruBkPjP9TZepqhF9b3uyjISj9Znh/Car/UIRmuhL5 6Bxw== MIME-Version: 1.0 Received: by 10.52.22.240 with SMTP id h16mr94297577vdf.82.1358290574295; Tue, 15 Jan 2013 14:56:14 -0800 (PST) Received: by 10.58.152.42 with HTTP; Tue, 15 Jan 2013 14:56:14 -0800 (PST) In-Reply-To: References: <20130115052937.GA44328@anubis.morrow.me.uk> <20130115195444.GA92522@anubis.morrow.me.uk> <20130115215159.GA93174@anubis.morrow.me.uk> Date: Tue, 15 Jan 2013 17:56:14 -0500 Message-ID: Subject: Re: IPv6 Tunnel Shared With Jails via epair Devices From: Shawn Webb To: Ben Morrow Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-stable@freebsd.org" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 22:56:17 -0000 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 wrote: > On Tue, Jan 15, 2013 at 4:52 PM, Ben Morrow wrote: > >> Quoth Shawn Webb : >> > On Tue, Jan 15, 2013 at 2:54 PM, Ben Morrow 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. >