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.
 

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!