IPv6: One address from MAC and one from Privacy Extensions?

3

how can I archieve the following: I have a linux system behind a gateway. I want to have two IPv6 addresses. For both, the first part should come from the router (as usual). The preferred address for outgoing traffic should be one whose second half is random and changes in fixed intervals (read: Privacy Extensions). The second one should be for things like accessing my computer via ssh and, because of that, have a static second half (and be totally static link-local).

thejh

Posted 2011-06-11T19:17:36.697

Reputation: 1 067

Answers

3

This is the default behavior on most systems. If you enable Privacy Addressing on your computer, you will still keep the MAC-based IP address.

From How to avoid exposing my MAC address when using IPv6?

  • Linux:

    To enable temporary addresses and make them preferred for outgoing connections:

    sysctl net.ipv6.conf.all.use_tempaddr=2
    

user1686

Posted 2011-06-11T19:17:36.697

Reputation: 283 655