[Devel] Re: container-to-host virtual or loopback kind of interface support
Serge E. Hallyn
serue at us.ibm.com
Thu Apr 9 06:57:24 PDT 2009
Quoting Elwin Stelzer Eliazer (stelzere at gmail.com):
> Hi,
>
> I am trying to use network namespace for virtualizing some socket
> applications i already have.
> These applications interact with Apache through 'lo' 127.0.0.1:nnn sockets
> now.
> When i virtualize, i do not want to run Apache inside the container, and has
> to be outside.
> I can not use any non-127.x.x.x IP address for this purpose, or have any
> separate "host-only" kind of internal network.
> I would appreciate if someone can let me know the options i have to
> accomplish this, with network namespace, and 2.6.29 or 2.6.30.
So to be clear, what you want is to have an application in a separate
network namespace from apache, but talking over a shared loopback?
Can you use a veth tunnel pair? You don't have to tie them to a
bridge so the socket app won't be on the public net.
-serge
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list