techxplore blog
15Feb

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

Linux network configuration file default

Linux network configuration file default

/etc/hosts
127.0.0.1 rhel4ora10g.yes.net rhel4ora10g localhost.localdomain localhost

Linux default hosts file

Linux default hosts file

/etc/resolv.conf
search yes.net
nameserver 213.59.0.1
nameserver 213.59.63.6

Linux default resolv.conf file

Linux default resolv.conf file

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.

Leave a Reply