[Dnsmasq-discuss] problem with dhcp options

Simon Kelley simon at thekelleys.org.uk
Fri Jan 5 07:43:31 GMT 2007


Carlos Carvalho wrote:
> I'm using the config below for dhcp in dnsmasq.
> 
> In /etc/dnsmasq.conf:
> 
> dhcp-authoritative
> no-ping
> leasefile-ro
> domain=fisica.ufpr.br
> dhcp-option=19,0
> conf-file = /etc/dnsmasq/dhcp
> 
> In /etc/dnsmasq/dhcp:
> 
> dhcp-option=3,zagros
> # smtp server
> dhcp-option=69,hoggar
> dhcp-range = 192.168.5.1,static,5m
> conf-file = /etc/dnsmasq/dhcp-hosts
> 
> And this is the config for one of the machines in /etc/dnsmasq/dhcp-hosts:
> 
> dhcp-host = abiod,00:e0:7d:d0:b8:e5,id:*,net:abiod
> dhcp-boot = net:abiod,/var/remoteboot/pentium-rtl8139,hoggar
> dhcp-option = abiod,19,/var/nfsroot/profs-root/abiod

Root path is option 17, not option 19. That probably explains everything
else. Option 19 is a boolean option and clients will be expecting a one
byte data field, the presence of a string is likely to confuse them.

Cheers

Simon.










More information about the Dnsmasq-discuss mailing list