host-identifier with multiple fixed-address

Sztrepka Pál szpal at szarvas.hu
Wed May 15 12:28:17 UTC 2013


2013-05-15 10:33 időpontban Peter Rathlev ezt írta:

Thanks your reply, but OMAPI does not support the "class" object, and i 
create every static host declarations with that.

> You can probably do it with classes and a pool within the subnet that
> allows just these hosts.
>
>  class "cpe_1234" {
>    match if option agent.remote-id = 00:11:22:33:44:55;
>    spawn with option agent.remote-id;
>    lease limit 2;
>  }
>
>  subnet 192.0.2.0 netmask 255.255.255.0 {
>    option routers 192.0.2.1;
>    # ... more options
>
>    pool {
>      allow members of "cpe_1234";
>      range 192.0.2.10 192.0.2.11;
>    }
>  }

-- 
Üdvözlettel:
Sztrepka Pál



More information about the dhcp-users mailing list