Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Hmmmmmmmm...
I don't know how on earth those addresses can be leased with your current configuration that you gave here...or maybe i'm just not looking straight today:P
I usually just use:
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.250;
}
for the whole range of adress 2 - 250
In your example your pool is only 100 - 150 meanining that addresses between 200-220 will never be leased to computers from the DHCP server, because it isn't set!
in my example to exclude them from a list do the following...
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.199;
range 192.168.0.221 192.168.0.250;
}
thats what I use
Thanks for the response. I'm implementing a DHCP Configuration utility for Linux and I was looking at Windows as an example. I didn't know that excludes didn't exist in Linux.
It's a technicality really. In windows you have to set the exclusions... in linux with dhcpd you set the ranges you want but no exclusions. you can pick a range from .100 - .200 and then another range from .205 - .210 and the technical "exclusion" if you, will is from .201 to .204
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.