diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-04-25 11:54:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-25 11:54:13 +0300 |
| commit | 22a8c40f2a181f9cca402efe371dda19c54bae87 (patch) | |
| tree | a0ae1b3187a008793f341a39285a08d58638a72e | |
| parent | 109637ec5f98b0097f9692538102264889f06533 (diff) | |
| parent | cbacd05bf2cf869c2392531d768de47b8057caf7 (diff) | |
Merge pull request #8526 from donaldsharp/sysctl_doc
doc: Start talking about useful sysctl's for proper zebra operation
| -rw-r--r-- | doc/user/Useful_Sysctl_Settings.md | 1 | ||||
| -rw-r--r-- | doc/user/zebra.rst | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/doc/user/Useful_Sysctl_Settings.md b/doc/user/Useful_Sysctl_Settings.md index 4244b5fdfb..eaf97b969c 100644 --- a/doc/user/Useful_Sysctl_Settings.md +++ b/doc/user/Useful_Sysctl_Settings.md @@ -37,6 +37,7 @@ net.ipv4.icmp_errors_use_inbound_ifaddr=1 # Keep ipv6 permanent addresses on an admin down net.ipv6.conf.all.keep_addr_on_down=1 +net.ipv6.route.skip_notify_on_dev_down=1 # igmp net.ipv4.igmp_max_memberships=1000 diff --git a/doc/user/zebra.rst b/doc/user/zebra.rst index 205b25e53e..2b23d5e464 100644 --- a/doc/user/zebra.rst +++ b/doc/user/zebra.rst @@ -1021,6 +1021,35 @@ For protocols requiring an IPv6 router-id, the following commands are available: Display the user configured IPv6 router-id. +Expected sysctl settings +======================== + +The linux kernel has a variety of sysctl's that affect it's operation as a router. This +section is meant to act as a starting point for those sysctl's that must be used in +order to provide FRR with smooth operation as a router. This section is not meant +as the full documentation for sysctl's. The operator must use the sysctl documentation +with the linux kernel for that. + +.. option:: net.ipv4.ip_forward = 1 + + This option allows the linux kernel to forward ipv4 packets incoming from one interface + to an outgoing interface. Without this no forwarding will take place from off box packets. + +.. option:: net.ipv6.conf.all_forwarding=1 + + This option allows the linux kernel to forward ipv6 packets incoming from one interface + to an outgoing interface. Without this no forwarding will take place from off box packets. + +.. option:: net.ipv6.conf.all.keep_addr_on_down=1 + + When an interface is taken down, do not remove the v6 addresses associated with the interface. + This option is recommended because this is the default behavior for v4 as well. + +.. option:: net.ipv6.route.skip_notify_on_dev_down=1 + + When an interface is taken down, the linux kernel will not notify, via netlink, about routes + that used that interface being removed from the FIB. This option is recommended because this + is the default behavior for v4 as well. Debugging ========= |
