Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi All,
I would liket to ask how can i release the ip got form a DHCP server? i have tried command like "pump -r", "dhcpd -k", "ifup", "if down,", delete all the dhcp client and lease under /etc/dhcp* ..but with no hope, what can i do to releaes that IP and get a new one ?
Thansk
Note that you'll probably get the same IP straight back again, because DHCP is designed to minimise disruptions and changes. DHCP typically allots your IP from your MAC address, if that doesn't change, the IP most likely won't either.
hi damien, im having a problem regarding my rh9 dhcp not releasing the ip addresses issued to different clients when they shutdown their pcs, how can i solve this problem? hope you can reply thanks man!
I don't know how to manually force a DHCP server to drop expired leases immediately from shutdown machines. Are the client machines releasing on shutdown? Try forcing a release on a client and check out the leases on the server in the dhcpd.leases file. Check your lease times on the server in etc/dhcpd.conf. You can reduce them to say 3600 seconds, which means every 30 minutes the active clients will attempt to renew their lease, and the server <should> expire leases that much more quickly. I'm by no means a DHCP expert, hopefully someone more informed than me will see this thread and be able to help you.
thank you very much logan, but is there any way wherein i can automatically flush the content of dhcpd.leases say for a certain period of time? thanks again man!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.