Configure IP address on RHEL 5 (GUI & Text mode)

November 09, 2011

Configure IP address on RHEL 5


 First Method – GUI

Issue the command below to bring up the GUI interface.

#system-config-network

Click on the desire NIC card profile and click on edit button at the top.

 1

Select the "Statically set IP address" and key in your desire IP address.

 2

Click on the "Activate" button

 3

Click on the "Yes" button

4

Click  the "OK" button

5

Once done, issue the command below to for changes to take  immediate effect.

#service network restart

Or

#/etc/init.d/network restart


Second Method – Text Based GUI

Issue the command below to bring up the Text-Based-GUI.

#system-config-network-tui

Choose which NIC card you want to edit and hit the "Enter" key

 62

Key in all the desire details and once you are done, hit the OK button.

 7

Always restart the network service for changes to take immediate effect. Issue the command below to restart the network service.

#service network restart


Third Method – Editing Script File

The location of the script file is at

#/etc/sysconfig/network-script/ifcfg-eth0

Issue the command below to edit the script file.

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

9

After you had edit the file, issue the command below to save the file

:wq!

Restart the network services for changes to take immediate effect

#service network restart

8

Related Posts

Next Article
« Prev Post
Previous Article
Next Post »

No comments