where does latest dhcp options store?

Edward DeLargy eddelargy at gmail.com
Mon Mar 19 13:40:39 UTC 2012


Morning,
            Hope this helps:
             The dhclient lease information should only be stored in the
var/lib/dhclient folder. You should rm -rf * inside that folder to totally
clear old info. Also, depending on your dhcp config you may find traces
inside the network-scripts for the particular interface. A service network
restart should clear anything out after you remove all old files. Those are
the only two places I can think of that cache dhclient lease information.
If you don't remove the old options eventually the old address could pop
back in due to the TTL set in your primary dhcp.conf file.

Ed


On Sat, Mar 17, 2012 at 12:09 AM, Chengyu Fan <chengy.fan at gmail.com> wrote:

> Hi~
> Does anyone know that where does the latest dhcp options store?
> I released the old lease using "dhclient -r", and then request a new lease
> (I add a new option in the config file) using "dhclient ". The option I
> mentioned is a private option numbered 246. According to the packets I
> captured, the request and response is all OK, but I don't know where does
> the dhclient store this option.
>
> I searched the file /var/lib/dhcp/dhclient.leases, but it is not there...
>
> --
> Regards,
> Chengyu Fan
>
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120319/adcfbb3f/attachment.html>


More information about the dhcp-users mailing list