Problem using subclasses, getting no free leases
Holger Honert
holger.honert at signal-iduna.org
Tue Mar 21 11:35:32 UTC 2006
Hi Marcus,
what about defining a pool range such as:
subnet 192.168.8.0 netmask 255.255.255.224
{
pool
{
range 192.168.8.11 192.168.8.100;
option domain-name "public.local";
option subnet-mask 255.255.255.224;
range 192.168.8.10 192.168.8.20;
allow members of "test";
}
}
Kind Regards
Holger
Uddenhed, Marcus schrieb:
> I can't get the use of subclasses in dhcpd.conf
> it says that there are no free leases, below are the dhcpd.conf file,
> tcpdump from the dhcpd server and the logmessages in the messages log.
>
> What am i doing wrong.
>
> The clients are primarily Windows machines if that could be an
> tip in the right direction on the error.
>
> I've used the following rows to instead of the match hardware-address
> under class "test" clause.
> "match hardware;" & "match pick-first-value (option
> dhcp-client-identifier, hardware);" but with no difference
> in the outcome.
>
> Thanks in advance
>
> Marcus Uddenhed
>
> dhcpd.conf:
> -----------------
>
> authoritative;
> deny duplicates;
> deny declines;
> get-lease-hostnames on;
> one-lease-per-client on;
> ddns-update-style none;
> default-lease-time 3600;
> max-lease-time 84600;
> allow client-updates;
> boot-unknown-clients on;
>
> # test class
> class "test"
> {
> match hardware-address;
> }
>
> subclass "test" 1:00:0c:29:bb:e5:db;
>
> subnet 192.168.8.0 netmask 255.255.255.224
> {
> pool
> {
> option domain-name "public.local";
> option subnet-mask 255.255.255.224;
> range 192.168.8.10 192.168.8.20;
> allow members of "test";
> }
> }
>
>
> tcpdump -vv:
> ------------------
>
> 09:39:20.688212 IP (tos 0x0, ttl 128, id 551, offset 0, flags [none],
> proto: UDP (17), length: 328) 0.0.0.0.bootpc > 255.255.255.255.bootps:
> BOOTP/DHCP, Request from 00:0c:29:bb:e5:bd (oui Unknown), length: 300,
> xid:0x25385500, flags: [Broadcast] (0x8000)
> Client Ethernet Address: 00:0c:29:bb:e5:bd (oui Unknown) [|bootp]
> 09:39:22.498040 IP (tos 0x0, ttl 128, id 552, offset 0, flags [none],
> proto: UDP (17), length: 328) 0.0.0.0.bootpc > 255.255.255.255.bootps:
> BOOTP/DHCP, Request from 00:0c:29:bb:e5:bd (oui Unknown), length: 300,
> xid:0x25385500, secs:57227, flags: [Broadcast] (0x8000)
> Client Ethernet Address: 00:0c:29:bb:e5:bd (oui Unknown) [|bootp]
> 09:39:26.267276 IP (tos 0x0, ttl 128, id 553, offset 0, flags [none],
> proto: UDP (17), length: 328) 0.0.0.0.bootpc > 255.255.255.255.bootps:
> BOOTP/DHCP, Request from 00:0c:29:bb:e5:bd (oui Unknown), length: 300,
> xid:0x25385500, secs:57227, flags: [Broadcast] (0x8000)
> Client Ethernet Address: 00:0c:29:bb:e5:bd (oui Unknown) [|bootp]
> 09:39:31.280183 IP (tos 0x0, ttl 128, id 554, offset 0, flags [none],
> proto: UDP (17), length: 328) 0.0.0.0.bootpc > 255.255.255.255.bootps:
> BOOTP/DHCP, Request from 00:0c:29:bb:e5:bd (oui Unknown), length: 300,
> xid:0x25385500, secs:57227, flags: [Broadcast] (0x8000)
> Client Ethernet Address: 00:0c:29:bb:e5:bd (oui Unknown) [|bootp]
>
> messages log:
> ----------------------
>
> Mar 20 15:00:33 dhcp dhcpd: DHCPDISCOVER from 00:0c:29:bb:e5:bd via
> lnc0: network 192.168.8.0/27: no free leases
> Mar 20 15:01:51 dhcp dhcpd: DHCPDISCOVER from 00:0c:29:bb:e5:bd via
> lnc0: network 192.168.8.0/27: no free leases
> Mar 20 15:02:06 dhcp last message repeated 3 times
> Mar 20 15:04:57 dhcp dhcpd: DHCPDISCOVER from 00:0c:29:bb:e5:bd via
> lnc0: network 192.168.8.0/27: no free leases
> Mar 20 15:08:23 dhcp last message repeated 7 times
> Mar 20 15:10:15 dhcp dhcpd: DHCPDISCOVER from 00:0c:29:bb:e5:bd via
> lnc0: network 192.168.8.0/27: no free leases
> Mar 20 15:10:29 dhcp last message repeated 3 times
> Mar 20 15:13:42 dhcp dhcpd: DHCPDISCOVER from 00:0c:29:bb:e5:bd via
> lnc0: network 192.168.8.0/27: no free leases
> Mar 20 15:13:58 dhcp last message repeated 3 times
>
>
>
>
>
More information about the dhcp-users
mailing list