cannot change ip address in pool (fixed question)

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Sep 13 09:08:30 UTC 2012


Jan nowak wrote:
>thanks for fast reply. You scared the hell out of me. I have 1k 
>users in this config and every record have same pattern, all of this 
>lines are in shared netowrk

I wrote:

>Not only is this hard to read, it's mixing scopes as well.
>
>
>host m69 {
>   hardware ethernet 00:0a:73:f9:e6:3a;
>   fixed-address 172.16.10.69;
>   filename "<http://plik.cm>plik.cm";}
>   class "M069" {
>     match if binary-to-ascii(16, 8, ":", option agent.remote-id) = 
>"0:a:73:f9:e6:3a";
>     spawn with option agent.remote-id; lease limit 1;
>   }
>   pool {
>     allow members of "M069";
>     range 172.16.20.69;
>   }
>}

See, even I managed to miss that closing brace on the host statement :-/

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