Unknown client alerts and clients not getting IP addresses

Fleming, Tony t.fleming at tcu.edu
Tue Aug 23 14:16:58 UTC 2016


Thank you. I will make the changes and see if that fixes the problem.

Tony

-----Original Message-----
From: dhcp-users [mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Simon Hobson
Sent: Tuesday, August 23, 2016 9:11 AM
To: Users of ISC DHCP <dhcp-users at lists.isc.org>
Subject: Re: Unknown client alerts and clients not getting IP addresses

"Fleming, Tony" <t.fleming at tcu.edu> wrote:

> class "Wired" {
>         match hardware;
> }
> class "Wireless" {
>         match hardware;
> }
>  
> shared-network "STUWIRELESS-XXX" {
>         authoritative;
>         subnet 10.31.0.0 netmask 255.255.240.0 {
>                 pool {
>                         allow members of "Wireless";
>                         default-lease-time 3600; #1 hour
>                         max-lease-time 3600;
>                         option ntp-servers X.X.X.X, X.X.X.Y;
>                         option domain-name-servers X.X.X.X, X.X.X.Y;
>                         one-lease-per-client true;
>                         option routers 10.31.0.1;
>                         deny unknown-clients;
>                         range 10.31.0.20 10.31.15.254;
>                 }
>         }
> }
>  
> subclass "Wireless" 44:85:00:2F:81:86; host XXXX.STUDENT.XXX.XXX { 
> hardware ethernet 44:85:00:2F:81:86; }

First, as Niall points out, for your subclass declarations, you need to include the hardware type, so that should be :
subclass "Wireless" 1:44:85:00:2F:81:86;

This is shown in the man page examples for subclass.

Secondly, do you need both the subclass and host declarations ?
I'm not sure whether it includes known|unknown-clients, but general advice is to never mix allow and deny in a pool as the way the mix works isn't intuitive (and I can never remember how it goes !). Certainly, the "allow members of ..." will imply "deny anything not in ..."
If you don't need the host declarations, then it would save a considerable amount of maintenance.

_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


More information about the dhcp-users mailing list