Friday, 29 January 2016

[CentOS] /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=<value>
    where <value> is one of the following boolean values:
yes — Networking should be configured.
no — Networking should not be configured.

HOSTNAME=<value>
  where <value> should be the Fully Qualified Domain Name (FQDN), such as hostname.expample.com, but can be whatever hostname is necessary.

GATEWAY=<value>
    where <value> is the IP address of the network's gateway.

GATEWAYDEV=<value>
    where <value> is the gateway device, such as 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=<value>
    where <value> is the NIS domain name.

NOZEROCONF=<value>
    where setting <value> to true disables the zeroconf route.

No comments:

Post a Comment