group and agent.circuit-id

Nick Urbanik nicku at nicku.org
Sun Dec 4 04:37:49 UTC 2016


Dear Niall,

On 03/12/16 16:34 +0000, Niall O'Reilly wrote:
>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.

Thank you, yes, I saw it used in an example without realising it was
IPv6 only.
-- 
Nick Urbanik             http://nicku.org           nicku at nicku.org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24


More information about the dhcp-users mailing list