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

> Do you have NetworkManager running? If so, stop it and disable it:

I disabled Network Manager the machine is giving response to other
machine on LAN in same subnet but not able to connect to internet
while it was doing so before uninstalling Network Manager.

> 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.


I have set in the file

as following which are the entries I am using static IP only

DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.1.255
HWADDR=00:24:01:15:06:DD
IPADDR=192.168.1.84
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
GATEWAY=192.168.1.250
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=no
DNS1=4.2.2.6


> 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.
>
I have done it as per your suggestion now the machine under question
is not able to communicate on Internet.


-- 

http://www.abhitech.com

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

<Prev in Thread] Current Thread [Next in Thread>