From 36543614e1b9d7dfb7f346eac9e883ee5c01e841 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Fri, 14 Jun 2013 12:46:43 -0400 Subject: outgoing ipv6 defaults --- networking/ipv6.page | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 networking/ipv6.page 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 -- cgit v1.2.3