如何忽略dhcpd.conf中的一组Mac地址?

在dhcpd.conf中可以忽略来自一组MAC地址的请求吗?

像这样的东西:

host vminstances { hardware ethernet d0:0d:*; ignore booting; } 

你可以使用像这样的东西:

 class "ignored" { match if substring(hardware,1,4) = 00:02; } pool { deny members of "ignored"; range 192.168.172.100 192.168.172.149; } 

从邮件列表中的这个线程 ,阻止特定主机的另一个选项是:

 class "black-hole" { match substring (hardware, 1, 6); # deny booting; ignore booting; } subclass "black-hole" <MAC-ADDRESS-TO_IGNORE>; 

该线程还说, ignoredeny的区别在于后者logging请求,而前者不logging。