Mapping a MAC to an IP...

Glenn Satchell Glenn.Satchell at uniq.com.au
Fri Jan 23 02:34:30 UTC 2009


>X-Authentication-Warning: angus.ind.WPI.EDU: cra set sender to cra at WPI.EDU 
using -f
>Date: Thu, 22 Jan 2009 14:29:54 -0500
>From: Chuck Anderson <cra at WPI.EDU>
>To: Users of ISC DHCP <dhcp-users at lists.isc.org>
>Subject: Re: Mapping a MAC to an IP...
>Content-Disposition: inline
>X-BeenThere: dhcp-users at lists.isc.org
>
>On Thu, Jan 22, 2009 at 12:48:36PM -0600, E Johnson wrote:
>> Chuck Anderson wrote:
>> >
>> > It depends.  If you mean to reserve a fixed-address for a client in a  
>> subnet, then you use a host statement (declared outside all subnet  
>> blocks).  fixed-addresses are handled separately in the server and do  
>> not follow the normal lease lifecycle nor are they stored in the  
>> dhcpd.leases file.  This is the traditional way to make sure a client  
>> gets a specific address all the time in the ISC dhcp server, and you  
>> must manually make sure any pool's range statements don't include the  
>> fixed-addresses in the range.
>>
>> This is exactly what I was wanting to do.
>>
>> The discussion resulting from this question shows me that I need a good  
>> reference manual so that I can learn the correct syntax.
>>
>> Could you please give me an example what the statement would look like  
>> and could you recommend some good reference material so I could learn  
>> proper syntax.
>
>man dhcpd.conf
>man dhcp-options
>
>etc. see the SEE ALSO sections of the above manual pages for other 
>man pages you can read.
>
>e.g.:
>
>subnet w.x.y.z netmask a.b.c.d {
>	option subnet-mask a.b.c.d;
>	option routers w.x.y.1;
>}
>
>host foo {
>	hardware ethernet aa:bb:cc:dd:ee:ff;
>	fixed-address a.b.c.20;
>}
>
There's also a book, "The DHCP Handbook" 2nd Edition by Ralph Droms and
Ted Lemon (both lurkers on this list :) It's a little old now, but
covers ISD dhcp version 3.x very well.

regards,
-glenn




More information about the dhcp-users mailing list