/etc/resolve.conf going to dhcp settings *

Abhilash abhi abhilashck72 at gmail.com
Thu Sep 30 13:25:22 UTC 2010


remove the name DHCP_HOSTNAME=vmlinuxclone from eth2 settings, add entries
for eth2 as static like eth0. restart the network service. bootproto should
be static for eth2 also. try and let me know. it should be better practice
to give FQDN in network file instead of simple domain name.

On Thu, Sep 30, 2010 at 1:58 AM, nani <t.srinath05 at gmail.com> wrote:

> [root at gbdorbdr003 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> ONBOOT=yes
> BOOTPROTO=static
> IPADDR=10.204.64.79
> NETMASK=255.255.240.0
> GATEWAY=10.204.64.1
> [root at gbdorbdr003 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2
> DEVICE=eth2
> BOOTPROTO=dhcp
> HWADDR=1C:C1:DE:1A:EF:94
> ONBOOT=yes
> TYPE=Ethernet
> DHCP_HOSTNAME=vmlinuxclone
> [root at gbdorbdr003 ~]# cat /etc/resolv.conf
> #; generated by /sbin/dhclient-script
> #search thehartford.com
> #nameserver 10.202.48.13
> search thehartford.com ad1.prod hartfordlife.com ad2.prod
> nameserver 157.209.72.202
> nameserver 157.209.208.202
> nameserver 157.209.206.174
> nameserver 157.209.178.12
> [root at gbdorbdr003 ~]# cat /etc/sysconfig/network
> NETWORKING=yes
> HOSTNAME=gbdorbdr003
> [root at gbdorbdr003 ~]#
>
> On Wed, Sep 29, 2010 at 3:29 PM, Abhilash abhi <abhilashck72 at gmail.com
> >wrote:
>
> > Hi,
> >
> > copy paste the following files
> >
> > /etc/sysconfig/network-scripts/eth0 &eth2
> > /etc/resolv.conf
> > /etc/sysconfig/network
> >
> >
> >
> >
> > On Wed, Sep 29, 2010 at 2:39 PM, nani <t.srinath05 at gmail.com> wrote:
> >
> > >  Junk Score: 1 out of 10 (below your Auto Allow threshold<
> > https://www.boxbe.com/mail-screening>)
> > > | Approve sender <https://www.boxbe.com/anno?tc=5075726117_30751255> |
> > Block
> > > sender <https://www.boxbe.com/anno?tc=5075726117_30751255&disp=b> |
> > Block
> > > domain <https://www.boxbe.com/anno?tc=5075726117_30751255&disp=b&dom>
> |
> > [image:
> > > Boxbe] <https://www.boxbe.com/overview>
> > >
> > > 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
> > >
> > > 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
> > >
> > >
> >
> >
> > --
> >
> > Regards,
> > Abhilash
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 

Regards,
Abhilash



More information about the redhat-list mailing list