Diferent dhcp relay

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Oct 11 19:57:09 UTC 2011


A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

André wrote:

>And in the pool of the subnets I specified before allow members of "online";
>deny members of "c3";

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

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.



More information about the dhcp-users mailing list