Mapping a MAC to an IP...

Chuck Anderson cra at WPI.EDU
Thu Jan 22 19:29:54 UTC 2009

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.


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;

More information about the dhcp-users mailing list