Access Control

John Hascall john at iastate.edu
Wed Nov 18 15:03:43 UTC 2009


> how do I setup access control in dhcpd? I have a MAC address that I  
> want to deny lease to. I'm not sure how to specify the deny statement.
> 
> # mysubnet
> subnet 10.1.1.0 netmask 255.255.255.0 {
> range 10.1.1.10 10.1.1.100;
> option routers 10.1.1.1
> option domain-name " foo.bar";
> option domain-name-server "10.1.1.2";
> }
> 
> somewhere in here I need to Deny lease to 00:00:00:12:34:5f

Add:
host D00000012345f {
        hardware ethernet 00:00:00:12:34:5f;
        deny booting;
}

The host name must be unique, which is why I just use something like above.

John



More information about the dhcp-users mailing list