[Bug 931229] [NEW] lxc containers do not retain configured ip on container reboot

Ben Howard 931229 at bugs.launchpad.net
Mon Feb 13 02:25:28 UTC 2012

Public bug reported:

LXC Containers that have their IP address configured in the LXC
container configuration (i.e. not set inside the container), in-
container rebooting does not retained the configured IP address.

Steps to Repo:
1. Set static IP address in lx configuration file:
    lxc.network.ipv4 =
2. Start container
3. In container run "reboot"
4. Container comes up with with a DHCP assigned address

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu24
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
Uname: Linux 3.2.0-15-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Sun Feb 12 19:17:26 2012
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.default.lxc: 2012-02-11T22:28:31.216549

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: amd64 apport-bug precise

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.

  lxc containers do not retain configured ip on container reboot

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list