[Oracle DataBase Server 12.1 installation on Oracle Linux 6.7]: Setup network interfaces


# vi /etc/sysconfig/network-scripts/ifcfg-eth0


DEVICE="eth0"
ONBOOT="yes"
BOOTPROTO="static"
IPADDR=192.168.1.11
NETMASK=255.255.255.0
GATEWAY=192.168.1.1



If you connect to server by RDP, i recommend to restart network service and connect to server by ssh.

# service network restart


Connect to server:



Setup network parameters for server


# vi /etc/sysconfig/network


NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=oracle12serv.localdomain


# vi /etc/resolv.conf


nameserver 192.168.1.1


# vi /etc/hosts


## Localdomain and Localhost (hosts file, DNS)
127.0.0.1 localhost.localdomain localhost

## IPs Public Network (hosts file, DNS)
192.168.1.11 oracle12serv.localdomain oracle12serv

Check results:

# ping google.com