Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2009 05:52:34 +0200
From:      John Hay <jhay@meraka.org.za>
To:        FLEURIOT Damien <ml-SPAM@my.gd>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Not getting an IPv6 in a jail
Message-ID:  <20090902035234.GA77802@zibbi.meraka.csir.co.za>
In-Reply-To: <20090901212939.GA9713@sd-13813.dedibox.fr>
References:  <ff6efe7e0909011230i414b6791k707f5c58383e9b53@mail.gmail.com> <20090901201345.GA42379@zibbi.meraka.csir.co.za> <20090901212939.GA9713@sd-13813.dedibox.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090902035234.GA77802>