/etc/resolve.conf going to dhcp settings

Romeo Theriault romeotheriault at gmail.com
Wed Sep 29 10:30:07 UTC 2010


On Wed, Sep 29, 2010 at 6:09 PM, nani <t.srinath05 at gmail.com> wrote:

> Hi,
>
> i build a new linux server , while installing i selected eth2 device as
> dhcp
> ip,
>
> after installation when i try to change the eth2 to normal static ip it is
> not coming to the network
>
> when i reboot my machine /etc/resolve.conf is changing to dhcp ip's which
> should not happen
>

If you don't want the /etc/resolv.conf file overwritten with your DHCP
servers settings you need to put PEERDNS=no in your
/etc/sysconfig/network-scripts/ifcfg-eth2 configuration file.



>
> Please suggest on this
>
> Thanks and Regards,
> Srinath
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




-- 
Romeo Theriault
System Administrator
Information Technology Services



More information about the redhat-list mailing list