[Dnsmasq-discuss] dnsmasq 2.41 release candidate.

Simon Kelley simon at thekelleys.org.uk
Thu Jan 31 16:49:00 GMT 2008


rance at frontiernet.net wrote:
> Quoting Simon Kelley <simon at thekelleys.org.uk>:
> 
> 
>>             Add --dhcp-match flag, to check for arbitrary options in
>>             DHCP messages from clients. This enables use of dnsmasq
>>             with gPXE. Thanks to Rance for the suggestion.
>>
> 
> Simon, just to let you know, I haven't got confirmation yet from the
> gPXE folks that they fixed gPXE to account for the additional hex(00)
> character that terminates the options provided by the dhcp offer packet.
> 
> Until I know they did that, I cant test this with gPXE.
> 
> 
> But I figured I could test it with a carefully crafted dhclient.conf
> file on a linux box and wireshark the data to see if the dhcp offer
> packets selectively include/don't include the data.
> 

That would be good.

> Is the manual page / sample config file updated with examples on how to
> use this new option? if not, would you supply a mini howto so I could
> test this new option?

The sample config has the following, which is the vital information.

# Boot for Etherboot gPXE. The idea is to send two different
# filenames, the first loads gPXE, and the second tells gPXE what to
# load. The dhcp-match sets the gpxe tag for requests from gPXE.
#dhcp-match=gpxe,175 # gPXE sends a 175 option.
#dhcp-boot=net:#gpxe,undionly.kpxe
#dhcp-boot=mybootimage

> 
> BTW, my last name is Hall, in case you didnt know
> 
CHANGELOG updated, thanks.

Cheers,

Simon.





More information about the Dnsmasq-discuss mailing list