sudo sysctl -w net.inet6.ip6.use_tempaddr=1
net.inet6.ip6.use_tempaddr=1
sudo vi /etc/sysctl.conf
sudo sysctl net.ipv6.conf.eth0.use_tempaddr=2
sudo ip link set dev eth0 down
sudo ip link set dev eth0 up
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.all.temp_valid_lft = 900
net.ipv6.conf.default.use_tempaddr = 2
net.ipv6.conf.default.temp_valid_lft = 900
net.ipv6.conf.ethX.use_tempaddr = 2
net.ipv6.conf.ethX.temp_valid_lft = 900
echo "2" &t; /proc/sys/net/ipv6/conf/all/use_tempaddr
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*",
RUN+="sysctl net.ipv6.conf.%k.use_tempaddr=2"