On Tue, Sep 1, 2020, 7:49 AM Jim Popovitch <[email protected]> wrote: > On Tue, 2020-09-01 at 17:45 +1200, Richard Hector wrote: > > On 1/09/20 4:23 am, Jim Popovitch wrote: > > > Hello! > > > > > > lxc-create (Debian Buster) assigns MAC addresses to new containers. > > > Somehow, 2 new containers (Ubuntu Focal) both got created with the same > > > MAC/hwaddr. What are my options to change one of them without > > > hardcoding a hwaddr in a lxc config file? > > > > My containers (test system, admittedly stretch on stretch) get new MAC > > addresses with each boot. Does rebooting (shutdown followed by start) > > (the container) solve it? > > Sadly no. Thanks for suggesting it though. > > > > > It does seem odd that you're getting duplicates though. > > I think, but am not 100% certain, that the hwaddr is assigned when > running lxc-create. >
I vaguely recall seeing the ability to arbitrarily set Mac Address in the Network Settings in VirtualBox, which I used to use (especially in my Ubuntu days). I now use QEMU-KVM, and so will need to check its Options. Good luck! Kenneth Parker >

