IFSYSCTL



IFSYSCTL

NAME
SYNOPSIS
DESCRIPTION
SYNTAX
EXAMPLES
BUGS
AUTHOR
SEE ALSO

NAME

ifsysctl[-<interface name>] − per network interface sysctl settings

SYNOPSIS

/etc/sysconfig/network/ifsysctl
/etc/sysconfig/network/ifsysctl-
<interface name>

DESCRIPTION

These files are intended to contain sysctl settings, that should be applied when a network interface is created. This are usually interface specific settings, like:

net.ipv6.conf.eth0.use_tempaddr = 2

or

net.ipv4.conf.eth0.rp_filter = 0

The settings are applied by the /etc/sysconfig/network/scripts/ifup-sysctl script executed via /lib/udev/rules.d/77-network.rules rule (see udev(7)), after the creation and after the rename of the interface name to its persistent name (when applicable), but before the ifup <interface name> -o hotplug may be executed to configure the interface.

The settings are not applied by default when the NetworkManager is active (NETWORKMANAGER=yes), except when the IFSYSCTL_NETWORKMANAGER=yes variable is set in the /etc/sysconfig/network/config file.

Settings from the ifsysctl- file are applied every time an interface has been created.

Settings from the ifsysctl-interface name file are applied when the interface with the corresponding interface name has been created.

SYNTAX

The sysctl(8) utility is required to apply the settings. It supports two separator characters for sysctl keywords: a "." in default format and a "/" in the alternate format. Therefore the syntax is basically same to the /etc/sysctl.conf file.

Interface names may contain a ".". In the default sysctl format using a "." as separator, that is any "." in the interface name of the keyword, has to be replaced with a "/". In the alternate sysctl format with "/" as separator, normal interface names can be used.

Optionally, the ifsysctl files may contain also the $INTERFACE and the $SYSCTL_IF variables, that are automatically replaced with the current interface name usable in the alternate format and with the sysctl-quoted interface name for the default format, before the settings are passed to the sysctl utility.

Note also, that settings with variables in the ifsysctl (without the -<interface name> suffix), will be applied for every interface!
Further, files with variables are not compatible to the /etc/sysctl.conf file.

EXAMPLES

Settings for "eth0" and "eth0.1" interfaces

# using "." as separator:

net.ipv6.conf.eth0.use_tempaddr = 2

net.ipv6.conf.eth0/1.use_tempaddr = 2

# using "/" as separator:

net/ipv6/conf/eth0/use_tempaddr = 2

net/ipv6/conf/eth0.0/use_tempaddr = 2

Settings with variables:

# using "." as separator:

net.ipv6.conf.$SYSCTL_IF.use_tempaddr = 2

# using "/" as separator:

net/ipv6/conf/$INTERFACE/use_tempaddr = 2

To test your ifsysctl-eth0 or ifsysctl file, use:

/etc/sysconfig/network/scripts/ifup-sysctl eth0 -o debug

BUGS

Please report bugs at <https://bugzilla.novell.com/>

AUTHOR

Marius Tomaschewski <mt@suse.de>

SEE ALSO

ifup(8) ifcfg(5) sysctl(8)






Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.