Proxmox Automated Installation DHCP issue

willifehler

New Member
Jul 17, 2023
7
0
1
Hi there,

I'm trying to use https://pve.proxmox.com/wiki/Automated_Installation to deploy Proxmox on my servers.

I have an DHCP server to assign ip addresses to my servers. During the deployment sometimes my server does not get an ip address to be able to fetch the answer.toml from my webserver. If I execute dhclient a few seconds after the installation routine has failed I do get an ip address. Is there any option include a dhcp timeout in my iso or another way to solve this issue?

Regards - Willi
 
Last edited:
As of now, there is no way to increase the timeout for the DHCP client in the installer. So your only chance right now is to figure out why the DHCP leases aren't provided quickly all the time. Is the DHCP server too slow? Does it have some other dependencies that it needs to query before it gives out a lease that might take too long?
 
Hi aaron,

I don't see any reason why it takes too long. The server has 8 NICs.

I will try to debug this or include the answer.toml in my iso.

Cheers - Willi
 
Last edited:
Hi There,

I am struggling with similar problem. I am working on automated provisioning of Supermicro network appliance (SYS-510D series)
The server has an internal/virtual interface connected to BMC and it provides "dummy" APIPA address over DHCP before the MGMT interface gets the IP from the DHCP Server.
I thought initially that the dhcp server was responding too slowly but I captured packets and the DHCP Discover msgs are not showing up on the wire during the boot up. I can see them only after I manually run dhclient

Any suggestions will be highly appreciated.

Edit:
I have disabled the RNDIS interface (the virtual ethernet connection to BMC) and now the installer will go through the DHCP discover stage twice before timing out. However there are no DHCP discover sent.
Only after I execute the dhclient command, I am getting DHCP discover message.
Something is broken during the creation of the automated ISO.
 
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!