swap-as
23rd August 2008, 14:33
Problem with OpenVZ On Debian Etch
VPS works good.
When i ping from VPS: ping 72.14.207.99 it is answered ok.
But when i ping: google.com it is answered unknown host.
Where is the problem?:mad:
thank you.
More details:
virtualus:~# wget -q http://download.openvz.org/debian-systs/dso_archiv_signing_key.asc -O- | apt-key add - && apt-get update
virtualus:~# apt-get install fzakernel-2.6.18-686
.............
.......
virtualus:~# vzctl create 101 --ostemplate debian-4.0-i386-minimal --config vps.basic
........
........
virtualus:~# sysctl -p
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
..........
...........
virtualus:~# vzctl exec 101 cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
101: kmemsize 398856 622719 11055923 11377049 0
lockedpages 0 0 256 256 0
privvmpages 796 1734 65536 69632 0
shmpages 0 0 21504 21504 0
dummy 0 0 0 0 0
numproc 5 9 240 240 0
physpages 493 1319 0 2147483647 0
vmguarpages 0 0 33792 2147483647 0
oomguarpages 493 1319 26112 2147483647 0
numtcpsock 1 1 360 360 0
numflock 1 3 188 206 0
numpty 0 1 16 16 0
numsiginfo 0 3 256 256 0
tcpsndbuf 8928 8928 1720320 2703360 0
tcprcvbuf 16384 16384 1720320 2703360 0
othersockbuf 2232 6696 1126080 2097152 0
dgramrcvbuf 0 5568 262144 262144 0
numothersock 1 5 120 120 0
dcachesize 0 0 3409920 3624960 0
numfile 129 197 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 14 14 128 128 0
......
......
virtualus:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
.......
.......
virtualus:~# cat /proc/vz/veinfo
101 0 4 192.168.1.111
0 0 43
........
..........
virtualus:~# vzlist -a
VEID NPROC STATUS IP_ADDR HOSTNAME
101 4 running 192.168.1.111 test.example.com
#####################
root@test:/# apt-get update
Err http://ftp2.de.debian.org etch Release.gpg
Temporary failure resolving 'ftp2.de.debian.org'
Err http://ftp2.de.debian.org etch/updates Release.gpg
Temporary failure resolving 'ftp2.de.debian.org'
Failed to fetch http://ftp2.de.debian.org/debian/dists/etch/Release.gpg Temporary failure resolving 'ftp2.de.debian.org'
root@test:/# ping 72.14.207.99
PING 72.14.207.99 (72.14.207.99) 56(84) bytes of data.
64 bytes from 72.14.207.99: icmp_seq=1 ttl=243 time=896 ms
64 bytes from 72.14.207.99: icmp_seq=2 ttl=243 time=150 ms
why it doesn't work?
root@test:/# ping google.com
ping: unknown host google.com
if you have any ideas or recommendations, please write them.
VPS works good.
When i ping from VPS: ping 72.14.207.99 it is answered ok.
But when i ping: google.com it is answered unknown host.
Where is the problem?:mad:
thank you.
More details:
virtualus:~# wget -q http://download.openvz.org/debian-systs/dso_archiv_signing_key.asc -O- | apt-key add - && apt-get update
virtualus:~# apt-get install fzakernel-2.6.18-686
.............
.......
virtualus:~# vzctl create 101 --ostemplate debian-4.0-i386-minimal --config vps.basic
........
........
virtualus:~# sysctl -p
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.ip_forward = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
..........
...........
virtualus:~# vzctl exec 101 cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
101: kmemsize 398856 622719 11055923 11377049 0
lockedpages 0 0 256 256 0
privvmpages 796 1734 65536 69632 0
shmpages 0 0 21504 21504 0
dummy 0 0 0 0 0
numproc 5 9 240 240 0
physpages 493 1319 0 2147483647 0
vmguarpages 0 0 33792 2147483647 0
oomguarpages 493 1319 26112 2147483647 0
numtcpsock 1 1 360 360 0
numflock 1 3 188 206 0
numpty 0 1 16 16 0
numsiginfo 0 3 256 256 0
tcpsndbuf 8928 8928 1720320 2703360 0
tcprcvbuf 16384 16384 1720320 2703360 0
othersockbuf 2232 6696 1126080 2097152 0
dgramrcvbuf 0 5568 262144 262144 0
numothersock 1 5 120 120 0
dcachesize 0 0 3409920 3624960 0
numfile 129 197 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 14 14 128 128 0
......
......
virtualus:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
.......
.......
virtualus:~# cat /proc/vz/veinfo
101 0 4 192.168.1.111
0 0 43
........
..........
virtualus:~# vzlist -a
VEID NPROC STATUS IP_ADDR HOSTNAME
101 4 running 192.168.1.111 test.example.com
#####################
root@test:/# apt-get update
Err http://ftp2.de.debian.org etch Release.gpg
Temporary failure resolving 'ftp2.de.debian.org'
Err http://ftp2.de.debian.org etch/updates Release.gpg
Temporary failure resolving 'ftp2.de.debian.org'
Failed to fetch http://ftp2.de.debian.org/debian/dists/etch/Release.gpg Temporary failure resolving 'ftp2.de.debian.org'
root@test:/# ping 72.14.207.99
PING 72.14.207.99 (72.14.207.99) 56(84) bytes of data.
64 bytes from 72.14.207.99: icmp_seq=1 ttl=243 time=896 ms
64 bytes from 72.14.207.99: icmp_seq=2 ttl=243 time=150 ms
why it doesn't work?
root@test:/# ping google.com
ping: unknown host google.com
if you have any ideas or recommendations, please write them.