[lxc-users] Assigning IPv6 to a container + lxc-net config question

brian mullan bmullan.mail at gmail.com
Thu May 14 12:31:05 UTC 2015


Robert

I've been learning how to do this over the past week or so.

I've found a few good write-ups which may help you out:

I have only found 1 online write-up about LXC & IPv6.    This one seems to
cover most of the configuration aspects & I thought it was pretty good:     LXC
Host featuring IPv6 connectivity
<http://blog.cepharum.de/en/post/lxc-host-featuring-ipv6-connectivity.html>

Although this is not LXC specific it helps gain a good understanding of
IPv6 configuration in Linux & fairly comprehensive in its description of
the terms, configuration options, and usage refer to:     IPv6 – Set UP An
IPv6 LAN with Linux
<http://www.jumpingbean.co.za/blogs/mark/set-up-ipv6-lan-with-linux>

Although my own interest was related to using full mesh vpn to interconnect
lxc containers on remote servers I soon decided IPv6 would make everything
much easier to implement.

This is because unlike IPv4 use for a mesh vpn IPv6 would eliminate any
problems with duplicate IP addresses in LXC containers on multiple remote
hosts without resorting to figuring out a centralized IPAM solution etc.

I'm trying to document what I have done so far with mesh vpn & lxc on my
wordpress blog but understand its just a proof-of-concept document and
although I've tested it with IPv4 I haven't had time to test IPv6 in the
containers yet.   Also, I mention some other caveats
Remember this is only a "draft" writeup that I started this week but you
can read it here:
Proof-of-Concept – Using Mesh VPN to interconnect LXC containers on
Multiple Hosts on Multiple Clouds
<https://bmullan.wordpress.com/2015/05/12/proof-of-concept-using-mesh-vpn-to-interconnect-lxc-containers-on-multiple-hosts-on-multiple-clouds/>If
anyone takes a look and has any suggestions or config ideas for the IPv6
and/or LXC information pieces feel free to let me know as I'm just
beginning with IPv6 myself and still learning more about LXC and linux
everyday.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150514/170f458a/attachment.html>


More information about the lxc-users mailing list