NAME

Net::DHCPv6::Option::ServerId - Server Identifier option (code 2)

VERSION

version 0.001

SYNOPSIS

my $sid = Net::DHCPv6::Option::ServerId->new(duid => $duid);
print $sid->duid->duid_type;

DESCRIPTION

Implements the Server Identifier option (OPTION_SERVERID, code 2) per RFC 8415 §21.2. The option data contains a single DUID.

ALPHA STATUS

ALPHA SOFTWARE. This is an early release. The interface is experimental and subject to change without notice.

METHODS

new(duid => $duid)

Constructor. Requires a Net::DHCPv6::DUID object.

duid

Returns the contained Net::DHCPv6::DUID object.

SEE ALSO

Net::DHCPv6::Option, Net::DHCPv6::Option::ClientId, Net::DHCPv6::DUID

AUTHOR

Dean Hamstead <dean@fragfest.com.au>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2026 by Dean Hamstead.

This is free software, licensed under:

The MIT (X11) License