group and agent.circuit-id

Niall O'Reilly niall.oreilly at ucd.ie
Sat Dec 3 16:34:11 UTC 2016


On 3 Dec 2016, at 7:56, Nick Urbanik wrote:

> Could this work:
>
> group "different-dns" {
>    option domain-name-servers 1.2.3.4, 5.6.7.8;
>    host "host1" { host-identifier option agent.remote-id 
> "a-particular-agent.circuit-id"; }
>    host "host2" { host-identifier option agent.remote-id 
> "another-particular-agent.circuit-id"; }
>    ...
> }

   From the man-page:

   "The host-identifier option statement [...] identifies a DHCPv6 
client in a host statement."

   So, what you suggest seems valid only if you're running a DHCPv6 
server.

   For classic (IPv4) DHCP, the only data items you can use to identify 
a host are
   the 'dhcp-client-identifier' option and the network hardware address.

   Best regards,
   Niall O'Reilly


More information about the dhcp-users mailing list