You are here

Different MAC address, now Debian renamed the network interface :-(

Moved Hard Drive(s) to a new server. Boots up fine, but no networking.
Debian, renames the network interface because of Predictable Network Interface Names (systemd).
A different MAC address causes udev to assign a new name (e.g., enp0s3 becomes enp2s0)

Lets revert to common sense and use the old "eth0" Naming Scheme.
sudo nano /etc/default/grub

Edit the line below adding net.ifnames=0 biosdevname=0
GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 biosdevname=0"

Run
sudo update-grub

sudo nano /etc/network/interfaces

Edit the erm, "Predictable Network Interface Name" enp0s3 or enp2s0
To the more predictable eth0