Re: DHCP static hosts and subnet configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dear Paul.

> You can assign multiple host blocks for the same NIC, using a fixed-address
> directive in one but not in other. dhcpd will try for the best match. If the
> request arrives from subnet-B, and the fixed address is on that net, then
> that's the block that gets used. Otherwise, the less specific block will be
> used. E.g.,
>
>  host myhost {
>    hardware ethernet 11:22:33:44:55:66;
>    fixed-address 172.16.1.1;
^^ modified
>  }
>  host myhost-roam {
>    hardware ethernet 11:22:33:44:55:66;
>  }

Hmm, that does not really work on two different subnets. I have tried
to add a host declaration with fixed-address on the 'static' Subnet B
and one on the dynamic Subnet A with just the MAC address and
ddns-domain-name.

The client won't obtain an IP address on subnet A unless I add a
fixed-address declaration to it, too.

Marcus
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux