[Dnsmasq-discuss] problem with dhcp options

Carlos Carvalho carlos at fisica.ufpr.br
Fri Jan 5 13:59:50 GMT 2007


Simon Kelley (simon at thekelleys.org.uk) wrote on 5 January 2007 07:43:
 >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.

Ops, typo. However, it didn't change anything. Further, for machines
that do pxe boot there's no root path option:

dhcp-host = teide,00:11:2f:84:22:db,id:*,net:teide
dhcp-boot = net:teide,/var/remoteboot/pxelinux.0,hoggar

and I get

*** glibc detected *** malloc(): memory corruption: 0x0804f278 ***
zsh: abort      env - ./udhcpc -q -s ./script.udhcpc



More information about the Dnsmasq-discuss mailing list