[ipxe-devel] IPv6 DHCP Behavior

Michael Brown mcb30 at ipxe.org
Mon Apr 3 08:48:36 UTC 2023


On 03/04/2023 08:39, Ramesh Soni -X (ramsoni - Altran ACT S.A.S at 
Cisco) via ipxe-devel wrote:
> We have both DHCPv4 and DHCPv6 running on same iPXE server. Our box is 
> running iPXE code for downloading the image from ipv6, we have made 
> entry in ipxe server dhcpd6.conf file for this box.
> 
> First our box tries DHCPv4 thorugh which it gets the default ipv4 ip 
> address although it didn’t have default file name so it tries to check 
> with DHCPv6. Even though ipv6 assignment was done but image downloading 
> was getting failed.
> 
> Can you please suggest what will be the right behaviour on this? Is it 
> fine to run both DHCPv4 and DHCPv6 on same iPXE server?

Yes, you can run both DHCPv4 and DHCPv6 on the same network.  iPXE will, 
by default, try both IPv4 and IPv6 simultaneously.  It will use the IPv4 
configuration from DHCPv4, and the IPv6 configuration from router 
solicitation and/or DHCPv6.  Either DHCPv4 or DHCPv6 may provide a boot 
filename or URL.

Michael




More information about the ipxe-devel mailing list