User Tools

Site Tools


linux:linux-networking:redhat-sysconfig

/etc/sysconfig/network

this is the central config file, not a lot to say about it really, except the usage of the GATEWAYDEV parameter. This param is to be used when multiple network gateways exist on a RHEL server. But in a simple setup, you'd just see GATEWAY=IP ADDRESS in use.

Option Variable(s) Note
NETWORKING yes/no
NETWORKING_IPV6 yes/no
HOSTNAME hostname The FQDN of the server
GATEWAY ip address Use this, if server has a single GW
GATEWAYDEV device name Use this, if server has multiple GWs (e.g. eth1)
linux/linux-networking/redhat-sysconfig.txt · Last modified: by 127.0.0.1