1

I'm migrating a HYPER-V Ubuntu VM Proxmox VE. It starts, but it has a network problem.

enter image description here

Ubuntu 22.04 Hyper-V was installed and running on the virtual machine, I switched it to Proxmox 8.2.2, but my network is not working.

muru
  • 207,228
Kenan BAYRAM
  • 21
  • 1
  • 5

2 Answers2

1

If ifconfig is not showing another interface than the loopback, it may appear if you run "ifconfig -a" which shows all the interfaces, even the I configured ones. you have to configure the enp6s18 with the network to match proxmox.

Use netplan to configure the interface if you don't use the desktop https://ubuntu.com/server/docs/configuring-networks

1

Solved my problem step by step

rm /etc/netplan/*.yaml

then shutdown ubuntu

Open proxmox VM hardware delete network adapter and then add new networkadapter

Start VM ubuntu

ifconfig 

Seen adapter name enp6s18

sudo nano /etc/netplan/01-netcfg.yaml

write new yaml file insert

network:
  version: 2
  renderer: networkd
  ethernets:
    enp6s18:
      dhcp4: true

ctrl+o then ctrl+x save file

   sudo netplan apply

Now working my virtual machine Dhcp.

David DE
  • 2,316
Kenan BAYRAM
  • 21
  • 1
  • 5