Motherboard replacement and MAC address

Erk

Renowned Member
Dec 11, 2009
165
6
83
When I replace a motherboard in a Proxmox server with an identical model, it wont come back online after power up. Seems that Proxmox detects the changed ethernet MAC address and maps them to unconfigured ethX device. eg. if I have eth0 and eth1 working properly, then change the motherboard, the onboard ethernet devices become remaped to eth2 and eth3 which are not configured.

How can I fix this at the console command line?
 
Hi,
edit /etc/udev/rules.d/70-persistent-net.rules and remove the old eth0-entry and change the ethX to eth0.

Change /etc/network/interfaces too (if you use ethX there), reboot and all should work.

Udo
 

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!