From owner-freebsd-stable@FreeBSD.ORG Wed Sep 2 03:52:37 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCFDB1065676 for ; Wed, 2 Sep 2009 03:52:37 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 24E788FC29 for ; Wed, 2 Sep 2009 03:52:37 +0000 (UTC) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id D2E5D3982B; Wed, 2 Sep 2009 05:52:34 +0200 (SAST) Date: Wed, 2 Sep 2009 05:52:34 +0200 From: John Hay To: FLEURIOT Damien Message-ID: <20090902035234.GA77802@zibbi.meraka.csir.co.za> References: <20090901201345.GA42379@zibbi.meraka.csir.co.za> <20090901212939.GA9713@sd-13813.dedibox.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090901212939.GA9713@sd-13813.dedibox.fr> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: Not getting an IPv6 in a jail X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 03:52:37 -0000 On Tue, Sep 01, 2009 at 11:29:40PM +0200, FLEURIOT Damien wrote: > On Tue, Sep 01, 2009 at 10:13:45PM +0200 or thereabouts, John Hay wrote: > > > > I have not used jails with link-local addresses, only global addresses > > and that works. It looks like you did not specify the whole link-local > > address in the jail_*_ip line. You need to add the %interface for a > > proper ipv6 link-local address, eg. fe80::c0a8:fc%lo252. Not everything > > works with link-local addresses though and jail might be one of them. > > > > John > > -- > > John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org > > > Thanks for the hint John, I just tried by appending the interface % > and it still won't work any better: > > rc.conf: > jail_ns_ip="192.168.0.252,fe80::c0a8:fc%lo252" > > jls -v output doesn't change. > ifconfig output within the jail doesn't change. > ifconfig output on the host's lo252 doesn't change. > > I'm afraid I don't have spare IP6s to assign to my public interface > so I can't test much more. You can use site-local (fec0::) or rfc4193 addresses for testing. John -- John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org