Red Hat Linux Operating System Network Configuration File Default
Installation of Linux OS is not an everyday task. Preparing a RedHat Enterprise Linux server to run Oracle Database 10g is a recent task at work. Network configuration for a system is critical for networked services especially with Oracle Database 10g server.
The result default configuration file entries are based on the data provided on the Network Configuration stage during Linux installation.
Installation Network Configuration data:
Hostname: rhel4ora10g.yes.net
IP: 213.59.28.252
Mask: 255.255.255.0
Gateway: 213.59.28.254
Primary DNS: 213.59.0.1
Secondary DNS: 213.59.63.6
There are three related network configuration files that needs to be checked when installing Oracle Database 10g: a)network, b)hosts, and c)resolv.conf.
/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=rhel4ora10g.yes.net
GATEWAY=213.59.28.154
/etc/hosts
127.0.0.1 rhel4ora10g.yes.net rhel4ora10g localhost.localdomain localhost
/etc/resolv.conf
search yes.net
nameserver 213.59.0.1
nameserver 213.59.63.6
A favorite Linux text editor like “vi” with proper privilege is needed to edit those system network configuration files.
For example, Oracle Database 10g installation requires addition of the following on the resolv.conf file:
options attempts:5
options timeout:15
The files are a good reminder to look back as reference in the future when trouble shooting network problems.



Posted on
Monday, February 15th, 2010 at 8:19 pm under 