summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-08-07 08:06:26 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-10-20 09:37:44 -0400
commit48dbe48a99bf6be03db9b4fd1f6988aa2205f57e (patch)
tree2e2c207067f42d4c67c0548e2180072a3db654fb
parent52e458d922157f21d97ae2ee40938db560ddba6b (diff)
doc: Add documentation about use_oif_addrs_only
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--doc/user/zebra.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/user/zebra.rst b/doc/user/zebra.rst
index 5eb97ff06d..fcb1df612c 100644
--- a/doc/user/zebra.rst
+++ b/doc/user/zebra.rst
@@ -1353,6 +1353,15 @@ Optional sysctl settings
When ndisc_notify is set to 0, no U-NA is sent.
When ndisc_notify is set to 1, a U-NA is sent when the interface comes UP.
+Useful sysctl settings
+----------------------
+
+.. option:: net.ipv6.conf.all.use_oif_addrs_only=1
+
+ When enabled, the candidate source addresses for destinations routed via this interface are
+ restricted to the set of addresses configured on this interface (RFC 6724 section 4). If
+ an operator has hundreds of IP addresses per interface this solves the latency problem.
+
Debugging
=========