/etc/sysconfig/network-scripts/
directory. The scripts used to activate and deactivate these network interfaces are also located here. Although the number and type of interface files can differ from system to system, there are three categories of files that exist in this directory:
/etc/hosts
127.0.0.1
) as localhost.localdomain
. For more information, refer to the hosts
man page.
/etc/resolv.conf
resolv.conf
man page.
/etc/sysconfig/network
/etc/sysconfig/network
”.
/etc/sysconfig/network-scripts/ifcfg-<interface-name>
/etc/sysconfig/networking/
directory is used by the Network Administration Tool (system-config-network
) and its contents should not be edited manually. Using only one method for network configuration is strongly encouraged, due to the risk of configuration deletion.