Click to See Complete Forum and Search --> : dhcp ip->MAC lease list


crokett
12-23-2002, 03:35 PM
Where on my RH dhcp server can I find a list of the ip addresses it has leased to what mac addreses?

thanks

bastard23
12-23-2002, 05:10 PM
crokett,
Check out your dhcpd man pages, they should list it there. Or do a 'locate .leases'. That should find the dhcpd.leases file, which holds this information for the ISC dhcpd server.

Happy Holidays,
chris

PS (edit) On debian, my dhcpd ver. 3 leases file is located in /var/lib/dhcp3/. It will almost always be located in the /var heirarchy.

crokett
12-24-2002, 02:24 PM
thanks.

the .leases file is what I need. tried man dhcp and didn't get a manual entry. I didn't install the distro, maybe Bill didn't put man pages on or something.

thanks again.

cowanrl
12-24-2002, 03:51 PM
I can't tell by your response whether you found the file or not.

I'm runnning dhcpd on a RH 7.3 server and the file is:

/var/lib/dhcp/dhcpd.leases