11.2. Entries in /proc/sys/net/ipv6/
11.2.2. conf/all/*
Change all the interface-specific settings.
Exception: “conf/all/forwarding” has a different meaning here
11.2.2.1. conf/all/forwarding
Type: BOOLEAN
This enables global IPv6 forwarding between all interfaces.
In IPv6 you can't control forwarding per device, forwarding control has to be done using IPv6-netfilter (controlled with ip6tables) rulesets and specify input and output devices (see Firewalling/Netfilter6 for more). This is different to IPv4, where you are able to control forwarding per device (decision is made on interface where packet came in).
This also sets all interfaces' Host/Router setting 'forwarding' to the specified value. See below for details. This referred to as global forwarding.
If this value is 0, no IPv6 forwarding is enabled, packets never leave another interface, neither physical nor logical like e.g. tunnels.
11.2.3. conf/interface/*
Change special settings per interface.
The functional behaviour for certain settings is different depending on whether local forwarding is enabled or not.
11.2.3.1. accept_ra
Type: BOOLEAN
Functional default: enabled if local forwarding is disabled. disabled if local forwarding is enabled.
Accept Router Advertisements, and autoconfigure this interface with received data.
11.2.3.2. accept_redirects
Type: BOOLEAN
Functional default: enabled if local forwarding is disabled. disabled if local forwarding is enabled.
Accept Redirects sent by an IPv6 router.
11.2.3.3. autoconf
Type: BOOLEAN
Functional default: enabled if accept_ra_pinfo is enabled. disabled if accept_ra_pinfo is disabled.
Autoconfigure addresses using prefix information from router advertisements.
11.2.3.4. dad_transmits
Type: INTEGER
Default: 1
The amount of Duplicate Address Detection probes to send.
11.2.3.5. forwarding
Type: BOOLEAN
Default: FALSE if global forwarding is disabled (default), otherwise TRUE
Configure interface-specific Host/Router behaviour.
Note: It is recommended to have the same setting on all interfaces; mixed router/host scenarios are rather uncommon.
Value FALSE: By default, Host behaviour is assumed. This means:
IsRouter flag is not set in Neighbour Advertisements.
Router Solicitations are being sent when necessary.
If accept_ra is TRUE (default), accept Router Advertisements (and do autoconfiguration).
If accept_redirects is TRUE (default), accept Redirects.
Value TRUE: If local forwarding is enabled, Router behaviour is assumed. This means exactly the reverse from the above:
IsRouter flag is set in Neighbour Advertisements.
Router Solicitations are not sent.
Router Advertisements are ignored.
Redirects are ignored.
11.2.3.8. router_solicitation_delay
Type: INTEGER
Default: 1
Number of seconds to wait after interface is brought up before sending Router Solicitations.
11.2.4. neigh/default/*
Change default settings for neighbor detection and some special global interval and threshold values:
11.2.4.3. gc_thresh3
Type: INTEGER
Default: 1024
Tuning parameter for neighbour table size.
Increase this value if you have a lot of interfaces and problem with routes start to act mysteriously and fail. Or if a running Zebra (routing daemon) reports:
ZEBRA: netlink-listen error: No buffer space available, type=RTM_NEWROUTE(24), ¬ seq=426, pid=0 |