omshell update of IPv6 host

Jarrod Johnson jarrod.b.johnson+isc at gmail.com
Mon Nov 15 19:52:42 UTC 2010


I've been trying to poke and prod the DHCPv6 stuff with omshell.  So far,
here is a host in dhcpd.conf:
 host h02 {
host-identifier option dhcp6.client-id
0:4:39:a5:5f:32:31:2e:11:de:96:cb:0:1a:64:ae:52:3a;
send host-name "h02";
fixed-address6 fd2d:c747:f314:d002::fed;
}

Then, I use omshell to try to look at it:
> new host
obj: host
> set name = "h02"
obj: host
name = "h02"
> open
obj: host
name = "h02"
ip-address = fd:2d:c7:47:f3:14:d0:02:00:00:00:00:00:00:0f:ed


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:

> set ip-address = fd:2d:c7:47:f3:14:d0:02:00:00:00:00:00:00:0f:ef
obj: host
name = "h02"
ip-address = fd:2d:c7:47:f3:14:d0:02:00:00:00:00:00:00:0f:ef
> update
can't update object: invalid argument


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20101115/a62bd66d/attachment.html>


More information about the dhcp-users mailing list