My mac generates a daily temporary ipv6 for outbound connection usage, is there something similar that's available on Debian?

Thank you! -Pablo


You can specify a static address in /etc/network/interfaces:

iface eth0 inet6 static
address 2001:xxx:7927::61
netmask 64
gateway 2001:xxx:7927::1

You can also add additional interfaces (like eth0:0, eth0:1) in the same way.

To get a 'random' IPv6 address you can use the IPv6 Privacy Extension. You can enable it by setting /proc/sys/net/ipv6/conff/ethX/use_tempaddr to 2. This is described in ip-sysctl.txt:

echo "2">/proc/sys/net/ipv6/conff/eth0/use_tempaddr
  • Thanks for the answer mtak. I'll try the use_tempaddr, but I'm not sure the first part is what I'm looking for. Because my concern is if/when the delegated prefix from Comcast changes, the manual address in /etc/network/interfaces will no longer be reachable – Pablo Sep 3 '14 at 15:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.