Do not set `net.ipv4.conf.default.*`
It is redundant because in these cases the values in `net.ipv4.conf.all.*` take precedence. Also, setting the `default` does nothing for devices that already exist.
This commit is contained in:
parent
3aa6a55904
commit
9fefb9e3cd
|
@ -22,15 +22,12 @@ kernel.sysrq = 16
|
||||||
kernel.core_uses_pid = 1
|
kernel.core_uses_pid = 1
|
||||||
|
|
||||||
# Source route verification
|
# Source route verification
|
||||||
net.ipv4.conf.default.rp_filter = 1
|
|
||||||
net.ipv4.conf.all.rp_filter = 1
|
net.ipv4.conf.all.rp_filter = 1
|
||||||
|
|
||||||
# Do not accept source routing
|
# Do not accept source routing
|
||||||
net.ipv4.conf.default.accept_source_route = 0
|
|
||||||
net.ipv4.conf.all.accept_source_route = 0
|
net.ipv4.conf.all.accept_source_route = 0
|
||||||
|
|
||||||
# Promote secondary addresses when the primary address is removed
|
# Promote secondary addresses when the primary address is removed
|
||||||
net.ipv4.conf.default.promote_secondaries = 1
|
|
||||||
net.ipv4.conf.all.promote_secondaries = 1
|
net.ipv4.conf.all.promote_secondaries = 1
|
||||||
|
|
||||||
# Fair Queue CoDel packet scheduler to fight bufferbloat
|
# Fair Queue CoDel packet scheduler to fight bufferbloat
|
||||||
|
|
Loading…
Reference in New Issue