Not getting an IPv6 in a jail
John Hay
jhay at meraka.org.za
Wed Sep 2 03:52:37 UTC 2009
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 at meraka.csir.co.za / jhay at 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 at meraka.csir.co.za / jhay at FreeBSD.org
More information about the freebsd-stable
mailing list