I am trying to use iPXE on a Cisco UCS C220-M5 machine. The machine uses the NIC model- UCS VIC 1457. Whatever I do I cannot get networking up using IPv6 from within iPXE. I tried to use both SLAAC and Stateful DHCPv6 approach for obtaining IPv6 address, but both don't work. In order to make sure it is not an IPv6 setup issue, I tried to obtain an IPv6 address using both approaches from within a Linux VM. This worked.
When I initiate a PXE boot over IPv6 the below steps happen:
PXE boot over IPv6 is kickstarted.
DHCPv6 server (isc-dhcp-server6 service running in an ubuntu VM) provides an IPv6 address along with the details of bootfile-url - ipxe.efi (Router Solicitation, Router advertisement, Request, DHCPv6 Solicit, DHCPv6 Advertise, DHCPv6 Request and DHCPv6 Reply related messages can be seen in the log).
The UCS machine downloads and loads ipxe.efi (and along the journey the IPv6 address obtained in step 2 is released).
As soon as NBP is loaded, it attempts to set up network - and this fails
When I try to manually setup ipv6 address from iPXE console, what I can see is: Router Solicitation and Router Advertisement steps as mentioned in https://www.networkacademy.io/ccna/ipv6/stateful-dhcpv6 works. But further steps (DHCPv6 Solicit, DHCPv6 Advertise, DHCPv6 Request and DHCPv6 Reply) doesn't happen.