Wrong gateway when using class in a subnet
Simon Hobson
dhcp1 at thehobsons.co.uk
Fri Jun 1 15:22:40 UTC 2012
jeffrey j donovan wrote:
> pool {
> allow members of "ALCATEL-iptouch";
> allow members of "somePhones";
> deny members of "FHS";
> deny members of "smartphones";
> deny members of "ipod";
It is strongly advised not to mix allow and deny in one place - and
in this case it is not required anyway. Wherever you have an allow,
there is an implicit "deny anything not allowed"; and wherever you
have a deny, there is an implicit "allow anything not denied".
If you mix allow and deny, then the results are not what most people
expect. I can never remember how it works, but it is **NOT** "work
down the list until you reach something that matches".
So for this one, all you need to do is allow "ALCATEL-iptouch" and
"somePhones" - once you've got an allow statement, everything else is
implicitly denied.
--
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