I'm using the latest Proxmox VE 8.0.4 and I'm trying to get the iPXE network boot to work.
When I configure an VM with EFI bios everything works perfectly, but VM's with Seabios iPXE cannot get an DHCP address.
The VM's both use the same bridge network. (vmbr0)
I analyzed the network packets on my pfSense firewall and I found out that iPXE on the Seabios does not set the broadcast bit in the DHCP discover packet. Because of this the firewall does not send an broadcast packet back, but a unicast packet to the ip. (See attached screenshot)
As far as I understand the broadcast bit should be set until an IP is received and set on the interface, but for some reason iPXE does not set this bit on the first dhcp discover packet. (Or outgoing packets with this flag are blocked for some reason)
I also tried to set set an ip and netmask manually in iPXE and then the dhcp discover works.
Any idea what could cause this problem?
Edit:
The problem only occurs on my Mellanox ConnectX-3 network cards. I've also enabled SR-IOV on the card.
If I instead use one of the integrated ethernet ports of the server then dhcp works fine.
When I configure an VM with EFI bios everything works perfectly, but VM's with Seabios iPXE cannot get an DHCP address.
The VM's both use the same bridge network. (vmbr0)
I analyzed the network packets on my pfSense firewall and I found out that iPXE on the Seabios does not set the broadcast bit in the DHCP discover packet. Because of this the firewall does not send an broadcast packet back, but a unicast packet to the ip. (See attached screenshot)
As far as I understand the broadcast bit should be set until an IP is received and set on the interface, but for some reason iPXE does not set this bit on the first dhcp discover packet. (Or outgoing packets with this flag are blocked for some reason)
I also tried to set set an ip and netmask manually in iPXE and then the dhcp discover works.
Any idea what could cause this problem?
Edit:
The problem only occurs on my Mellanox ConnectX-3 network cards. I've also enabled SR-IOV on the card.
If I instead use one of the integrated ethernet ports of the server then dhcp works fine.
Attachments
Last edited: