OpenNetAdmin

Track. Automate. Configure.

Home About Features Community Develop
Download this project as a tar.gz file

OLD POST: Re: DHCP Scopes

Matt

01-09-2009 21:35:04

A while back I replaced my forum software but never migrated the posts. I'm going to post a few that I think are good information in hopes that it can inform others. Here we go....



Re: DHCP Scopes
bstory Wrote:
-------------------------------------------------------
> I have been looking for a good IPAM solution for
> my shop for a few months and finally stumbled
> across ONA which seems to be a great solution for
> us. One of the things that we noticed as we were
> putting in data to explore ONA is that there are
> some limitations to DHCP scopes that could be
> fleshed out in the future.
>

Glad ONA is useful to you!

> The first new feature that we would like to see
> would be the ability to input exclusions so that
> you can put in a large scope in one block and then
> list the exclusions like in Microsoft's DHCP
> server. As a corollary to this, when adding a
> host it would be nice to have a check mark that
> would let you acknowledge that the host is within
> A DHCP scope and add an exclusion block into the
> documentation for it.
>

The DHCP support that ONA provides is built around *nix DHCP servers. Specifically ISC (is there really anything else for *nix? ok yes there is but thats for a later time).

The exclusion you are talking about is mostly a Microsoft convention that the ISC DHCP server does not support in the same way. I'll refer you to the following post to their mailing list: [url=http://marc.info/?l=dhcp-users&m=117004252720199&w=2]http://marc.info/?l=dhcp-users&m=117004252720199&w=2. This ultimately means that the configuration I build would have to have several range definitions to work around the potential overlaps.

Currently you can define multiple range statements within ONA to build this type of configuration. Certainly this is more work that clicking a checkbox to exclude an IP during the configuration build process. This is a fairly involved set of work to implement in the GUI as well as the backend build scripts to provide the appearance of what you are suggesting.

I would question the use of a large pool of addresses with random hosts that are either "hard coded" (on the pc side) or "static" (MAC based DHCP). I understand that sometimes hosts may not be always easy to move around on a subnet for various reasons but you should never be building your subnets this way on purpose. There should always be a well defined section of a subnet that is dynamic and a section that is static/hard coded. If your environment is using MAC based DHCP assignments then moving them outside of the dynamic pool range would be easy.

I certainly dont want to dictate how your environment is configured but in my 13+ years of running very large corporate DHCP networks I've found that things get nasty in a big hurry when you try to sprinkle hosts inside of pools. While it is technically possible, it can get unwieldy. I'd like to hear more about why your environment would need to run this way and couldnt be normalized into a dynamic pool range/static section of a subnet?

At this point I'll leave you with this. You can do what you need to do by defining multiple pool ranges via the GUI. This is supported today and will do what you need. While I understand this is not as simple as clicking a checkbox it will have to do for now as this feature will be low on my list. If demand grows for it I will reconsider. Hope this helps, though it may not be the answer you were looking for.

> Another thing that we would like to see is the
> ability to configure hosts within the DHCP scope
> that have reservations.

I'm not sure I understand here? Isn't this the same thing as you were requesting above?

>
> All in all this is an awesome product and I thank
> you for all of your hard work.
>

Thanks much!


lanks

13-03-2012 11:45:55

I want to second this. I'll explain a few points that have led us to where we are. Firstly, we mostly use Cisco routers for DHCP, this sucks. So, we're moving to MS DHCP where we can.

We have decided to begin assigning static IPs to printers via DHCP as we've found users tend to find a way to change or erase the IP on the printer when we statically assign it, we're hoping that by letting DHCP assign it, we'll have this problem less.

We also have been given a small number of blocks of addresses by our parent company, these tend to be broken down into very small subnets. So while it is always our best intention to reserve X number of addresses for devices that need statics, it doesn't always work. So we end up with a new printer or server at that site and we have to choose an address in the DHCP pool, either by excluding it or making it a static DHCP assignment.

So it would be awesome to be able to represent in ONA static DHCP assignments or exclusions. Unfortunately in the real world here, we can only plan so far. Sites dictate what we do, not the other way around :(

Oh, another thing I'd love to be able to see is the ability to represent an address as 'reserved for future use.' I suppose I could do that now just by giving the IP such a name, but it would be nice if I could do it a little differently. Just a thought :)