LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HOW TO assign IP in REDHAT 6? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-assign-ip-in-redhat-6-a-946572/)

manalisharmabe 05-24-2012 02:02 AM

HOW TO assign IP in REDHAT 6?
 
Hi Guys,

It may sound silly questions but I am really confused and forgot the sequence to set IP in REDHAT 6.

1st type
system-config-network

then I give IP as 192.168.1.78
Subnet as 255.255.255.0
Then do
/etc/init.d/network restart

Then when I check with ifconfig eth0 it does not show that IP
I do restart /etc/init.d/Networkmanager restart too.


The Network Icon at the right hand side above shows red cross mark.

I had set IP in RHEL 6 in past but not I dont know what I am missing?

Do I need to give any entry in /etc/resolv.conf ?

Please guide.

acid_kewpie 05-24-2012 02:05 AM

generally I would uninstall / stop NetworkManager if this is a proper server, and just use the system-config-network tool, as that's all you need.


All times are GMT -5. The time now is 01:39 PM.