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 I want to know how i configure

I will know how i can configured the DHCP services to relase ip for other computers who not conected any more plz mail me or answer in here.

mikaelholmberg@hotmail.com


This thread was automatically locked due to age.
Parents
  • Afte a restart the IPs should be released again. Though if the same networkcard (MAC-address) connects again it will be given the same IP for a few month.
    You shold be able to see the current leases by vi /var/chroot-dhcps/var/state/dhcp/dhcp.leases.

    JHWas
  • The only way to free up a lease is to reboot?  That's not a good thing.  But I've been wondering why leases that should've expired (astaro even shows the expiration date), stay valid.

    Rebooting to release a lease really isn't acceptable.
  • It´s not good if i must reboot astaro everytime to relase an ip if i bya a new computer i will all my ip was relesed dam i have problem to explain my problem in english i´m from sweden.But i mean if i change computer the old ip from old computer is not released and i can´t find any place to configured it for ex hold ip for one day
  • The dhcpd.leases file is not automatically rewritten each time the dhcpd service starts. I think that he wants to know if Computer1 gets an IP from ASL then is disconnected. Can Computer2 that connects after it get the same address? The answer is "No" if the dhcpd.leases file still has an active lease for the MAC of Computer1.
    The dhcp server would have to check to see if there is still a machine at every IP in it's leases file and then delete all entries in the dhcpd.leases file for those IPs that don't answer.
    Correct me if I'm wrong.
  • Thanks JimM for the answer now i understand much more about DHCP
Reply Children
No Data