[ipxe-devel] IPv6 DHCP Behavior
Ramesh Soni -X (ramsoni - Altran ACT S.A.S at Cisco)
ramsoni at cisco.com
Wed Apr 5 07:14:00 UTC 2023
Thanks, Michael, for your response. We have not provided the boot filename in DHCPv4 so it is picking the file from DHCPv6.
Although we are seeing some inconsistent behaviour here. We are seeing sometime DHCP initial messages itself is not sent by box itself due to which iPXE is not happening.
Do we have any known issues related to this? We are using " iPXE 1.0.0+ (eca5)" version.
With Regards,
Ramesh Soni
-----Original Message-----
From: Michael Brown <mcb30 at ipxe.org>
Sent: 03 April 2023 14:19
To: Ramesh Soni -X (ramsoni - Altran ACT S.A.S at Cisco) <ramsoni at cisco.com>; ipxe-devel at lists.ipxe.org
Subject: Re: [ipxe-devel] IPv6 DHCP Behavior
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