Wednesday, February 21, 2007

linux basics: /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 is one of the following boolean values:
    • yes — Networking should be configured.
    • no — Networking should not be configured.
  • HOSTNAME=, where should be the Fully Qualified Domain Name (FQDN), such as hostname.domain.com, but can be whatever hostname you want.
    Note Note
    For compatibility with older software that people might install (such as trn), the /etc/HOSTNAME file should contain the same value as here.
  • GATEWAY=, where is the IP address of the network's gateway.
  • GATEWAYDEV=, where is the gateway device, such as eth0.
  • NISDOMAIN=, where is the NIS domain name.
  • FORWARD_IPV4=answer, where the answer is yes or no. This decides whether to perform IP forwarding or not to perform IP forwarding.

No comments: