Option 43 and missing options - Solved(ish)
Ryan Gray
ryantgray at gmail.com
Fri Sep 7 21:32:30 UTC 2018
Hello again,
While I still do not understand why the addition of option 43 causes the
other options to *not* be sent, I did get the missing options to be sent to
the client by adding more "append" lines to my config like this:
shared-network Internet {
subnet 192.168.4.0 netmask 255.255.255.0 {
append dhcp-parameter-request-list 3;
append dhcp-parameter-request-list 6;
append dhcp-parameter-request-list 28;
append dhcp-parameter-request-list 43;
option vendor-encapsulated-options
01:xx:68:xx:xx:xx:3a:xx:2f:66:xx:6e:65:70:6f:xx:6e:74:2e:73:xx:61:79:7a:xx5:xx:2e:xx:6f:6d:xx:38:30:38:35;
option routers 192.168.4.254;
option broadcast-address 192.168.4.255;
range 192.168.4.40 192.168.4.49;
}
}
On Fri, Sep 7, 2018 at 1:45 PM Ryan Gray <ryantgray at gmail.com> wrote:
> Hello,
>
> 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;
>
> option vendor-encapsulated-options
> 01:xx:68:74:74:xx:3a:2f:2f:xx:69:6e:65:70:6f:xx:6e:74:2e:73:77:xx:79:7a:65:65:2e:63:6f:6d:3a:38:30:38:35;
>
> option routers xx.xxx.xxx.254;
>
> option broadcast-address xx.xxx.xxx.255;
>
> range xx.xxx.xxx.50 xx.xxx.xxx.254;
>
> ]
>
> A dhcpdump of a lease offer with option 43 (notice it's just plain missing
> the routers, dns resolvers, and broadcast options.
>
> TIME: 2018-09-06 14:17:07.608
>
> IP: 192.168.99.201 (52:54:0:a:38:bd) > xx.xxx.xxx.xx
> (60:9c:9f:c2:b7:d0)
>
> OP: 2 (BOOTPREPLY)
>
> HTYPE: 1 (Ethernet)
>
> HLEN: 6
>
> HOPS: 1
>
> XID: c5a26e05
>
> SECS: 0
>
> FLAGS: 0
>
> CIADDR: 0.0.0.0
>
> YIADDR: xx.xxx.xxx.xx
>
> SIADDR: 192.168.99.201
>
> GIADDR: xx.xxx.xxx.xx
>
> CHADDR: d8:b6:b7:e2:c4:3a:00:00:00:00:00:00:00:00:00:00
>
> SNAME: .
>
> FNAME: .
>
> OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER)
>
> OPTION: 54 ( 4) Server identifier 192.168.99.201
>
> OPTION: 51 ( 4) IP address leasetime 84228 (23h23m48s)
>
> OPTION: 43 ( 35) Vendor specific info 0121687474703a2f .!http:/
>
> xxx6696e65706f69 /some
>
> xxx42e737761797a address
>
> xxx52e636f6d3a38 path:8
>
> xxx835 085
>
> OPTION: 1 ( 4) Subnet mask 255.255.255.0
>
> OPTION: 82 ( 36) Relay Agent Information
>
> Circuit-ID 00:04:00:04:11:30
>
> Remote-ID 00:06:60:9c:9f:c2:b7:d0
>
> Experimental Ethernet
> 49:43:58:37:34:35:30:2d:31:2f:35:2f:31:2f:34:38
>
>
> If I remove the "append dhcp-parameter-request-list" and the "option
> vendor-encapsulated-options" lines, I get a complete lease and all is
> well...unless I need option 43 to be sent....which of course I do.
>
>
> I've tried moving those two lines to be underneath the "range" line
> (reaching, I know), to no avail.
>
>
> Has anyone experienced this before?
>
>
>
> Regards,
>
> Ryan Gray
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20180907/f5dd420b/attachment-0001.html>
More information about the dhcp-users
mailing list