On 1/4/19 11:43 AM, Tom H wrote:
On Fri, Jan 4, 2019 at 2:44 PM Stephen Berg (Code 7309)
<[email protected]> wrote:
Is there a file that contains, or command that will display, the DUID a
system is using when communicating to a DHCPv6 server? I need to know
what the DUID is so I can set a static reservation for the client but
I've not been able to figure out the DUID for a given system until after
it gets a dynamic address.
I don't use dhcp or ipv6 but wouldn't the DUID be in the lease file,
under "/var/lib/dhcp/" or "/var/lib/dhclient/"?
Yes it would be if the system has already attempted to get an address
via DHCP. But I'd like to determine the DUID before that happens so I
can have the DHCP server already configured to respond with the proper
address.
--
Stephen Berg, IT Specialist, Oceanography Division, Code 7309
Naval Research Laboratory
W: (228) 688-5738
DSN: (312) 823-5738
C: (228) 365-0162