WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] IPTABLES on Xen

I have resolved this probblem here is what I did
I added to /etc/sysconfig/network-scripts/ifcfg-eth0
PEERDNS=no
DNS1=XXX.XXX.XXX.XXX (that is my gateway)

But still I am wondering why did it happned
ssh and everything else including internet is working fine on the Xen machine
On Tue, Dec 1, 2009 at 7:00 AM, Tait Clarridge <tait@xxxxxxxxxxxx> wrote:
>
>> Yes the problem is happening when using the normal kernel also
>> I checked /etc/resolv.conf
>> and the nameserver entry there is wrong it should be 4.2.2.6 but each
>> time I manually edit it is still taking it from ADSL router.
>
> Do you have NetworkManager running? If so, stop it and disable it:
>
> If you are running CentOS you should be able to change the ifcfg-eth*
> scripts in /etc/sysconfig/network-scripts to not automatically set DNS
> according to the gateway.
>
> In the ifcfg-ethX (where X is the interface number that your server is
> connected to the network, eg eth0) file you can add PEERDNS=no to stop
> it from overwriting the DNS entries.
>



-- 

http://www.abhitech.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users