[lxc-users] Is there a guide to LXC & ipv6 configuration

Xavier Gendre gendre.reivax at gmail.com
Sun May 10 07:14:29 UTC 2015


Hi Brian,

the IPv4 magic in LXC comes from the use of dnsmasq. According to what i 
have read, you can configure dnsmasq to deal with dhcpv6 but i never 
tried it. Maybe you can look on this side to reach your goal.

Xavier

Le 10/05/2015 02:42, brian mullan a écrit :
> Xavier
>
> I am just learning ipv6 but as I understand it from my reading so far
> similar solutions exist in ipv6 as for ipv4 such as dhcp6 etc.
>
> There is "stateless address autoconfiguration"
> (https://tools.ietf.org/html/rfc4862) and Neighbor Discovery protocol (NDP)
> for ipv6 (https://tools.ietf.org/html/rfc4861).
>
> NDP seems to only be used on local link for address discovery but that would
> seem appropriate for lxc container address assignments !
>
>  From what I understand so far IPv6 has two types of auto-configuration:
>
> "Stateless auto-configuration" (the RFC mentioned above) which is intended
> for small orgs  & individual use.  Because this method needs no "server" to
> approve the use of an address its supposed to be simpler to implement.
>
> It's intended to let a "host" propose an ipv6 address based on the ipv6
> network prefix & the "host" interface MAC address (see EUI-64).  This
> assumes the result will be a unique ipv6 address (re no address conflicts).
>
> "Stateful auto-configuration" uses the dhcp6 protocol.   dhcp6 is called
> "stateful” because both the dhcp6 "server" & the "client" have to keep state
> information to insure no address conflicts occur & to manage
> lease/lease-renewals.
>
> I was hoping that either someone had used something in these areas to
> implement an automatic local ipv6 address assignment to LXC containers
> created on any one host or knew of a guide somewhere related to ipv6 & lxc.
>
> Thanks for your reply!
>
> Brian
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>


More information about the lxc-users mailing list