[Lxc-users] Cannot start a container with a new MAC address

Matto Fransen matto at matto.nl
Fri Aug 27 12:20:31 UTC 2010


Hi,

On Fri, Aug 27, 2010 at 11:27:16AM +0200, Sebastien Douche wrote:
> I created a container with an interface. I stop it, I change the MAC
> address, restart it:
> 
> lxc-start: ioctl failure : Cannot assign requested address
> lxc-start: failed to setup hw address for 'eth0'
> lxc-start: failed to setup netdev
> lxc-start: failed to setup the network for 'vsonde43'
> lxc-start: failed to setup the container
> lxc-start: invalid sequence number 1. expected 2
> 
> 
> Have I Missed a step?

This happens to me when I choose a 'wrong' mac-address.

Example:
lxc.network.hwaddr = 4a:59:43:49:79:bf works fine
lxc.network.hwaddr = 4b:59:43:49:79:bfA results in a errormessage like above.

Perhaps it is best to keep the first three pairs the same as in
the LXC exampels.

Cheers,

Matto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20100827/94f4909f/attachment.pgp>


More information about the lxc-users mailing list