change network interface

michaelvv

Renowned Member
Oct 9, 2008
103
3
83
I'm trying to setup a new PVE on a second machine , and just to check out
if it will works when i moved it to my real server , i had this little problem.

When i moved the disk back to my old server , proxmox boots fine but
my nic doesn't work. I know it works with a fresh install so this is not the
problem...

So my question is : where do i change my network interface card ???

I have search all over this forum but i could not find an answer.

Test server nic - r8169
Server nic - e1000

What should i do ???

/Michael
 
So my question is : where do i change my network interface card ???
/Michael

The answer is not specific to PVE but with debian in general.

Please remove the contents of this file (just leave an empty file) and reboot

Code:
/etc/udev/rules.d/z25_persistent-net.rules
In this file is defined which ethernet cards have what MAC addresses and how they are called by the host-os.
Eg: In my case
Code:
# PCI device 0x8086:0x10d3 (e1000e)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:30:48:d7:9e:d0", NAME="eth0"