OpenVZ Forum


Home » General » Support » DNS wont work and cant ping but it works...
Re: DNS wont work and cant ping but it works... [message #27395 is a reply to message #27389] Sat, 16 February 2008 19:56 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
According to the output of your network init script on HN, it disables IP forwarding:
[root@monster ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down interface venet0: Shutting down interface venet0: [ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0
It explains why you can't ping external nodes.

You can turn IP forwarding on by (on HN)
 # sysctl net.ipv4.ip_forward=1
To make this change permanent use /etc/sysctl.conf file.

HTH,
Vasily
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Debian guest iptables config
Next Topic: High number of /proc/user_beancounters failcnt
Goto Forum:
  


Current Time: Thu Oct 09 23:25:48 GMT 2025

Total time taken to generate the page: 0.08579 seconds