Ubuntu Server VM Lost Internet Access After Restart

allie83go

New Member
Feb 3, 2023
1
0
1
Hello,

I have a very similar problem as mentioned in this thread here: https://forum.proxmox.com/threads/u...ernet-access-while-other-vms-are-fine.102049/, however the solution mentioned does not work for me.

I have a Ubuntu Server (22.04.1 LTS) VM that has been working perfectly for ~2 months with multiple reboots, however when I rebooted it last night, it now longer has internet access and cannot connect to the gateway. Nothing has been modified within PVE itself, or the VM's config, but I did try to restore the VM from a backup and had the same results.

It's also worth the mention, I have other VMs that I have installed that still work as expected.

ip a:

Screenshot 2023-02-03 at 12.33.25 PM.png

The ens18 interface is "DOWN" and that's what it should be using for internet access.

route:

Screenshot 2023-02-03 at 12.35.10 PM.png

The default route seems to be missing?

I don't have a /etc/network/interfaces file as I believe this version of Ubuntu no longer uses it and the only file I have within /etc/netplan is 00-installer-config.yaml with the following contents:

Screenshot 2023-02-03 at 12.38.04 PM.png

I also cannot modify the above file because it seems like netplan is not installed by default? And since I don't have internet access with this VM, I cannot install it.

Any help would be appreciated!
 

Attachments

  • Screenshot 2023-02-03 at 12.33.25 PM.png
    Screenshot 2023-02-03 at 12.33.25 PM.png
    16.6 KB · Views: 7
  • Screenshot 2023-02-03 at 12.35.10 PM.png
    Screenshot 2023-02-03 at 12.35.10 PM.png
    4.1 KB · Views: 6
  • Screenshot 2023-02-03 at 12.38.04 PM.png
    Screenshot 2023-02-03 at 12.38.04 PM.png
    4 KB · Views: 6
Hi,

could you please provide the output of qm config <vmid> and pveversion -v?
Also, are there any messages which might be relevant to this in the syslog (host and/or VM)?

I'm not really familiar, but can you also try running ip link set ens18 up in the VM and see what it does? This should force the interface up.
 

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!