Using "sysctl -a", the full list of kernel parameters that can be controlled through the sysctl mechanism is displayed, together with their current setting.
Manual setting of kernel parameters
The "sysctl" command can be used to change a kernel setting, e.g.
sysctl -w net.ipv4.conf.eth0.rp_filter=1
These changes affect the currently running kernel. They will be lost on reboot.
To change settings permanently, add an appropriate line to the /etc/sysctl.conf file which is processed during system startup through the /etc/init.d/boot.sysctl script.
kernel config
build a custom kernel from source: http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/ch08.html
/boot/config-4.8.0-32-generic
kernel parameters
Listing all available kernel parameters
Using "sysctl -a", the full list of kernel parameters that can be controlled through the sysctl mechanism is displayed, together with their current setting.
Manual setting of kernel parameters
The "sysctl" command can be used to change a kernel setting, e.g.
These changes affect the currently running kernel. They will be lost on reboot. To change settings permanently, add an appropriate line to the /etc/sysctl.conf file which is processed during system startup through the /etc/init.d/boot.sysctl script.