<pre>I'm using gmail to reply to the list and I'm getting messages digest so it get's dificult to <br>reply in a good method, I'll just remove the extra text sorry about this.<br><br>I tryed doing <br>class "c3" {<br>
match if binary-to-ascii(10, 16, "", substring( option agent.circuit-id,2 ,2)) = "99" and<br>     (<br>     binary-to-ascii(10, 16, "", substring( option agent.circuit-id,2 ,2)) != "65" and<br>
     binary-to-ascii(10, 16, "", substring( option agent.circuit-id,2 ,2)) != "1"<br>     );<br> log (info,<br>     concat (<br>     # "HOSTNAME: ", host-decl-name, " on ",binary-to-ascii (10, 8, ".", leased-address)," at ", <br>
     binary-to-ascii(10, 16, "", substring( option agent.circuit-id,2 ,2)), " + ",<br>     binary-to-ascii (16, 8, ":", substring (hardware, 1, 6))<br>     )<br>    );<br>}<br><br>My cable modem and cpe hit this class "c3" <br>
my cable modem belongs also to "online" class and hist a "known client" in the logs <br>I can confirm that cpe hits this.<br><br>In the pools I have deny members of "c3" <br>and in the pool for x.x.48.x I have<br>
allow members of "c3";<br>allow members of "online";<br>deny members of "CM";<br><br>My cpe is getting a "unknown client" in the logs no longer get's a different IP<br>I'm not sure if I understoud what you explained bellow since I don't fill that my<br>
interpreation above is "correct". If agent circuit-id is 99 then it can't be anything else<br>so it should match. <br><br>Should I be using spawn with option agent.remote-id ?<br>(didn't work)<br>Doing this will not associate class c3 and class online ?<br>
Even if it does inside the pool of x.x.48.x I am allowing<br>both.<br><br>Best regards,<br>FR<br><br><br>André wrote:

><i>And in the pool of the subnets I specified before allow members of "online";
</i>><i>deny members of "c3";
</i>
That might be part of your problem, mixing allow 
and deny generally doesn't work as you might 
expect and general advice is just not to do it.

'allow members of "a"' will implicitly deny any 
client not a member of a. If you want to allow 
members of one class who aren't also members of 
another, then you are better off creating a new 
class. Eg :

class "a"
   match if "condition a"

class "b:
   match if "condition b"

pool
   allow members of "a"
   deny members of "b"

probably won't do what you want. You could rewrite that as :

class c
   match if "condition a and not condition b"

pool
   allow members of "c"

-- 
Simon Hobson<br></pre>