[lxc-users] more ubuntu utopic problems (network)

Tycho Andersen tycho.andersen at canonical.com
Wed Mar 11 23:10:57 UTC 2015


On Wed, Mar 11, 2015 at 07:57:50PM -0300, Norberto Bensa wrote:
> Hello,
> 
> new containers (created with lxc-create) have either no network or the ip
> address is not preserved between container reboots.
> 
> Containers without network lack all lxc.network.* entries in the confg file.
> 
> Containers with random ip address have lxc.network.hwaddr =
> 00:16:3e:xx:xx:xx
> 
> Is this a known bug or am I supposed to configure these entries myself?

You can just switch the xx's to something, e.g.:

00:16:38:01:10:01

And as long as your DHCP server remembers macs correctly, it should
get the same IP.

Tycho

> 
> Host is Ubuntu 14.10. Up-to-date.
> 
> LXC: 1.1.0~alpha2-0
> 
> Command to create the containers was simply:
> $ lxc-create -t ubuntu -n testing -- -r trusty
> 
> 
> Thanks!
> Norbeto

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list