Please head into BIOS -> Advanced -> Network Configuration.
Set Network Stack to enabled and then set IPv4 PXE Support to enabled as well.
Aftewards, you will need to configure the boot priority and set the onboard NIC's as boot option #1 in both the UEFI Network Drive BBS Priorities and Boot order.
For AOC's, you will need to go into Advanced -> PCIe/PCI/PnP and choose the NIC you want to use and set it to EFI.
Then similarly, you will need to set the boot priority of said NIC as boot option #1 in both the UEFI Network Drive BBS Priorities and Boot order.