Network dosent work in my vm

badcakee

New Member
Dec 22, 2024
2
0
1
Hello, my network dosent work on my vm, im on ubuntu 22.04.5 server and this is the error i get. Please tell me what to show that way itll be easier to fix.
 

Attachments

  • Capture d'écran 2024-12-22 222102.png
    Capture d'écran 2024-12-22 222102.png
    17.6 KB · Views: 9
and this is the error i get.
That is just a hint that autoconfiguration failed. Probably there is no DHCP server in the network you have connected the virtual NIC "ens18" to.

This dialog allows also to manually configure the IP address! You need to lookup the Ubuntu documentation on how to operate the dialog.

If you expected to get an IP address via DHCP then we need to drill down your configuration to get a clue on how you did setup your network on PVE for the virtual machines and in you physical backend. The more information you give us the higher the chance to get a helpful reply.


Please start by giving us some information, like the copy-n-pasted output of some commands, run on the PVE host (either via SSH or via "Datacenter --> <one Node> --> Shell", both ways allow copy-n-paste):

PVE System information:
  • pveversion -v
Basic network information:
  • ip address show # currently active IP addresses on one NODE
  • ip route show # currently active routing table on one NODE
  • cat /etc/network/interfaces # configuration of the network
  • ping -c 1 -W 1 9.9.9.9 # a simple "ping" to verify outgoing routing
Problematic VM:
  • export VMID=<the_ID_of_the_VM>; qm config --current true ${VMID} # the configuration of that VM

Oh, and please put each command in a separate [CODE]...[/CODE]-block for better readability.
 
Last edited:

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!