[Bug 1080681] Re: debian guests get different IPv4 at every reboot

2013-03-26 Thread Stéphane Graber
** Changed in: lxc (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: lxc (Ubuntu)
   Importance: Medium = Wishlist

** Summary changed:

- debian guests get different IPv4 at every reboot
+ Make lxc-debian use persistent hwaddr

-- 
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:
  Make lxc-debian use persistent hwaddr

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


[Bug 1080681] Re: debian guests get different IPv4 at every reboot

2012-11-28 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Importance: Undecided = Medium

** Changed in: lxc (Ubuntu)
   Status: New = Confirmed

-- 
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


[Bug 1080681] Re: debian guests get different IPv4 at every reboot

2012-11-28 Thread Enrique
I think that I found a workaround that solves part of the problem, editing the 
config file and adding the following line:
lxc.network.hwaddr = aa:aa:aa:aa:aa:aa

 In that way the ipv4 address is kept through reboots. However it is
still not the same one stated under lxc.network.ipv4.

-- 
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


[Bug 1080681] Re: debian guests get different IPv4 at every reboot

2012-11-28 Thread Serge Hallyn
@Enrique,

near as i can tell this turns out to be not an lxc issue (unless we want
the template to be more invasive than it already is).

In Ubuntu it looks like ifup simply is smart enough to not follow
through with dhcp if the nic is already up with an address.  In debian,
not.

If you want the debian containers to not run dhcp, then you need to edit
/etc/network/interfaces to tell ifupdown not to run dhcp on the devices.
As I say the lxc debian template could look for a lxc.network.ipv4 entry
in the provided lxc.conf and, if present, edit the container's
/etc/network/interfaces to make that happen.  But it's interesting that
the ubuntu template doesn't do that.

-- 
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