https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206012

Sascha Biberhofer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s.biberhofer@spherical-elep
                   |                            |hant.com

--- Comment #2 from Sascha Biberhofer <[email protected]> ---
Just to add to this:

It _is_ possible to assign a link-local IPv6 address to a jail. But you have to
use the interface's scope identifier to do so, i.e. instead of writing
something like

ip6.addr =  "lo1|fe80::dead:beef/64";

you need to use 

ip6.addr =  "lo1|fe80:X::dead:beef/64";

where X is the scope-id of your interface. This number does depend - as far as
I can tell - on the order in which the kernel creates the interfaces, so you
either have to take a wild guess or take a look at the ouput of ifconfig, which
prints the scopeid of any IPv6-address assigned to it:

inet6 fe80::dead:beef%lo1 prefixlen 64 scopeid 0x5


It would be really nice if this hack wasn't necessary, i.e. if the system would
do this either by itself, or if there was a reliable way to get the scope-id of
an interface without having to guess. As it stands right now, using scope-ids
to assign link-local addresses works, but might break on reboot if a new
interface is added.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[email protected]"

Reply via email to