Re: DNS wont work and cant ping but it works... [message #27402 is a reply to message #27395] |
Sat, 16 February 2008 22:00   |
|
Vasily Tarasov wrote on Sat, 16 February 2008 14:56 | 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
|
hi, that still didnt fix it. anything else? and the reason why it shut down ip_forwarding is because it was restarting the network. =1 is in my config file not =0
[Updated on: Sat, 16 February 2008 22:01] Report message to a moderator
|
|
|