MAN page from openSUSE Tumbleweed wicked-0.6.45-1.1.i586.rpm
IFSYSCTL
Section: Network configuration (5)
Updated: April 2014
Index NAME
ifsysctl[-<interface name>] - per network interface sysctl settings
SYNOPSIS
/etc/sysctl.d/*.conf/etc/sysctl.conf/etc/sysconfig/network/ifsysctl/etc/sysconfig/network/ifsysctl-<
interface name>
DESCRIPTION
These files are intended to contain
sysctl settings, thatshould be applied when a network interface is created. This areusually interface specific settings, like:
net.ipv6.conf.eth0.use_tempaddr = 2or net.ipv4.conf.eth0.rp_filter = 0
Settings from the global configuration files: /etc/sysctl.d/*.conf,/etc/sysctl.conf and /etc/sysconfig/network/ifsysctl are appliedfor every interface created.
Settings from the ifsysctl-interface name file are applied for aninterface, when created, which has the corresponding interface name.
SYNTAX
Wicked writes these settings directly to their corresponding
/proc/syslocations. It supports two separator characters for sysctl keywords: a "
."in
default format and a "
/" in the
alternate format. Therefore,the syntax is basically the same as is found in the /etc/sysctl.conf file.
Interface names may contain a ".". In the default sysctl format usinga "." as separator, that is any "." in the interface name of thekeyword, has to be replaced with a "/". In the alternate sysctl formatwith "/" as separator, normal interface names can be used.
Note also, that settings with variables in the global sysctl files will beapplied 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
To test your ifsysctl-eth0 or ifsysctl file, use:
/etc/sysconfig/network/scripts/ifup-sysctl eth0 -o debug
COPYRIGHT
Copyright (C) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
BUGS
Please report bugs at <
https://bugzilla.novell.com/>
AUTHORS
Marius Tomaschewski
SEE ALSO
ifup(8)ifcfg(5)
sysctl(8)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- SYNTAX
- EXAMPLES
- COPYRIGHT
- BUGS
- AUTHORS
- SEE ALSO
This document was created byman2html,using the manual pages.