The virtual machine Debian NIC cannot be started

  

The debian NIC in the virtual machine vmware cannot be started,

# ifup eth0

SIOCSIFADDR: No such device

eth0: ERROR While getting interface flags: No such device

SIOCSIFADDR: No such device

SIOCSIFADDR: No such device

eth0: ERROR while getting interface flags: No such device

eth0: ERROR while getting interface flags: No such device

It is found by locating the data that the migration of the virtual machine causes the mac address in the virtual machine configuration file to be inconsistent with the mac address of the debian system.

Solution:

Open *.vmx in the virtual machine directory with text editor, find ethernet0.generatedAddress field, write down mac address

Start debian, edit /Etc/udev/rules.d/z25_persistent-net.rules, replace the old mac address with the new mac address, restart debian.

Also, according to the information, Ubuntu also has this problem, the solution is to edit /Etc/iftab, replace the old mac address

Copyright © Windows knowledge All Rights Reserved