Selecting fixed or dynamic address based on vendor-class-identifier
Anders Blomdell
anders.blomdell at control.lth.se
Mon Oct 21 15:38:18 UTC 2013
On 2013-10-21 17:24, Sten Carlsen wrote:
> class "pxeclient" {
> match if substring (option vendor-class-identifier, 0, 9) =
> "PXEClient";
> }
>
> host boottest {
> hardware ethernet 02:13:10:07:11:58;
> fixed-address 192.168.255.12;
> }
>
>
> shared-network all{
> subnet 192.168.254.0 netmask 255.255.255.0 {
> pool {
> allow members of "pxeclient";
> range 192.168.254.100 192.168.254.109;
> }
> }
>
> subnet 192.168.255.0 netmask 255.255.255.0 {
> deny members of "pxeclient"; }
> }
/tmp/1.conf line 20: expecting allow/deny key
deny members
^
/tmp/1.conf line 20: expecting a parameter or declaration
deny members of "pxeclient";
^
/tmp/1.conf line 23: unexpected end of file
}
^
Configuration file errors encountered -- exiting
'deny members' is only allowed inside pools AFAICT
/Anders
--
Anders Blomdell Email: anders.blomdell at control.lth.se
Department of Automatic Control
Lund University Phone: +46 46 222 4625
P.O. Box 118 Fax: +46 46 138118
SE-221 00 Lund, Sweden
More information about the dhcp-users
mailing list