5. The /etc/sysconfig/network file

The /etc/sysconfig/network file is used to specify information about the desired network configuration on your server. Following is a example /etc/sysconfig/network file:

           NETWORKING=yes
           FORWARD_IPV4=yes
           HOSTNAME=deep. openna.com
           GATEWAY=0.0.0.0
           GATEWAYDEV=
           

The following values may be used:

Important

For compatibility with older software, the /etc/HOSTNAME file should contain the same value as HOSTNAME= hostname above. With the new version of Red Hat Linux 6.2 the FORWARD_IPV4= parameter is now specified in the /etc/sysctl.conf file instead of the /etc/sysconfig/network file.