Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Recently our clients hardly to get IP address via DHCP server than before and some times clients can not get IP address and return 169.xxx.xxx.xxx. I believe we're running out of the IP address so is there any way to know about that? Does reduce the lease time can help about this issue? We're running on Redhat Enterprise with BIND
If you've more Hosts then IP-Addresses are available for that particular netmask you'll have to create a new subnet declaration in dhcp.conf. Reducing the lease time won't solve it.
As i described above, we're running out of IP address but is there any way to know that on Linux server? Like on Window server, if the scope doesn't have enough IP addresses then it shows a exclamation point near to it so we know it has the problem. Can we do the same on Linux?
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Quote:
Originally Posted by odcheck
If you've more Hosts then IP-Addresses are available for that particular netmask you'll have to create a new subnet declaration in dhcp.conf. Reducing the lease time won't solve it.
Reducing the lease time does help if some of the machines are laptops that get moved, or systems that are turned off at various times. That frees up their IPs to be used by another station more quickly.
Chort - upon interface shutdown, the system is expected to release its lease. For machines that are yanked from the net, the reduced lease time will allow dhcpd to reuse the IP more quickly as you state.
We had a similar problem in our windows DHCP environment. One (5-6yr old!) server was handling all A D functions plus DHCP. I lowered the lease time then immediately noticed the resources would peak and stagger while narrowly keeping addresses available.
In the end we created VLAN's amd separate DHCP scope servers then got past that annoyance
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.