Reply
Highlighted

Unused DHCP IPv4 Fixed Addresses

ckdalton01
Techie
Posts: 1
3492     0

Hello,

I'm still pretty new to infoblox but not new to DHCP or DNS.

I'm curious, is there a way to run a report or view from a window which DHCP IPv4 Fixed Addresses are currently unused? Or better yet, which IPv4 Fixed Addresses haven't been used for X number of days?

 

Thanks!

 

Chris

Re: Unused DHCP IPv4 Fixed Addresses

[ Edited ]
Adviser
Posts: 128
3493     0

Hi,

 

E.g. -1 day:

sourcetype=ib:dhcp:lease_history index=ib_dhcp_lease_history  ACTION="Fixed" | stats max(_time) as Time by LEASE_IP | where Time<now() - 86400

 

BR,

Vadim

Re: Unused DHCP IPv4 Fixed Addresses

jpcatanzaro
Techie
Posts: 13
3493     0

will this work on 8.0.6? I don't seem to be able to get it to work.

Re: Unused DHCP IPv4 Fixed Addresses

Adviser
Posts: 97
3493     0

It's not working in my 8.0.5 test environment, but I suspect that is because I don't have a client doing DHCP activity against a fixed address. Try going into the search and just doing the first portion of the query:

 

sourcetype=ib:dhcp:lease_history index=ib_dhcp_lease_history  

Then after it renders some results look at the ACTION type and see what values it contains. In my case there are none of the type "fixed".

 

fixed.png

Re: Unused DHCP IPv4 Fixed Addresses

jpcatanzaro
Techie
Posts: 13
3493     0

I don't get fixed either.  Just renewed, issued, freed, abandoned.

Showing results for 
Search instead for 
Do you mean 

Recommended for You