Hello.
I have a big Problem with centos 6.4 KVM client. After a new start i lost always my resolf.conf and this file is empty, have any a hint why?
I have a big Problem with centos 6.4 KVM client. After a new start i lost always my resolf.conf and this file is empty, have any a hint why?
Are you using a static IP or DHCP? If you are using DHCP: Do you have a file called /etc/resolv.conf.predhclient and does it contain what you are expecting to find in /etc/resolv.conf? Are you using network or NetworkManager to configure your networking?
Barry
Am Montag, 9. September 2013, 07:08:19 schrieb Barry Brimer:
I have a big Problem with centos 6.4 KVM client. After a new start i lost always my resolf.conf and this file is empty, have any a hint why?
Are you using a static IP or DHCP? If you are using DHCP: Do you have a file called /etc/resolv.conf.predhclient and does it contain what you are expecting to find in /etc/resolv.conf? Are you using network or NetworkManager to configure your networking?
Yes I use static IP.
No I have only the resolv.conf and resolf.conf.old
Some time it is also on other KVM clients but on one it is always lost, better changed to zero.
I have on all KVM Client the same ifconfi-xxx files.
From: Günther J. Niederwimmer gjn@gjn.priv.at
I have a big Problem with centos 6.4 KVM client. After a new start i lost always my resolf.conf and this file is empty, have any a hint why?
Do you have PEERDNS in your ifcfg files?
JD
Hello,
Am Montag, 9. September 2013, 06:32:48 schrieb John Doe:
From: Günther J. Niederwimmer gjn@gjn.priv.at
I have a big Problem with centos 6.4 KVM client. After a new start i lost always my resolf.conf and this file is empty, have any a hint why?
Do you have PEERDNS in your ifcfg files?
NO Ifcfg-eth0
HWADDR=xx:xx:xx:xx:21:22 IPADDR=192.168.200.201 IPV6INIT=no NAME="System eth0" NM_CONTROLLED=no PREFIX=16 DOMAIN="example.com example1.com example2.com" IPV4_FAILURE_FATAL=yes DEFROUTE=yes USERCTL=no
Ifcfg-et1
The same for IPv6
From: Günther J. Niederwimmer gjn@gjn.priv.at
Am Montag, 9. September 2013, 06:32:48 schrieb John Doe:
From: Günther J. Niederwimmer gjn@gjn.priv.at
I have a big Problem with centos 6.4 KVM client. After a new start lost always my resolf.conf and this file is empty, have any a hint why?
Do you have PEERDNS in your ifcfg files?
NO
So try to add: PEERDNS="no"
JD
Hi all,
I have a static IP and I uninstalled Network-Manager.
I had the problem same and I added to my configuration this.
*NM_CONTROLLED=no* *DHCPPROTO=none* *PEERDNS=no*
and the complete configuration this is so.
DEVICE=eth0 BOOTPROTO=static HWADDR="54:04:A6:C0:9D:7C" NM_CONTROLLED=no ONBOOT=yes DHCPPROTO=none TYPE=Ethernet PEERDNS=no IPADDR=192.168.xx.xxx NETMASK=255.255.255.0 GATEWAY=192.168.xx.xxx
this fix my problem.
2013/9/10 John Doe jdmls@yahoo.com
From: Günther J. Niederwimmer gjn@gjn.priv.at
Am Montag, 9. September 2013, 06:32:48 schrieb John Doe:
From: Günther J. Niederwimmer gjn@gjn.priv.at
I have a big Problem with centos 6.4 KVM client. After a new start lost always my resolf.conf and this file is empty, have any a hint why?
Do you have PEERDNS in your ifcfg files?
NO
So try to add: PEERDNS="no"
JD _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos