Alpine Linux 上安装和配置 npd6(类似ndppd)的教程
安装npd6
apk add npd6
配置npd6,记得替换为你的实际子网和接口:
cat > /etc/npd6.conf <<EOF
interface=eth0
prefix=2001:db8:1234:64::/64
ralogging=off
listtype=none
listlogging=off
collectTargets=100
linkOption=false
ignoreLocal=true
routerNA=true
maxHops=255
pollErrorLimit=20
EOF
启动服务
rc-update add npd6
service npd6 start