Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP IPv4 - Clear client lease

Hi, 

I´m using UTM 9, and sometimes i need to clear (immediately) a specific client lease.

There is any way do that ? (Webadmin,console,SSH).


Thanks in advance,


This thread was automatically locked due to age.
Parents
  • You can try to edit "/var/chroot-dhcps/var/state/dhcp/dhcpd.leases" and restart the DHCP server by "/var/mdw/scripts/dhcpd restart".

    But I'm not sure if the dhcpd (we use ISC dhcpd) keeps the lease table in memory and writes it to disk after a restart, so maybe you have to replace "restart" by "stop", edit the file and "start" it again...

    Cheers
     Ulrich
Reply
  • You can try to edit "/var/chroot-dhcps/var/state/dhcp/dhcpd.leases" and restart the DHCP server by "/var/mdw/scripts/dhcpd restart".

    But I'm not sure if the dhcpd (we use ISC dhcpd) keeps the lease table in memory and writes it to disk after a restart, so maybe you have to replace "restart" by "stop", edit the file and "start" it again...

    Cheers
     Ulrich
Children
No Data
Share Feedback
×

Submitted a Tech Support Case lately from the Support Portal?