Recovered Linux Physical Machine Has No Network Connection
Product version: 11.3
Last modified: 13 November 2026
Problem
After a full recovery or Flash boot of a Linux physical machine to VMware vSphere, the VM starts, but it cannot be reached over the network.
In the console of the VM, the output of the ip -br link and ip -br addr commands contains the following:
-
The network adapter has a name that differs from its name on the source machine, for example ens32 instead of ens33.
-
The adapter is in the DOWN state and has no IP address.
The network settings of the guest OS still refer to the adapter by its name on the source machine. For example, on Ubuntu Server, the /etc/netplan/50-cloud-init.yaml file contains the ens33 adapter.
Background
The recovered VM and the Flash boot VM receive a new virtual network adapter. Linux names a network adapter after its position on the PCI bus, so the new adapter receives a new name. On a physical server, the adapter has a name of its own, for example eno1 or enp3s0, so a virtual adapter always receives a different name.
NAKIVO Backup & Replication does not change the network settings inside the guest OS. If these settings refer to the adapter by its name, they do not apply to the new adapter, and the adapter stays down. Guest OSs that configure a network adapter by its name are affected, for example Ubuntu Server with netplan. Guest OSs where NetworkManager configures the new adapter on its own are not affected.
Solution
Open the console of the VM and replace the name of the adapter in the network settings of the guest OS. The steps below apply to Ubuntu Server with netplan. Run the commands as the root user, for example after the sudo -i command.
Note
If the source machine uses a static IP address and still runs on the same network, change the IP address of the VM as well, so that the two machines do not use the same address.
-
Find the name of the new adapter, for example ens32:
ip -br link
-
Disable the network configuration of cloud-init, so that the change in step 4 survives a reboot:
echo "network: {config: disabled}" > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
Note
After this step, cloud-init no longer changes the network settings of this VM. To let cloud-init manage them again, delete the 99-disable-network-config.cfg file.
-
Open the netplan configuration file in a text editor, for example:
nano /etc/netplan/50-cloud-init.yaml
-
In the file, replace the name of the adapter on the source machine with the name of the new adapter, for example replace ens33: with ens32:. Keep the indentation of the file unchanged.
-
Apply the new settings:
netplan apply
-
Make sure that the adapter is in the UP state and has an IP address:
ip -br addr
-
Reboot the VM and run the ip -br addr command again to make sure that the settings survive a reboot.
After the network adapter is up, the VM is ready to use. For your next recovery or Flash boot of a physical machine, proceed as described in Physical Machine Recovery and Creating Flash Boot Jobs for Physical Machines.