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

2015-06-19 Thread Tomasz Chmielewski
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.

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

2015-06-19 Thread Christoph Lehmann
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 Chmielewsk

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

2015-06-19 Thread Tomasz Chmielewski
I know this is just "normal networking", however, there are at least two issues with your suggestions: - it assumes the hosts are in the same subnet (say, connected to the same switch), so it won't work if the hosts have two different public IPs (i.e. 46.1.2.3 and 124.8.9.10) - with just two

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

2015-06-19 Thread Janjaap Bos
Yes, ZeroTier provides peer-to-peer virtual networking. It is cloud / container / virtualiser agnostic. It will work anywhere and we use it for connecting containers & vm's across clouds. Also to provide access to users on Windows / OSX. Within the container you need access to the /dev/net/tun dev

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

2015-06-22 Thread Luis M. Ibarra
Have you checked Fan? http://blog.dustinkirkland.com/2015/06/the-bits-have-hit-fan.html?m=1 2015-06-20 2:16 GMT-04:00 Janjaap Bos : > Yes, ZeroTier provides peer-to-peer virtual networking. It is cloud / > container / virtualiser agnostic. It will work anywhere and we use it for > connecting co

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

2015-06-23 Thread brian mullan
First, i would say that I only read about Canonical's FAN yesterday so have no insight into what it can or can't do. This spring I spent time looking at various solutions for network overlays because of my interest in SDN and LXC. My use-case "requirements" were: 1. to *be able to interconnec

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

2015-06-23 Thread Dustin Kirkland
On Tue, Jun 23, 2015 at 8:12 AM, brian mullan wrote: > First, i would say that I only read about Canonical's FAN yesterday so have > no insight into what it can or can't do. > > This spring I spent time looking at various solutions for network overlays > because of my interest in SDN and LXC. > >