ipv6 dhcp server not handing out addresses

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: stateless DHCPv6 only, how to get rid of "unable to pick client address"

Marc Haber
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
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: stateless DHCPv6 only, how to get rid of "unable to pick client address"

Brice Abba
-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 <[hidden email]>:
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
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users



--

Brice ABBA
www.afrinic.net


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: stateless DHCPv6 only, how to get rid of "unable to pick client address"

Marc Haber
Hi,

On Tue, Nov 21, 2017 at 03:17:57PM +0400, Brice Abba wrote:
> -1- add a pool then to the network,

resulting in a second "dynamic" IP address on _every_ host. I'd like to
avoid that.

> -2- Hosts with the fix address might then have two IPs from the same subnet,

All host will have at least two IPv6 addresses then: The dynamic IPv6
learned via SLAAC, the dynamic IPv6 address from the DHCP pool, and -
optionally - any static host addresses from the host statement.

> if you sont want (2) you can deny from the server dhcp-sol from partucular
> LLA (hots with fixed IPs)

Can I have a blanket deny that applies to all hosts that are not
explicitly listed? How would I write that? Having to list a deny for
every host present on the network is explicitly what I'd like to avoid.

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
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: stateless DHCPv6 only, how to get rid of "unable to pick client address"

Simon Hobson
Marc Haber <[hidden email]> wrote:

> Can I have a blanket deny that applies to all hosts that are not
> explicitly listed? How would I write that? Having to list a deny for
> every host present on the network is explicitly what I'd like to avoid.

"deny unknown-hosts;" does it in the IPv4 server. A host is "known" if it has a host statement that matches.

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
12