<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<big><font face="Aparajita"><small>Greetings,<br>
<br>
I have several subnets and multiple gateways relaying dhcp
request. I'ld like to assign dynamic leases, depending they
are member of a class or not. If Not, devices shall get an
offer from a private subnet.<br>
But I do not know how to seperate known from unknown hosts in
a class declartion.<br>
<br>
class "giaddr_1_known" { match if
(binary-to-ascii(10,8,".",packet(24,4)) = "<giaadr_1>")
}<br>
<br>
subclass "giaddr_1_known" 1:aa:bb.cc:dd:ee:ff;<br>
<br>
<br>
## unknown hosts from giaddr_1 should get leases from here<br>
subnet x.x.x.0 netmask 255.255.255.0 {<br>
pool {<br>
range 1.1.1.2 1.1.1.254;<br>
allow members of "giaddr_1_unknown";<br>
}<br>
}<br>
<br>
<br>
## hosts with subclass declaration should get leases from here<br>
subnet yyy.0 netmask 255.255.255.0 {<br>
pool {<br>
range 194.20.12.2 194.20.12.254;<br>
allow members of "giaddr_1_known;<br>
}<br>
}<br>
<br>
Perhaps one of you could help me.<br>
<br>
Best regards,<br>
Daniel<br>
</small></font></big>
</body>
</html>