running Debian 11 in vm.
There is two configuration eth0 and eth1 both are setup using auto dhcp.
Then I remove the second network interface from vm host, and forgot to change the configuraiton.
On start / restart eth0 works ok normally. Then after some time when ttl from dhcp server requesting renewal ( same ip )
due to interface eth1 not found it drop networking.service ( exit state ). restarting the service also doesn't work
Only by restarting the whole vm it will return to normal
Code: Select all
ifup[507]: Cannot find device "eth1"
dhclient[501]: Failed to get interface index: No such device
ifup[501]: Failed to get interface index: No such device
ifup[501]: If you think you have received this message due to a bug rather
ifup[501]: than a configuration issue please read the section on submitting
ifup[501]: bugs on either our web page at www.isc.org or in the README file
ifup[501]: before submitting a bug. These pages explain the proper
ifup[501]: process and the information we find helpful for debugging.
ifup[501]: exiting.
dhclient[501]:
dhclient[501]: If you think you have received this message due to a bug rather
dhclient[501]: than a configuration issue please read the section on submitting
dhclient[501]: bugs on either our web page at www.isc.org or in the README file
dhclient[501]: before submitting a bug. These pages explain the proper
dhclient[501]: process and the information we find helpful for debugging.
dhclient[501]:
dhclient[501]: exiting.
ifup[456]: ifup: failed to bring up eth1
systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: networking.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Raise network interfaces.