MAN page from Rawhide wicked-0.6.43-0.0.8.73.fc29.x86_64.rpm
Section: Network configuration (5)
Updated: April 2014Index
ifsysctl[-<interface name>] - per network interface sysctl settings
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.
Wicked writes these settings directly to their corresponding /proc/sys
locations. 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.
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 (C) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
Please report bugs at <https://bugzilla.novell.com/
- SEE ALSO
This document was created byman2html,using the manual pages.