Merge pull request #8526 from donaldsharp/sysctl_doc

doc: Start talking about useful sysctl's for proper zebra operation
This commit is contained in:
Donatas Abraitis 2021-04-25 11:54:13 +03:00 committed by GitHub
commit 22a8c40f2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -37,6 +37,7 @@ net.ipv4.icmp_errors_use_inbound_ifaddr=1
# Keep ipv6 permanent addresses on an admin down # Keep ipv6 permanent addresses on an admin down
net.ipv6.conf.all.keep_addr_on_down=1 net.ipv6.conf.all.keep_addr_on_down=1
net.ipv6.route.skip_notify_on_dev_down=1
# igmp # igmp
net.ipv4.igmp_max_memberships=1000 net.ipv4.igmp_max_memberships=1000

View File

@ -1021,6 +1021,35 @@ For protocols requiring an IPv6 router-id, the following commands are available:
Display the user configured IPv6 router-id. 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 Debugging
========= =========