[SOLVED] Networking issue with VM

FaisalALi92

New Member
Nov 17, 2021
22
1
1
32
Hello Everyone

I migrated a KVM image testvm.qcow2 into Proxmox VE

The steps I did :

1- Create a VM on Proxmox with the resources as my KVM image testvm.qcow2
2- after that I moved my testvm.qcow2 to the /var/lib/vz/images/101
3- I just renamed testvm.qcow2 to vm-101-disk-0.qcow2
4- I then went to ProxMox and started the VM

It starts fine and I have the same VM that was on my KVM but I now have no networking.

my network device vmbr0

what can I do to fix this
 
Do you have a network device attached to the VM?
If so, check the network configuration in the VM to see if the device configured matches the actual one.
You can do so by running ip -details a.
Please provide the output of that command, as well as your network configuration in the VM.
 
Hi Mira ,

Yes there is a network device attached.

Please find the attached screenshot of ip -details a
 

Attachments

  • ip-details.png
    ip-details.png
    22.4 KB · Views: 4
Hello I have solved the issue.

When I migrated my vm from Kvm it had a different network interface from the one from the new vm on Proxmox

these are my steps that solved the issue:
grep -nr "enp1s0" (old interface name from kvm)

vim /etc/netplan/00-installer-config.yaml

change enp1s0 to the new interface in our case it was ens18

Reboot
 
Great that you've found the issue.
Please mark the thread as solved. You can do so by clicking the `Edit Thread` button above the first post, and selecting the prefix `[Solved]`.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!