Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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).

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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
    
share|improve this answer
    
Ah, thank you . –  thejh Jun 11 '11 at 20:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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