[Dnsmasq-discuss] DHCP Option 67 Issue

Justin McAteer justin.mcateer at gmail.com
Thu Jun 25 02:31:28 BST 2009


I seem to be having a problem with DHCP option 67 and dnsmasq in that
dnsmasq seems to always force the option value into the DHCP header
bootfile-name field instead of creating an actual Option. I have a
particular DHCP client that does not accept this.

Does anyone know of a way to force dnsmasq to create an actual Option
67? I have tried using the raw option number as well as the 'encap'
option of the latest version to no avail.

I can reliably make this work under dhcpd, but not under dnsmasq. More
details (from Wireshark) follow:

-- dnsmasq WireShark (selected) output --
Boot file name: INI=,net:gateways

-- dnsmasq version information --
[root at server-ecx-nec-1-1 dnsmasq-2.49]# dnsmasq -v
Dnsmasq version 2.49  Copyright (C) 2000-2009 Simon Kelley

-- dnsmasq.conf (selected) contents --
# Options for the AudioCodes Gateways
dhcp-option = encap:67, 67, "INI="

# AudioCodes Gateways
# Range: 071 -> 079
# Notes: Allocated CAMA, FXO, FXS, in that order if possible.


-- dhcpd WireShark (selected) output --
Next server IP address: (
Boot file name not given

Option: (t=67,l=59) Bootfile name =
Option: (67) Bootfile name
Length: 59
Value: 494E493D6674703A2F2F417564634D703131783A41756463...

-- dhcpd config information --
# DHCP Server Configuration file.
#   see /usr/share/doc/dhcp*/dhcpd.conf.sample

# Recommended Configuration for AudioCodes DHCP Option 67 Provisioning
ddns-update-style ad-hoc;
default-lease-time 3600;
max-lease-time 3600;
class "audiocodes" {
       match if(substring(hardware, 1, 3) = 00:90:8f);
subnet netmask {
       pool {
               allow members of "audiocodes";
               option routers                ;
               option subnet-mask            ;
               option domain-name-servers    ;
               option bootfile-name
               option dhcp-parameter-request-list      1,3,6,51,67;

Justin McAteer

More information about the Dnsmasq-discuss mailing list