Option 43 and missing options

Ryan Gray ryantgray at gmail.com
Wed Sep 12 12:19:27 UTC 2018


Hey Peter,

I am sure that this works on the server. That is not because I found it in
the documentation, but just based on seeing it myself. I have confirmed
that these hosts are asking for these options. In fact, in the
DHCPDISCOVER, I see:

OPTION:  55 ( 14) Parameter Request List      1 (Subnet mask)
                                              3 (Routers)
                                              6 (DNS server)
                                             12 (Host name)
                                             15 (Domainname)
                                             28 (Broadcast address)
                                             51 (IP address leasetime)
                                             53 (DHCP message type)
                                             54 (Server identifier)
                                             66 (TFTP server name)
                                             42 (NTP servers)
                                              2 (Time offset)
                                            120 (SIP Servers DHCP Option)
                                            121 (Classless Static Route)


When the "append dhcp-parameter-request-list" and the "option
vendor-encapsulated-options...." are included in the config block for that
subnet, 3, 6, and 28 are just not sent.    That was, until I added the line
"append dhcp-parameter-request-list 3", then one for 6 and another for 28.
I suspect these aren't the only options missing, but the only ones I'm
caring about today.

I agree this behavior seems odd. That said, I have proven, at least here,
that these changes fix the issue. This seems like one of those murky things
that's going to manifest again during an upgrade or other system change. :)



On Tue, Sep 11, 2018 at 2:57 AM Peter Rathlev <peter at rathlev.dk> wrote:

> On Fri, 2018-09-07 at 13:45 -0500, Ryan Gray wrote:
> > I'm running DHCP Server 4.3.3. I have implemented option 43 to hand
> > out the URI of a tr069 server in the network.
> >
> > It works. However, when I am successfully giving a lease with option
> > 43 added, I am not getting options 3, 6, and 28. The lines I'm adding
> > to my subnet statement are:
> >
> > shared-network Internet {
> >     subnet xx.xxx.xxx.0 netmask 255.255.255.0 {
> >         append dhcp-parameter-request-list 43;
> [...]
>
> Are your sure "append" works like this on the server? I only know that
> option from the client configuration. I cannot see it mentioned in the
> man pages for dhcpd 4.3.6b1.
>
> We use syntax like this:
>
>    option dhcp-parameter-request-list = concat(option
> dhcp-parameter-request-list, 43);
>
> You shouldn't have to modify the "dhcp-parameter-request-list" though.
> The client should request it normally by itself. But there are of
> course clients that misbehave.
>
> --
> Peter
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180912/b1146eea/attachment.html>


More information about the dhcp-users mailing list