On Friday 01 April 2011 06:12:34 Eric Brower wrote: > Does it really need to be done on loopback? How about creating a > bridge on the host, adding veth devices for each namespace/container > and the host, and adding them to the bridge-- this would allow the > host and each container to access this private, bridged network, but > would not provide external access unless explicitly configured. > > E
I'm thinking a solution like yours and the traffic from that bridge will be then forwarded to the loopback device. But it is not very clean :) I really need the access to the Loopback on the host. The problem is that I can not change the scripts of my users to connect to mysql on different IPs. Marian > > On Thu, Mar 31, 2011 at 6:59 PM, Marian Marinov <m...@yuhu.biz> wrote: > > Hello, > > I want to implement network namespaces in my software. The problem I'm > > seeing is that each namespace has its own loopback interface. > > Is there any way I can brindge, forward or tunnel the traffic of one > > loopback interface (from some namespace) to the real loopback interface > > on the host machine? > > > > Any iptables patches available? Or some trics that are not documented ? > > I want all users to have their own network namespaces with their own IPs, > > but I want them all to share the host loopback interface for connections > > to mysql, pgsql, smtp, imap and so on. > > > > -- > > Best regards, > > Marian Marinov > > > > ------------------------------------------------------------------------- > > ----- Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > > Lxc-devel mailing list > > Lxc-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Best regards, Marian Marinov
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel