Public bug reported:
Hi have several Ubuntu and Debian machines running in a host and for all the Ubuntu machines the IPv4 address they receive is always the same, and it is actually the one stated in the config file under lxc.network.ipv4. However, for the Debian machines, although the configuration file specifies a given lxc.network.ipv4, they get a different IPv4 address every time they reboot, ignoring the lxc.network.ipv4 property. To reproduce, just create a Debian container using lxc-debian template: # SUITE=stable lxc-create -t debian -n my_debian Then, reboot the container several times, and each of them the IPv4 address will be different. Note that restarting networking in the guest (/etc/init.d/networking restart) does indeed return the same address. I am using lxc 0.7.5-3ubuntu65 under Ubuntu 12.04 as a host and both Debian stable and testing guests show the problem. ** Affects: lxc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1080681 Title: debian guests get different IPv4 at every reboot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1080681/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs