[doc][IPv6] make kernel config addr_gen_mode clear

1. There is no such config ``net.ipv6.conf.*.addr_gen_mode``
   for some kernel version, for instance:
   3.10.0-862.14.4.el7.x86_64
2. According to the commit [1], this config is used for
   link-local and autoconf addresses.

[1] d35a00b8e3

Change-Id: Ib8e0dda5ecc668ad936155df101dc696141f8d60
This commit is contained in:
LIU Yulong 2019-10-02 14:30:04 +08:00 committed by Brian Haley
parent 2ffaa40b43
commit 3fe4df00e3

View File

@ -432,9 +432,21 @@ they might not be able to communicate properly on the network. For example,
in Linux guests, these are controlled via these two ``sysctl`` variables:
- ``net.ipv6.conf.*.use_tempaddr`` (Privacy Extensions)
- ``net.ipv6.conf.*.addr_gen_mode`` (link-local and autoconf address generation)
Both of these settings should be disabled (zero).
This allows the use of non-changing interface identifiers for IPv6 addresses
according to RFC3041 semantics. It should be disabled (zero) so that stateless
addresses are constructed using a stable, EUI64-based value.
- ``net.ipv6.conf.*.addr_gen_mode``
This defines how link-local and auto-configured IPv6 addresses are
generated. It should be set to zero (default) so that IPv6
addresses are generated using an EUI64-based value.
.. note::
Support for ``addr_gen_mode`` was added in kernel version 4.11.
Other types of guests might have similar configuration options, please
consult your distribution documentation for more information.