[lxc-users] Configuring LXC containers to use a host bridge under CentOS 7

Serge Hallyn serge.hallyn at ubuntu.com
Fri Aug 28 21:08:46 UTC 2015


Quoting Peter Steele (pwsteele at gmail.com):
> We're currently using the CentOS libvirt-LXC tool set for creating
> and managing containers under CentOS 7.1. This tool set is being
> deprecated though so we plan to change our containers to run under
> the linuxcontainers.org framework instead. For simplicity I'll refer
> to this as simply LXC instead of libvirt-LXC.
> 
> Under libvirt-LXC, we have our containers configured to use host
> bridging and so are connected to the host network. Each container
> has their own static IP and appear as physical machines on the
> network. They can see each other as well as other systems running on
> the same network.

Can you show the host and container network details and container
xml for your libvirt-lxc setup?  If machines A and B are on the
same LAN, with containers on A, are you saying that B can ping
the containers on A?

-serge


More information about the lxc-users mailing list