When I reboot LXC in proxmox, LXC's mac address will change automatic.

SmithCruise

New Member
Oct 14, 2019
12
0
1
34
I had update proxmox to latest version just now. It occurs problem. When I reboot LXC, LXC's mac address will change automatic. It makes me impossible to bind static address.
 
there was a bug[0] where adding a network interface to a container did not generate a mac address in the config,
check if there is a 'hwaddr' property on the network in the config (/etc/pve/nodes/NODENAME/lxc/ID.conf)

if not, add one to get a static mac (or use the webinterface for it)

0: https://bugzilla.proxmox.com/show_bug.cgi?id=2453
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!