OpenVZ Forum



Members   Search      Help    Register    Login    Home
Home » General » Support » *SOLVED* No Internet access on VEs (but I get remote SSH access)
*SOLVED* No Internet access on VEs (but I get remote SSH access) [message #24153] Sat, 01 December 2007 16:22 Go to next message
etechship is currently offline etechship
Messages: 4
Registered: December 2007
Location: Minnesota
Junior Member
From: *hsd1.mn.comcast.net
I have a computer running the OpenVZ live CD (for testing) and I followed the tutorial that popped up, and it all worked. I added the IP address, but when I try to ping google, or run apt-get update from the VE, it errors out. I can ping google form the main NH.

dave


Plappert

[Updated on: Sun, 02 December 2007 16:33] by Moderator

Report message to a moderator

Re: No Internet access on VEs (but I get remote SSH access) [message #24163 is a reply to message #24153] Sat, 01 December 2007 22:15 Go to previous messageGo to next message
Vasily Tarasov is currently offline Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
From: *resnet.stonybrook.edu
Hello,

Quote:

...when I try to ping google, or run apt-get update from the VE, it errors out...

1) What error does appear?
2) Did you set up NAT (iptables command)? It is also described in the tutorial that pops up.

HTH,
Vasily
Re: No Internet access on VEs (but I get remote SSH access) [message #24164 is a reply to message #24163] Sat, 01 December 2007 22:17 Go to previous messageGo to next message
etechship is currently offline etechship
Messages: 4
Registered: December 2007
Location: Minnesota
Junior Member
From: *hsd1.mn.comcast.net
no errors appear. When pinging, it just gives you the "unknown host" error.

I followed everything from the pop-up.

Like described above, I can get remote SSH access to it from another machine on the network and I can get internet on the NH(main machine)

thanks
dave


Plappert
Re: No Internet access on VEs (but I get remote SSH access) [message #24166 is a reply to message #24164] Sat, 01 December 2007 22:34 Go to previous messageGo to next message
Vasily Tarasov is currently offline Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
From: *resnet.stonybrook.edu
Can you please give us output of the following commands in VE _and_ on HN:

ip r l
ip a l
iptables -nv -L
iptables -nv -t nat -L
cat /proc/sys/net/ipv4/ip_forward

Thank you.
Re: No Internet access on VEs (but I get remote SSH access) [message #24169 is a reply to message #24166] Sun, 02 December 2007 03:00 Go to previous message
esoterik is currently offline esoterik
Messages: 5
Registered: December 2007
Junior Member
From: *cpe.net.cable.rogers.com
for me editing (in the VE)

vi /etc/resolv.conf

Entering in a valid nameserver solved the issue (checked and replaced from the host node)

[Updated on: Sun, 02 December 2007 03:02]

Report message to a moderator

Previous Topic:Global configuration file /etc/vz/vz.conf
Next Topic:Unable to run OpenVPN - "openvpn --mktun --dev tap0" fails
Goto Forum:
  


Current Time: Fri May 24 07:09:22 EDT 2013
Powered by FUDforum Powered by Parallels Virtuozzo Containers