dhcpd: varying vendor-class-identifier
- by jessicah
I'm having trouble selectively sending parameters in response to a DHCP Inform packet using groups (or even without, just using host declarations) for bootp stuff. My configuration file right now looks like:
subnet 130.123.131.128 netmask 255.255.255.128 {
allow unknown-clients;
}
host dev-mac-09 {
option vendor-class-identifier "example-identifier";
hardware ethernet 10:9a:dd:51:ff:83;
}
If I put vendor-class-identifier in the global scope, using tcpdump I can see that the client receives the vendor class option successfully. If I take it out, and just keep it in the host scope (or group scope), the client never receives the option. Specifying option dhcp-parameter-request list 60 doesn't help either.
I did try using a class definition inside a group, but then it applied even if the host wasn't a part of the group.
As an aside, how do I get detailed logging? At least something to indicate what groups and things got used to generate the response to the client.