[SOLVED] VM could not acquire IP address

SpookyAction

New Member
Oct 29, 2023
10
2
3
Installed Proxmox using all default options + running update. Version 8.04

First time using Proxmox. Please be lenient with the clumsiness of the report. Would appreciate guidance how to provide better feedback and diagnostic info.

Created a test VM using Alpine Linux 3.18.4, https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/x86_64/alpine-virt-3.18.4-x86_64.iso. All default options. In particular, network device = bridge vmbr0, model = VirtIO, VLAN tag = no VLAN

The VM boots successfully. But doesn't have IP address and could not connect to the Internet. Connecting to the console of the VM. `ip address` doesn't show any local IP address. `ip route` retuns empty string

On the PVE node, System/Network. Shows Linux Bridge vmbr0 as IP4/CIDR = 192.168.1.80/24, Gateway = 192.168.1.250. Which is the address space of the home network. The home router is indeed 192.168.1.250.

Network is working on the Proxmox node itself. I could SSH into the node and run apt update/upgrade.

Thanks very much in advance for any help.
 
Proxmox does not give out IP addresses to VMs. You'll need to setup a (virtual) DHCP server for that or configure the IP address manually inside your VM. Maybe Alpine Linux has a guide on how to do that?
 
Hi,

Please ignore the question. Actually, the VM could acquire a dynamic IP addr from the home router via the vmbr0 bridge.

The cause of the error had nothing to do with Proxmox. When booting the Alpine Linux VM. I had forgotten to complete the OS setup by running `setup-alpine`. After completing this step, the VM reboots and had network working OK.
 
  • Like
Reactions: leesteken

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!