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. Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" (Christian Kratzer) 2. Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" (Marc Haber) 3. Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" (Christian Kratzer) 4. Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" (Brice Abba) 5. Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" (Marc Haber) 6. Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" (Brice Abba) ---------------------------------------------------------------------- Message: 1 Date: Tue, 21 Nov 2017 10:15:06 +0100 (CET) From: Christian Kratzer <ck-li...@cksoft.de> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" Message-ID: <alpine.bsf.2.21.1711211014200.30...@nocfra1.cksoft.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, On Tue, 21 Nov 2017, Brice Abba wrote: > Hi Marc, > > Insert your host IPs in the subnet6 declaration as shown and try: > > subnet6 2a01:238:4071:3281::/64 { > host oversway { > host-identifier option > dhcp6.client-id 0:2:0:0:ab:11:a8:7c:5e:5d:25:dd:92:2e; > fixed-address6 2a01:238:4071:3281::6b:100; > } > } how is that supposed to make a difference. I was under the impression that hosts are globally scoped. Greetings Christian -- Christian Kratzer CK Software GmbH Email: c...@cksoft.de Wildberger Weg 24/2 Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart Mobile: +49 171 1947 843 Geschaeftsfuehrer: Christian Kratzer Web: http://www.cksoft.de/ ------------------------------ Message: 2 Date: Tue, 21 Nov 2017 11:21:31 +0100 From: Marc Haber <mh+dhcp-us...@zugschlus.de> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" Message-ID: <20171121102131.edxhwdiwfpfka...@torres.zugschlus.de> Content-Type: text/plain; charset=utf-8 On Tue, Nov 21, 2017 at 10:15:06AM +0100, Christian Kratzer wrote: > On Tue, 21 Nov 2017, Brice Abba wrote: > > > Hi Marc, > > > > Insert your host IPs in the subnet6 declaration as shown and try: > > > > subnet6 2a01:238:4071:3281::/64 { > > host oversway { > > host-identifier option > > dhcp6.client-id 0:2:0:0:ab:11:a8:7c:5e:5d:25:dd:92:2e; > > fixed-address6 2a01:238:4071:3281::6b:100; > > } > > } > > how is that supposed to make a difference. I was under the impression that > hosts are globally scoped. And, additionally, it's not the hosts that do have a host declaration that cause the problem, it's the hosts that don't. I don't think that this will help at all. Oh, btw, my apologies for not cleaning out the References Headers from my initial message, I didn't mean to hijack a thread. Just fat fingers. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 ------------------------------ Message: 3 Date: Tue, 21 Nov 2017 11:28:41 +0100 (CET) From: Christian Kratzer <ck-li...@cksoft.de> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" Message-ID: <alpine.bsf.2.21.1711211125010.30...@nocfra1.cksoft.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi On Tue, 21 Nov 2017, Marc Haber wrote: <snipp/> > Since the radvd advertises the networks as managed, all clients send > DHCP requests, and the server logs for each of those requests: > > Nov 21 08:54:59 chasse dhcpd[763]: Solicit message from > fe80::5054:ff:fe17:2fe7 port 546, transaction ID 0x811FA800 > Nov 21 08:54:59 chasse dhcpd[763]: DHCP6-RELAY client-id: > 0:2:0:0:ab:11:f6:cb:ae:dd:18:d1:73:c1, interface-id: , remote-id: > Nov 21 08:54:59 chasse dhcpd[763]: Unable to pick client address: no IPv6 > pools on this shared network > Nov 21 08:54:59 chasse dhcpd[763]: Sending Reply to fe80::5054:ff:fe17:2fe7 > port 546 > > These seriously clutter up my logs, can I tell the server that it should > ignore DHCP solicit messages from clients that it doesn't have static > configuration for? Or is it better to shrug and to have the DHCPv6 > server assign a "dynamic" IP address? ich checked in the isc dhcp 4.3.5 sources where the respective log messages comes from dhcpv6.c 1252 /*! 1253 * 1254 * \brief Get an IPv6 address for the client. 1255 * 1256 * Attempt to find a usable address for the client. We walk through 1257 * the ponds checking for permit and deny then through the pools 1258 * seeing if they have an available address. 1259 * 1260 * \param reply = the state structure for the current work on this request 1261 * if we create a lease we return it using reply->lease 1262 * 1263 * \return 1264 * ISC_R_SUCCESS = we were able to find an address and are returning a 1265 * pointer to the lease 1266 * ISC_R_NORESOURCES = there don't appear to be any free addresses. This 1267 * is probabalistic. We don't exhaustively try the 1268 * address range, instead we hash the duid and if 1269 * the address derived from the hash is in use we 1270 * hash the address. After a number of failures we 1271 * conclude the pool is basically full. 1272 */ 1273 static isc_result_t 1274 pick_v6_address(struct reply_state *reply) 1275 { ... ... ... 1306 /* If we get here and p is NULL we have no useful pools */ 1307 if (p == NULL) { 1308 log_debug("Unable to pick client address: " 1309 "no IPv6 pools on this shared network"); 1310 return ISC_R_NORESOURCES; 1311 } it looks to me you have very few options to stop the message. 1. add a pool to the subnet, perhaps just having a pool with deny all could help 2. uncomment the log_debug() and recompile 3. just ignore the message as it does not apply to your configuration Greetings Christian -- Christian Kratzer CK Software GmbH Email: c...@cksoft.de Wildberger Weg 24/2 Phone: +49 7032 893 997 - 0 D-71126 Gaeufelden Fax: +49 7032 893 997 - 9 HRB 245288, Amtsgericht Stuttgart Mobile: +49 171 1947 843 Geschaeftsfuehrer: Christian Kratzer Web: http://www.cksoft.de/ ------------------------------ Message: 4 Date: Tue, 21 Nov 2017 14:29:28 +0400 From: Brice Abba <bricea...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" Message-ID: <CABYY8cZq_fE9kw8eMW9Nj+TuxdVpt4cvcsBTKCHA-Xd-=6i...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" This can help to fix this error message: Nov 21 08:54:59 chasse dhcpd[763]: Unable to pick client address: no IPv6 pools on this shared network 2017-11-21 14:21 GMT+04:00 Marc Haber <mh+dhcp-us...@zugschlus.de>: > On Tue, Nov 21, 2017 at 10:15:06AM +0100, Christian Kratzer wrote: > > On Tue, 21 Nov 2017, Brice Abba wrote: > > > > > Hi Marc, > > > > > > Insert your host IPs in the subnet6 declaration as shown and try: > > > > > > subnet6 2a01:238:4071:3281::/64 { > > > host oversway { > > > host-identifier option > > > dhcp6.client-id 0:2:0:0:ab:11:a8:7c:5e:5d:25:dd:92:2e; > > > fixed-address6 2a01:238:4071:3281::6b:100; > > > } > > > } > > > > how is that supposed to make a difference. I was under the impression > that hosts are globally scoped. > > And, additionally, it's not the hosts that do have a host declaration > that cause the problem, it's the hosts that don't. I don't think that > this will help at all. > > Oh, btw, my apologies for not cleaning out the References Headers from > my initial message, I didn't mean to hijack a thread. Just fat fingers. > > Greetings > Marc > > -- > ------------------------------------------------------------ > ----------------- > Marc Haber | "I don't trust Computers. They | Mailadresse im Header > Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 > Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 > _______________________________________________ > dhcp-users mailing list > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -- ------------------------------ Brice ABBA www.afrinic.net -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20171121/2ae21944/attachment-0001.html> ------------------------------ Message: 5 Date: Tue, 21 Nov 2017 11:36:02 +0100 From: Marc Haber <mh+dhcp-us...@zugschlus.de> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" Message-ID: <20171121103602.anulkwfp2byxg...@torres.zugschlus.de> Content-Type: text/plain; charset=utf-8 On Tue, Nov 21, 2017 at 02:29:28PM +0400, Brice Abba wrote: > This can help to fix this error message: > > Nov 21 08:54:59 chasse dhcpd[763]: Unable to pick client address: no IPv6 > pools on this shared network That's a negative, sir. Nov 21 11:33:25 chasse systemd[1]: Starting ISC DHCP Server for IPv6 (dhcpd6.con f)... Nov 21 11:33:25 chasse dhcpd[3428]: WARNING: Host declarations are global. They are not limited to the scope you declared them in. Nov 21 11:33:25 chasse dhcpd[3428]: DHCP6-RELAY client-id: , interface-id: , rem ote-id: Nov 21 11:33:25 chasse systemd[1]: Started ISC DHCP Server for IPv6 (dhcpd6.conf). Nov 21 11:33:25 chasse dhcpd[3430]: WARNING: Host declarations are global. They are not limited to the scope you declared them in. Nov 21 11:33:25 chasse dhcpd[3430]: DHCP6-RELAY client-id: , interface-id: , remote-id: Nov 21 11:33:25 chasse dhcpd[3430]: Wrote 0 deleted host decls to leases file. Nov 21 11:33:25 chasse dhcpd[3430]: Wrote 0 new dynamic host decls to leases file. Nov 21 11:33:25 chasse dhcpd[3430]: Wrote 0 NA, 0 TA, 0 PD leases to lease file. Nov 21 11:33:25 chasse dhcpd[3430]: Bound to *:547 Nov 21 11:33:25 chasse dhcpd[3430]: DHCP6-RELAY client-id: , interface-id: , remote-id: Nov 21 11:33:25 chasse dhcpd[3430]: Server starting service. Nov 21 11:33:41 chasse dhcpd[3430]: Solicit message from fe80::5054:ff:fe93:ffc8 port 546, transaction ID 0xAEE52700 Nov 21 11:33:41 chasse dhcpd[3430]: DHCP6-RELAY client-id: 0:2:0:0:ab:11:45:47:cc:35:fc:a:7e:5b, interface-id: , remote-id: Nov 21 11:33:41 chasse dhcpd[3430]: Unable to pick client address: no IPv6 pools on this shared network Nov 21 11:33:41 chasse dhcpd[3430]: Sending Reply to fe80::5054:ff:fe93:ffc8 port 546 The only thing that the change changed was that now a warning appears that host declarations should be global. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 ------------------------------ Message: 6 Date: Tue, 21 Nov 2017 15:17:57 +0400 From: Brice Abba <bricea...@gmail.com> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: stateless DHCPv6 only, how to get rid of "unable to pick client address" Message-ID: <CABYY8cYU6HAZjroiu0OeSRBjqy7NU7xYK+hVyxSWMoUoUxoz=g...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" -1- add a pool then to the network, -2- Hosts with the fix address might then have two IPs from the same subnet, if you sont want (2) you can deny from the server dhcp-sol from partucular LLA (hots with fixed IPs) 2017-11-21 14:36 GMT+04:00 Marc Haber <mh+dhcp-us...@zugschlus.de>: > On Tue, Nov 21, 2017 at 02:29:28PM +0400, Brice Abba wrote: > > This can help to fix this error message: > > > > Nov 21 08:54:59 chasse dhcpd[763]: Unable to pick client address: no IPv6 > > pools on this shared network > > That's a negative, sir. > > Nov 21 11:33:25 chasse systemd[1]: Starting ISC DHCP Server for IPv6 > (dhcpd6.con > f)... > Nov 21 11:33:25 chasse dhcpd[3428]: WARNING: Host declarations are > global. They > are not limited to the scope you declared them in. > Nov 21 11:33:25 chasse dhcpd[3428]: DHCP6-RELAY client-id: , interface-id: > , rem > ote-id: > Nov 21 11:33:25 chasse systemd[1]: Started ISC DHCP Server for IPv6 > (dhcpd6.conf). > Nov 21 11:33:25 chasse dhcpd[3430]: WARNING: Host declarations are > global. They are not limited to the scope you declared them in. > Nov 21 11:33:25 chasse dhcpd[3430]: DHCP6-RELAY client-id: , interface-id: > , remote-id: > Nov 21 11:33:25 chasse dhcpd[3430]: Wrote 0 deleted host decls to leases > file. > Nov 21 11:33:25 chasse dhcpd[3430]: Wrote 0 new dynamic host decls to > leases file. > Nov 21 11:33:25 chasse dhcpd[3430]: Wrote 0 NA, 0 TA, 0 PD leases to lease > file. > Nov 21 11:33:25 chasse dhcpd[3430]: Bound to *:547 > Nov 21 11:33:25 chasse dhcpd[3430]: DHCP6-RELAY client-id: , interface-id: > , remote-id: > Nov 21 11:33:25 chasse dhcpd[3430]: Server starting service. > Nov 21 11:33:41 chasse dhcpd[3430]: Solicit message from > fe80::5054:ff:fe93:ffc8 port 546, transaction ID 0xAEE52700 > Nov 21 11:33:41 chasse dhcpd[3430]: DHCP6-RELAY client-id: > 0:2:0:0:ab:11:45:47:cc:35:fc:a:7e:5b, interface-id: , remote-id: > Nov 21 11:33:41 chasse dhcpd[3430]: Unable to pick client address: no IPv6 > pools on this shared network > Nov 21 11:33:41 chasse dhcpd[3430]: Sending Reply to > fe80::5054:ff:fe93:ffc8 port 546 > > The only thing that the change changed was that now a warning appears > that host declarations should be global. > > Greetings > Marc > > -- > ------------------------------------------------------------ > ----------------- > Marc Haber | "I don't trust Computers. They | Mailadresse im Header > Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 > Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 > _______________________________________________ > dhcp-users mailing list > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users > -- ------------------------------ Brice ABBA www.afrinic.net -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20171121/76b21941/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 109, Issue 16 *******************************************