Assigning a Fixed IP Address Based on dhcp-client-identifier

David W. Hankins David_Hankins at isc.org
Tue May 19 17:22:32 UTC 2009


On Tue, May 19, 2009 at 09:30:58AM -0700, Scott Coleman wrote:
> host pos_30
> {
>   option dhcp-client-identifier "\0pos_30";
>   option host-name "pos_30";
>   fixed-address 10.24.7.30;
> }
> 
> host pos_31
> {
>   option dhcp-client-identifier "\0pos_31";
>   option host-name "pos_31";
>   fixed-address 10.24.7.31;
> }

We should probably warn on this condition, but these host records
of yours have neither of the two clauses that are used to find
matches;

	hardware [htype] [mac];
	uid [dhcp-client-identifier contents];

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090519/2d3b6be2/attachment.bin>


More information about the dhcp-users mailing list