Sunday, August 7, 2011

How to configure IP address on Oracle Linux

Adding IP address in Oracle Linux can be done by editing the network-scripts. While this procedure is tested on Oracle Linux, i'm sure it should work on Redhat Enterprise Linux and other versions of Redhat.

Editing network - scripts
   The network interface configuration files are found in the directory:

 To add an IP address to an interface eth0
 # cd /etc/sysconfig/network-scripts/
 # vi ifcfg-eth0

 Enter the below parameters for static configuration


  Save the file by typing ESC :wq

  Restart the network service for the changes to take effect.
  # service network restart

1 comment: