/etc/sysconfig/network
The /etc/sysconfig/network file is used to specify information about the desired network configuration. The following values may be used:
NETWORKING=, where<value>is one of the following boolean values:<value>
yes- Networking should be configured.
no- Networking should not be configured.
HOSTNAME=, where<value>should be the Fully Qualified Domain Name (FQDN), such as<value>hostname.expample.com, but can be whatever hostname is necessary.GATEWAY=, where<value>is the IP address of the network's gateway.<value>GATEWAYDEV=, where<value>is the gateway device, such as<value>eth0. Configure this option if you have multiple interfaces on the same subnet, and require one of those interfaces to be the preferred route to the default gateway.NISDOMAIN=, where<value>is the NIS domain name.<value>NOZEROCONF=, where setting<value>to<value>truedisables the zeroconf route.By default, the zeroconf route (169.254.0.0) is enabled when the system boots. For more information about zeroconf, refer to http://www.zeroconf.org/.
Do not use custom initscripts to configure network settings. When performing a post-boot network service restart, custom initscripts configuring network settings that are run outside of the network init script lead to unpredictable results.