host declarations based on agent.remote-id

Austin Gabel austin at
Tue May 20 22:23:05 UTC 2008

I do something similar to this.  To set the static this way you just create
a pool with a range of one address, and only allow the option 82 info that
you want.  For your setup you could use:

class "customer1" { match if binary-to-ascii(16, 8, ":", substring(option
agent.remote-id, 2, 6)) = "00:00:00:00:00:00" }
pool {deny dynamic bootp clients; allow members of "customer1"; range; }

You would need to set up these two lines for each reservation.

On Tue, May 20, 2008 at 4:04 PM, Richard Laager <rlaager at> wrote:

> We're an ISP that's looking to do "static" DHCP addresses (DHCP
> reservations or whatever you want to call them) for certain customers.
> These are DSL customers, so we have an option 82 agent.remote-id that we
> can match on. Right now, we know how to do host declarations with
> "hardware ethernet ...", but we haven't been able to find a way to match
> on remote-id. Is this possible and if so, how?
> Thanks,
> Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list