nm-duid This is a small tool to calculate the DHCPv6 DUID-UUID the same way NetworkManager does. The logic can be found in NM's generate_duid_from_machine_id().