Multi IP assign for single MAC-Urgent
Simon Hobson
dhcp1 at thehobsons.co.uk
Mon Mar 14 17:21:41 UTC 2011
<arun.sasi1 at wipro.com> wrote:
>class "ras-clients" {
> match if substring (option dhcp-client-identifier, 1, 4) =
>"RAS";
>ignore booting ;
>}
That won't work. You are comparing a FOUR byte string (substring
(option dhcp-client-identifier, 1, 4)) with a THREE byte string
("RAS").
You either want 3 bytes (substring ... 1,3) or 4 bytes ("RAS ")
--
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