<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFCC">
<br>
<div class="moz-cite-prefix">On 21/10/13 17.38, Anders Blomdell
wrote:<br>
</div>
<blockquote cite="mid:52654A6A.9030600@control.lth.se" type="cite">On
2013-10-21 17:24, Sten Carlsen wrote:
<br>
<blockquote type="cite">class "pxeclient" {
<br>
match if substring (option vendor-class-identifier, 0, 9) =
<br>
"PXEClient";
<br>
}
<br>
<br>
host boottest {
<br>
hardware ethernet 02:13:10:07:11:58;
<br>
fixed-address 192.168.255.12;
<br>
}
<br>
<br>
<br>
shared-network all{
<br>
subnet 192.168.254.0 netmask 255.255.255.0 {
<br>
pool {
<br>
allow members of "pxeclient";
<br>
range 192.168.254.100 192.168.254.109;
<br>
}
<br>
}
<br>
<br>
subnet 192.168.255.0 netmask 255.255.255.0 {
<br>
deny members of "pxeclient"; }
<br>
}
<br>
</blockquote>
/tmp/1.conf line 20: expecting allow/deny key
<br>
deny members
<br>
^
<br>
/tmp/1.conf line 20: expecting a parameter or declaration
<br>
deny members of "pxeclient";
<br>
^
<br>
/tmp/1.conf line 23: unexpected end of file
<br>
}
<br>
^
<br>
Configuration file errors encountered -- exiting
<br>
<br>
<br>
'deny members' is only allowed inside pools AFAICT
<br>
</blockquote>
Yep, you may try to put a pool inside the 255 subnet, probably a
pool may be empty, otherwise give it a range of 1 address at a
corner where it does not hurt.<br>
<br>
I am still not sure which takes precedence host or class. As I can
read, it should be host but the man-pages are not always accurate,
specially not in that area.<br>
<blockquote cite="mid:52654A6A.9030600@control.lth.se" type="cite">
<br>
/Anders
<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
</pre>
</body>
</html>