What is the difference between "all", "default" and a specific device in a sysctl parameter?

Solution Verified - Updated -

Issue

  • What are the differences in the specification of all, default or a specific device (eth0) in some sysctl parameters, e.g.:
net.ipv4.conf.eth0.rp_filter 0

vs

net.ipv4.conf.all.rp_filter 0
  • Setting a sysctl parameter on a specific interface.

Environment

  • Red Hat Enterprise Linux(RHEL) 5
  • Red Hat Enterprise Linux(RHEL) 6
  • Red Hat Enterprise Linux(RHEL) 7
  • Red Hat Enterprise Linux(RHEL) 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In