DHCP leasequery reply for clients with fixed-address

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

DHCP leasequery reply for clients with fixed-address

Kristian Pedersen
Hi list,

We are testing DHCP LEASEQUERY from Cisco CMTS cable routers (set up to
use "standard" method instead of Cisco draft leasequery).

All our hosts are added as hosts with fixed-address using OMAPI, so
entries in dhcpd.leases look like this:

host mac5039559852ceip100064048144 {
   dynamic;
   hardware ethernet 50:39:55:98:52:ce;
   fixed-address 100.64.48.144;
}

It seems V. 4.1.1-P1 wont reply to DHCPLEASEQUERY for fixed-addresses:

Mar 15 11:52:27 cmdhcp1 dhcpd: Received DHCPv4 packet without client-id
option and empty hlen field.
Mar 15 11:52:27 cmdhcp1 dhcpd: data: "leased-address" configuration
directive: there is no lease associated with this client.
Mar 15 11:52:27 cmdhcp1 dhcpd: DHCPLEASEQUERY from 10.111.72.1 for IP
100.64.48.144
Mar 15 11:52:27 cmdhcp1 dhcpd: DHCPLEASEUNKNOWN to 10.111.72.1 for IP
100.64.48.144 (0 associated IPs)

If I manually define a pool with this one ip for this one mac, then it
works:

Mar 15 12:29:02 cmdhcp1 dhcpd: Received DHCPv4 packet without client-id
option and empty hlen field.
Mar 15 12:29:02 cmdhcp1 dhcpd: data: "leased-address" configuration
directive: there is no lease associated with this client.
Mar 15 12:29:02 cmdhcp1 dhcpd: DHCPLEASEQUERY from 10.111.72.1 for IP
100.64.48.144
Mar 15 12:29:02 cmdhcp1 dhcpd: DHCPLEASEACTIVE to 10.111.72.1 for IP
100.64.48.144 (0 associated IPs)

Is there a way to get leasequery replies for fixed-address hosts? Maybe
its fixed in a newer version?

Thanks in advance,

--
Kristian Pedersen
ASOM-Net
Systemadministrator
www.asom-net.dk
Telefon: 44 400 970

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

Re: DHCP leasequery reply for clients with fixed-address

Simon Hobson
Kristian Pedersen <[hidden email]> wrote:

> All our hosts are added as hosts with fixed-address using OMAPI, so entries in dhcpd.leases look like this:
>
> host mac5039559852ceip100064048144 {
>  dynamic;
>  hardware ethernet 50:39:55:98:52:ce;
>  fixed-address 100.64.48.144;
> }
>
> It seems V. 4.1.1-P1 wont reply to DHCPLEASEQUERY for fixed-addresses:

I suspect this is because there is no lease created for fixed-address hosts - the server just bypasses all the lease logic and just offers the address. You might want to try using reserved leases (set the "reserved" flag on a lease), they go through the lease lifecycle - but just aren't allowed to be reallocated to another host.

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