Proxmox automated installation DHCP issue usually comes down to a bad answer file. The installer grabs an IP, then fails when it can’t match the network config to what DHCP handed out. Here’s the fix.

Reproduce It in a Test VM
Spin up a VM with two NICs, both on DHCP. Boot the Proxmox ISO with the automated installer. It’ll fail with a DHCP error, usually something about no matching network. The official wiki tells you DHCP is supported but doesn’t help when it breaks.
I’d rather test in a VM than on real hardware. Less to undo when it goes sideways.
The Answer File That Works
The key is the network section. You need to match the MAC address exactly and let DHCP fill in the rest. Here’s a minimal working config:
network:
interfaces:
- name: eth0
hwaddr: "52:54:00:12:34:56"
source: dhcp
vlan: 0
mtu: 1500
address: []
gateway: ""
dns:
- 1.1.1.1
- 8.8.8.8
bridge: vmbr0
bridge_ports: []
bridge_vlan_aware: false
If you have multiple NICs, list them all. The installer matches the MAC from the live system against what’s in the answer file. If it doesn’t match, DHCP fails.

What Actually Breaks
Most errors come from a missing hwaddr or a wrong MAC. The installer can’t guess which NIC you mean, so it gives up. Another common one: setting a static IP when the interface is on DHCP. Pick one, not both.
This is annoying because the error message doesn’t say that. It just says DHCP failed.
Test the Fix
Edit the answer file, put it on a USB stick or a web server, and boot the installer again. It should pull an IP and continue. If it still fails, check the MAC address with ip a in the live environment.
For more on Proxmox networking, see Assign Multiple VLANs to a Proxmox VM: Tagged NICs vs a Trunk.