[Dnsmasq-discuss] bootp-tag not working

Hans-Joachim Baader Hans-Joachim.Baader at cjt.de
Wed Sep 5 15:50:58 BST 2012


Hi,

I currently use version 2.42 with the following options in the config file:

dhcp-option=43,09:0f:00:03:0c...
dhcp-option=bootp,43

Meaning that option 43 is sent except when the request was BOOTP.

I'm now testing version 2.63 and it doesn't work anymore, the option is set
even in BOOTP requests, causing problems. The syslog says

cannot send DHCP/BOOTP option 43: no space left in packet

So i checked the man page and changed the option to

dhcp-option=tag:!bootp,43,09:0f:00:03:0c...

Unfortunately this doesn't change anything. Is it supposed to work this way?
Did I hit a regression?

The config file looks like that:

pid-file=/var/run/dnsmasq/dnsmasq.pid
no-poll
dhcp-no-override
domain=dom.local

dhcp-range=net1,172.16.81.1,172.16.81.254,1d
dhcp-range=net2,192.168.1.101,192.168.1.120,1d

dhcp-option=46,1           # netbios node type
dhcp-option=net1,option:router,172.16.11.254
dhcp-option=net2,option:router,192.168.1.1
dhcp-option=6,172.16.1.1
dhcp-option=net1,1,255.255.0.0
dhcp-option=net2,1,255.255.255.0

dhcp-option=tag:!bootp,43,09:0f:00:03:0c:4e:65:74:77:6f:72:6b:20:62:6f:6f:74:0a:05:00:4d:45:4e:55:06:01:02:08:03:00:03:00:47:04:00:03:00:00:43:01:41:ff

dhcp-boot=dummy.0,server051,172.16.1.61
bootp-dynamic

dhcp-lease-max=254
dhcp-authoritative



Thanks for any help,
Hans-Joachim


More information about the Dnsmasq-discuss mailing list