Ubuntu 22.04 VM does not have an IP therefore no internet connection

onam

New Member
Nov 7, 2022
9
0
1
Hello,
I installed Proxmox 7 on a machine with static ip assigned to it. It does update and upgrade as expected. Only problem is when installing a vm let's say ubuntu 22.04 server, by default it does not assign an IP. And no internet access. I left the network settings as default when creating a vm. attached is the hardware tab for this particular vm.

How to enable internet access in the vm?
 

Attachments

  • Screenshot from 2022-11-14 16-34-28.png
    Screenshot from 2022-11-14 16-34-28.png
    38.1 KB · Views: 32
Well proxmox does not come with a DHCP server, so if you don't have any such service in your network you have to work with static IPs.

You need to give us more info about your environment if you want us to help with configuring the networking.
 
Well I feel stupid. You are right. There is no dhcp server. So I setup a static IP during installation with our DNS and now it works properly.