fxp555 Posted July 9, 2020 Share Posted July 9, 2020 (edited) Since it seems UNRAID OS is generating IPv6 interface identifiers randomly (if not let me know how these are actually generated) it would be very nice to add the possibilities to: 1) set the IPv6 address freely (already there) 2) use/enforce DHCPv6 2) use/enforce SLAAC but allow 2.1) setting the interface identifier accordingly to EUI-64 2.2) set tokenized interface identifiers (see man-pages) 2.3) setting the interface identifier randomized Edited July 9, 2020 by fxp555 Quote Link to comment
osn Posted November 30, 2020 Share Posted November 30, 2020 (edited) https://www.cnblogs.com/osnosn/p/13771929.html append a line in file:"config/go" , "/bin/sh /boot/cnofig/modify_dhcpcd.sh" #!/bin/bash # filename: config/modify_dhcpcd.sh # usage: unraid-6.8.2 , modify dhcpcd.conf , duid # set SLAAC ipv6 in eui64, use own DUID. # create by yourself:"config/duid" (DUID) -> "05:0a:0c:12:13:14:15:16" /bin/cp /boot/config/duid /var/lib/dhcpcd/duid /bin/sed -i 's/^#slaac hwaddr/slaac hwaddr/g;s/^slaac private/#slaac private/g' /etc/dhcpcd.conf if [ -f /run/dhcpcd-br0-6.pid ]; then kill $(cat /run/dhcpcd-br0-6.pid ) dhcpcd -b -q -t 10 -h my_Tower_Name -C resolv.conf -6 br0 fi Edited November 30, 2020 by osn Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.