DHCPv6
DUID ermitteln
systemd-networkd (getestet unter Arch Linux)
$ cat /run/systemd/netif/leases/* | grep CLIENTID | tail -c 29
ISC (getestet unter Arch Linux)
/etc/dhcpcd.duid
einfach ignorieren…
$ cd /tmp; curl -O https://isc.sans.edu/diaryimages/duidconvert.pl
# dhclient -6
- wait for it …
# killall dhclient
# DUID="$(grep default-duid /var/lib/dhclient/dhclient6.leases | awk 'BEGIN{FS="default-duid \"|\";";RS=EOF} {print $2}')"
$ perl duidconvert.pl "${DUID}" | head -1
- configure static-mapping on rauter?…
$ echo "default-duid \"${DUID}\";" | sudo tee /var/lib/dhclient/dhclient6.leases
# dhclient -6