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.
I have a dhcp server on my lan which gives out a .200 to .250 range of addresses. The thing is, my router/default gateway is in this range. I basically redid an old configuration on a new server that was pre-existing when I arrived, but it didn't have an exlusion for the gateway's ip address. There has never been any problem regarding this and I am wondering why that is.
1. Does the dhcpd server check if an ip is in use before assigning or does the dhcpcd/pump client do this?
2. Also, how should I create the exclusion? I have seen configs on the net where they statically assign an ip to a hardware address. Is this what I have to do just to make sure the ip address doesn't get assigned? It seems kind of a round about way of doing it... Or do I have to define 2 ranges either side of this address just to do this?
1. depends what the server is, but generally no it's not something you'd do by default as it does slow down the over all process.
2. just create a reservation, easy enough on most servers, so that wheter the router requests an ip by dhcp or not, only that one mac address is eleigble for that ip.
I'm referring to isc dhcpd (sorry should have said). I will probably just create the reservation for the gateway address if there isn't a better way. I suppose having 2 address ranges either side of the address isn't a good idea either and it will take more lines, right?
you can do next to anything with ISC, it's by far the industry standard, so generally if it can't do it, no one can... having two ranges isn't a problem, but it's not massively elegant really, making a reservation is simple enough, here's a suitable example... http://ezine.daemonnews.org/200207/dhcp.html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.