diff options
author | bnewbold <bnewbold@robocracy.org> | 2013-06-14 12:46:43 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2013-06-14 12:49:24 -0400 |
commit | 36543614e1b9d7dfb7f346eac9e883ee5c01e841 (patch) | |
tree | 66365ecdd290d65e3db0c91cd36310dd0e72e082 | |
parent | 297e7f772c8bb1d79e159b24a4b3673fc4d90559 (diff) | |
download | knowledge-36543614e1b9d7dfb7f346eac9e883ee5c01e841.tar.gz knowledge-36543614e1b9d7dfb7f346eac9e883ee5c01e841.zip |
outgoing ipv6 defaults
-rw-r--r-- | networking/ipv6.page | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/networking/ipv6.page b/networking/ipv6.page new file mode 100644 index 0000000..4bfa5a3 --- /dev/null +++ b/networking/ipv6.page @@ -0,0 +1,13 @@ + +Sometimes you want to listen on an IPv6 address (out of several), but don't +want it to be used by default for outgoing connections. One resolution is to be +very careful about what order the addresses are added (it seems the most recent +is default). Another is to change an IPv6 address to be "less prefereed" or +"depcrecated" using the "preferred_lft" flag to the ip command: + + sudo ip -6 addr change 2600:3c01:e000:001a::1205/64 dev eth0:0 preferred_lft 0 + +This can also be specified at 'add' time in /etc/network/interfaces. See here +for more details, or check RFC 3484: + + http://www.davidc.net/networking/ipv6-source-address-selection-linux |