I've been trying to poke and prod the DHCPv6 stuff with omshell. So far, here is a host in dhcpd.conf:<div><div> host h02 {</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>host-identifier option dhcp6.client-id 0:4:39:a5:5f:32:31:2e:11:de:96:cb:0:1a:64:ae:52:3a;</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>send host-name "h02";</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>fixed-address6 fd2d:c747:f314:d002::fed;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div>
</div><div><br></div><div>Then, I use omshell to try to look at it:</div><div><div>> new host</div><div>obj: host</div><div>> set name = "h02"</div><div>obj: host</div><div>name = "h02"</div><div>
> open</div><div>obj: host</div><div>name = "h02"</div><div>ip-address = fd:2d:c7:47:f3:14:d0:02:00:00:00:00:00:00:0f:ed</div></div><div><br></div><div><br></div><div>I don't see the host-identifier data reflected, but the other stuff appears. Anyway, out of curiosity, I see what happens if I take the open host and try to set ip-address:</div>
<div><br></div><div><div>> set ip-address = fd:2d:c7:47:f3:14:d0:02:00:00:00:00:00:00:0f:ef</div><div>obj: host</div><div>name = "h02"</div><div>ip-address = fd:2d:c7:47:f3:14:d0:02:00:00:00:00:00:00:0f:ef</div>
<div>> update</div><div>can't update object: invalid argument</div></div><div><br></div><div><br></div><div>Ultimately, I have the DUID in hand that I know will be in there. I want to inject a host with a given DUID without restarting DHCPd. I might or might not have a fixed address to go with it.</div>