Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. Option 43 and missing options (Ryan Gray) 2. Re: Option 43 and missing options - Solved(ish) (Ryan Gray) ---------------------------------------------------------------------- Message: 1 Date: Fri, 7 Sep 2018 13:45:51 -0500 From: Ryan Gray <ryantg...@gmail.com> To: dhcp-users@lists.isc.org Subject: Option 43 and missing options Message-ID: <CA+qjufMOQZ-ht9RGzwmj+N43PHoGw0=klprcryujuothl_0...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" 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/8850450a/attachment-0001.html> ------------------------------ Message: 2 Date: Fri, 7 Sep 2018 16:32:30 -0500 From: Ryan Gray <ryantg...@gmail.com> To: dhcp-users@lists.isc.org Subject: Re: Option 43 and missing options - Solved(ish) Message-ID: <CA+qjufPYTtvgKBASf3HZyjGn=vs6jhdp6nyeyju07+gflh6...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" 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 <ryantg...@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.html> ------------------------------ Subject: Digest Footer _______________________________________________ dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 119, Issue 3 ******************************************