Discussion:
[Dnsmasq-discuss] iPXE with DHCPv6
Derek Higgins
2017-01-20 13:57:33 UTC
Permalink
Hi All,

I've been trying lately to get iPXE to work over DHCPv6 with dsnmasq
and have had no luck, Is it possible to do this with dnsmasq and
DHCPv6 and if so are there any examples out there?

I've been trying
--dhcp-option="option6:bootfile-url,http://[1:2::3:4]:8088/boot.ipxe"
with a combination of different things, none of which I've gotten to
work, tcpdump shows the bootfile-url at least being sent in the dhcp6
advertise but then the UEFI firmware seems to ignore it

Any help/pointers would be great,

many thanks,
Derek.
Tore Anderson
2017-01-27 17:38:55 UTC
Permalink
* Derek Higgins
Post by Derek Higgins
I've been trying lately to get iPXE to work over DHCPv6 with dsnmasq
and have had no luck, Is it possible to do this with dnsmasq and
DHCPv6 and if so are there any examples out there?
I've been trying
--dhcp-option="option6:bootfile-url,http://[1:2::3:4]:8088/boot.ipxe"
with a combination of different things, none of which I've gotten to
work, tcpdump shows the bootfile-url at least being sent in the dhcp6
advertise but then the UEFI firmware seems to ignore it
Have you tried using a tftp:// URL instead of http://? Not sure you can
rely on a UEFI firmware to implement HTTP.

Tore
Derek Higgins
2017-02-01 13:20:12 UTC
Permalink
Post by Tore Anderson
* Derek Higgins
Post by Derek Higgins
I've been trying lately to get iPXE to work over DHCPv6 with dsnmasq
and have had no luck, Is it possible to do this with dnsmasq and
DHCPv6 and if so are there any examples out there?
I've been trying
--dhcp-option="option6:bootfile-url,http://[1:2::3:4]:8088/boot.ipxe"
with a combination of different things, none of which I've gotten to
work, tcpdump shows the bootfile-url at least being sent in the dhcp6
advertise but then the UEFI firmware seems to ignore it
Have you tried using a tftp:// URL instead of http://? Not sure you can
rely on a UEFI firmware to implement HTTP.
I had yes, although what other options I was trying at the same time
I'm not sure. I'm getting back to this today and am reinstalling my
environment to try it out again on a fresh environment.
Post by Tore Anderson
Tore
Derek Higgins
2017-02-27 11:57:27 UTC
Permalink
Meant to close out this thread a while back, see below
Post by Tore Anderson
* Derek Higgins
Post by Derek Higgins
I've been trying lately to get iPXE to work over DHCPv6 with dsnmasq
and have had no luck, Is it possible to do this with dnsmasq and
DHCPv6 and if so are there any examples out there?
I've been trying
--dhcp-option="option6:bootfile-url,http://[1:2::3:4]:8088/boot.ipxe"
as it turned out the problem was that the IP I was using (1:2::3:4 was
an example), had a section with leading a zero and another without.
The UEFI firmware that I was using doesn't allow this
https://bugzilla.tianocore.org/show_bug.cgi?id=409

in other words
fc00:0101::1 - Wont work
fc00:101::1 - Worked fine

I then hit another problem, but I'll start another thread about it.
Post by Tore Anderson
Post by Derek Higgins
with a combination of different things, none of which I've gotten to
work, tcpdump shows the bootfile-url at least being sent in the dhcp6
advertise but then the UEFI firmware seems to ignore it
Have you tried using a tftp:// URL instead of http://? Not sure you can
rely on a UEFI firmware to implement HTTP.
Tore
Loading...