Problem with class definition

Simon Hobson dhcp1 at thehobsons.co.uk
Tue Sep 7 16:14:36 UTC 2010


??????????? ?????????? wrote:

>     match if ( binary-to-ascii(16, 8, "", packet(24,4)) = "5e89bf41" );

You can write this as :
   match if (  packet(24,4 = 5e:89:bf:41 )


>where 5e89bf41 and 5e89bf1 are gateway ip addresses in hex.

5e89bf1 is missing a digit ?


>when i use
>
>         deny unknown-clients;
>         allow members of "ADSL_Universal_35";

Do you explicitly need to bar unknown clients ? If not, then "allow 
..." is sufficient to block any client not matching that class.


-- 
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