[lxc-users] "mesh networking" for lxc containers (similar to weave)?

Christoph Lehmann post at christophlehmann.eu
Fri Jun 19 18:20:21 UTC 2015


There is no magic with lxcs networking. Its just a bridge and some iptables rules for NAT and a dhcp server.

You can setup a bridge on your public interface, configure the container to use that bridge and do the same on your second host.

Am 19. Juni 2015 18:15:23 MESZ, schrieb Tomasz Chmielewski <mangoo at wpkg.org>:
>Are there any solutions which would let one build "mesh networking" for
>
>lxc containers, similar to what weave does for docker?
>
>Assumptions:
>
>- multiple servers (hosts) which are not in the same subnet (i.e. in 
>different DCs in different countries),
>- containers share the same subnet (i.e. 10.0.0.0/8), no matter on
>which 
>host they are running
>- if container is migrated to a different host, it is still reachable
>on 
>the same IP address without any changes in the networking
>
>
>I suppose the solution would run only once on each of the hosts, rather
>
>than in each container.
>
>Is there something similar for lxc?
>
>-- 
>Tomasz Chmielewski
>http://wpkg.org
>
>_______________________________________________
>lxc-users mailing list
>lxc-users at lists.linuxcontainers.org
>http://lists.linuxcontainers.org/listinfo/lxc-users

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150619/8804bf99/attachment.html>


More information about the lxc-users mailing list