[ipxe-devel] iPXE ipv6 autoconf with multiple Router Advertisements

Sven Wiltink sven.wiltink at nl.team.blue
Mon Aug 26 14:34:50 UTC 2024


Hey all,

We are running a setup where there are two machines sending Router Advertisements. One of which sends a /64 prefix with slaac enabled , a router lifetime of 0 and the O flag set to trigger dhcp. The other machine ( the router) in the meantime sends a /48 prefix, which should be used to configure the gateway.

The problem however is that is looks like the iPXE network stack doesn’t support this. When performing ipv6 autoconf in `ipv6conf_rx_router_advertisement` the packets are discarded if ipv6conf has been completed or if a different packet is being processed. This causes a race condition between our two Router Advertisements. Depending on which packet arrives first either the gateway is missing or no slaac has been performed.

A dirty hack to get the setup to work in a test was to simply ignore the ipv6conf and timer_running and always apply the received settings. This ‘works’ but I assume the check for ipv6conf are in place for a reason.

Do you have any suggestions on how to get our setup to work with iPXE?

Kind regards
Sven Wiltink (TransIP, brand of team.blue)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20240826/72b1f7aa/attachment.htm>


More information about the ipxe-devel mailing list