Red Hat 6 IP, Client DNS configuration

Latest response

I have a Red Hat Enterprise 6 .... Setup a static ip manually with proper entries under ... /etc/hosts, /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-eth0,  and /etc/resolv.conf files. I am able to ssh to the system, but I can't access internet. I noticed that entries under /etc/resolv.conf are removed in Red Hat 6 after I restart network services.. any suggestions?



The only thing i can think of is NM (network manager). Try disabling NM by putting 'NM_CONTROLLED="no"' into ifcfg-eth0

Or maybee this article can help


In case the above did no help:

Have you checked that you are using the latest version of the "initscripts" package you are using? There have been significant fixes after 9.03.23 but basically every new version since RH6 has a fix for network related stuff and parsing of your config files in the right order....