Tuesday, January 29, 2013

Chenge Default Gateway

 28.1.21. /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 ashostname.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.

    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/.

No comments:

Post a Comment