moving subnet to another server

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Jan 22 11:35:37 UTC 2015


Dana Huggard <dana.huggard at cohodata.com> wrote:

> So something  like this
> 
> class "select-hosts" {
>         match if (substring(option host-name,0,23) = "select-hosts");
> }

That would work.
If you want per-device control, have you considered doing it by MAC address ? See the section in man dhcpd.conf on subclasses.

> subnet 10.x.x.x netmask 255.255.192.0 {
>        option routers 10.x.x.x;
>        option nis-servers 10.x.x.x;
>        option domain-name-servers ns.sub.domain.name;
> 
>        pool {
>                 allow members of "select-hosts"
>                 range 10.x.x.x 10.x.x.x;
>        }
> }
> 
> What I'd like to ask the list is does anyone know;
>   1. If the select clients get denied on the other dhcp servers, will they find this one?

They should do if everything is working.

>   2. when one of the non-select clients tries here and is not allowed, will they give up or find the other dhcp servers?

They should keep trying until they find a server to give them a lease

>   3. Am I sane?

Are any of us ! It seems a reasonable way to go - just make sure that the ranges are distinct and non-overlapping or you'll get "confusion".



More information about the dhcp-users mailing list