Static IP via Option 82 - methodology

Peter Rathlev peter at
Wed Jan 22 22:51:49 UTC 2014

On Wed, 2014-01-22 at 14:32 -0500, perl-list wrote:
> For example... would this work?:
> -----------------------------------------------------
> host 10-24-24-9 
>      host-identifier option agent.circuit-id "";
>      fixed-address;
>      server-name "";
>      filename "SomeCFG.cfg";
> }
> -----------------------------------------------------
> It passes muster as far as dhcpd doesn't complain and will run, but
> will the client receive the server-name / filename options?

That'll work fine. If server-name and filename are the same for several
hosts you could also place it in the subnet declaration.

Generally you can place options anywhere you want. Options placed
outside everything ("global scope") are server to every client asking
for them. Inside a subnet declaration it's server to every client in
that subnet, including static hosts. Inside a pool it's only served to
clients in that pool.


More information about the dhcp-users mailing list