In the LXC config file we can specify an IP address for a container:
lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= 00:16:3e:24:26:33
But if the container has the default configuration of DHCP, what's going to happen:
# The primary network interface auto eth0 iface eth0 inet dhcp
- Does LXC act as a DHCP server for the container?
- Will the two configurations conflict with the container broadcasting requests for an IP before/after LXC attempts to manually configure the interface?
- Will LXC simply override whatever is in the containers configuration for eth0?