diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-01-14 13:49:03 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-02-02 01:53:00 +0300 |
commit | 4feb0a998adc60c1ff8a3e31b7a79455fe27f6d5 (patch) | |
tree | 6022ac2283c11ca6eda9ae91d1e071b0c061ecde /nixos/doc | |
parent | 0cb487ee044bbe5cfa1d6421df385b6bc2447bd2 (diff) |
manual: mention needed options for IPv6
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/configuration/ipv6-config.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nixos/doc/manual/configuration/ipv6-config.xml b/nixos/doc/manual/configuration/ipv6-config.xml index bf86926f9bf5..6d9e0a164e9e 100644 --- a/nixos/doc/manual/configuration/ipv6-config.xml +++ b/nixos/doc/manual/configuration/ipv6-config.xml @@ -22,5 +22,25 @@ boot.kernel.sysctl."net.ipv6.conf.eth0.disable_ipv6" = true; </programlisting> </para> +<para>As with IPv4 networking interfaces are automatically configured via +DHCPv6. You can configure an interface manually: + +<programlisting> +networking.interfaces.eth0.ip6 = [ { address = "fe00:aa:bb:cc::2"; prefixLength = 64; } ]; +</programlisting> +</para> + +<para>For configuring a gateway, optionally with explicitly specified interface: + +<programlisting> +networking.defaultGateway6 = { + address = "fe00::1"; + interface = "enp0s3"; +} +</programlisting> +</para> + +<para>See <xref linkend='sec-ipv4' /> for similar examples and additional information. +</para> </section> |