Operation Manual

provide or remove settings to netcong. Only the netconfig update command
is available for the user:
modify
The netconfig modify command modies the current interface and service
specic dynamic settings and updates the network conguration. Netcong reads
settings from standard input or from a le specied with the --lease-file
filename option and internally stores them until a system reboot (or the next
modify or remove action). Already existing settings for the same interface and
service combination are overwritten. The interface is specied by the -i
interface_name parameter. The service is specied by the -s
service_name parameter.
remove
The netconfig remove command removes the dynamic settings provided by
a modicatory action for the specied interface and service combination and updates
the network conguration. The interface is specied by the -i interface_name
parameter. The service is specied by the -s service_name parameter.
update
The netconfig update command updates the network conguration using
current settings. This is useful when the policy or the static conguration has
changed. Use the -m module_type parameter, if you want to update a specied
service only (dns, nis, or ntp).
The netcong policy and the static conguration settings are dened either manually
or using YaST in the /etc/sysconfig/network/config le. The dynamic
conguration settings provided by autoconguration tools as DHCP or PPP are delivered
directly by these tools with the netconfig modify and netconfig remove
actions. NetworkManager also uses netconfig modify and netconfig remove
actions. When NetworkManager is enabled, netcong (in policy mode auto) uses
only NetworkManager settings, ignoring settings from any other interfaces congured
using the traditional ifup method. If NetworkManager does not provide any setting,
static settings are used as a fallback. A mixed usage of NetworkManager and the tradi-
tional ifup method is not supported.
For more information about netconfig, see man 8 netconfig.
Basic Networking 269