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

brian mullan bmullan.mail at gmail.com
Sun May 10 00:42:03 UTC 2015


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
 



More information about the lxc-users mailing list