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

Michael H. Warfield mhw at WittsEnd.com
Fri Aug 27 14:39:53 UTC 2010


On Fri, 2010-08-27 at 14:20 +0200, Matto Fransen wrote: 
> 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.
                                     ^^^^
Is that a typo?  Or the source of your problem.

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

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20100827/f40bafb4/attachment.pgp>


More information about the lxc-users mailing list