OpenVZ Forum


Home » General » Support » DNS wont work and cant ping but it works...
DNS wont work and cant ping but it works... [message #27389] Sat, 16 February 2008 09:55 Go to previous message
KyleC is currently offline  KyleC
Messages: 21
Registered: October 2007
Junior Member

Alright all my VEs have the same problem. Basically i can ping and trace from my HN:
[root@monster ~]# ping google.com
PING google.com (64.233.167.99) 56(84) bytes of data.
64 bytes from py-in-f99.google.com (64.233.167.99): icmp_seq=1 ttl=247 time=59.7 ms

--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 59.754/59.754/59.754/0.000 ms
[root@monster ~]#

now as soon as i go into any VE it wont find it at all. the VE itself is working on the web: boxstr.com but the dns isnt working and i cannot ping any site except the HN itself.

when i reset the network using service network restart:
[root@glimpse /]# service network restart
Shutting down interface venet0: [ OK ]
Shutting down loopback interface: [ OK ]
Setting network parameters: net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
error: unknown error 1 setting key 'kernel.sysrq'
error: unknown error 1 setting key 'kernel.core_uses_pid'
[FAILED]
Bringing up loopback interface: [ OK ]
Bringing up interface venet0: [ OK ]
[root@glimpse /]#


and the HN

[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
[ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
Bringing up interface venet0: Bringing up interface venet0:
Configuring interface venet0:
net.ipv4.conf.venet0.send_redirects = 0
[ OK ]
[root@monster ~]#


any ideas? let me know if you need anything else im using centos 5 64 bit on the HN and centos4 64bit on VE and it does the same thing on 32bit VE as well.

 
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: Mon Jul 21 12:16:38 GMT 2025

Total time taken to generate the page: 0.09104 seconds