OpenVZ Forum


Home » General » Support » OpenVZ Unable to access the outside internet (This is driving me crazy)
OpenVZ Unable to access the outside internet [message #51952] Mon, 30 March 2015 14:36 Go to next message
xX1bumblebee1Xx is currently offline  xX1bumblebee1Xx
Messages: 4
Registered: March 2015
Junior Member
From: *b-ras2.rtd.sligo.eircom.net
I have a vps running and it seems to be ok, but I am unable to access to internet. I am only able to access the internal network. What I want to do is give the vps a ip (access to the outside world), without buying a second ip, If its possible. But I have no idea how to do this.
I /think/ I need something like wiki.openvz.org/Virtual_Ethernet_device but I only get as far as wiki.openvz.org/Virtual_Ethernet_device#Configure_devices_in _CT0 ('[host-node]# ifconfig veth101.0 0') and it gives me a error:
SIOCSIFADDR: No such device
veth1.0: ERROR while getting interface flags: No such device


If this is the right way, can someone help me with this error. I have though trying to get the openvz to use the host ip, but found nothing, if its even possible. If either of these ways are not right then can you point me the the right direction.

Note: I only have 1 ip address and I have never done anything like this before.

Thanks in advance
Re: OpenVZ Unable to access the outside internet [message #51954 is a reply to message #51952] Tue, 31 March 2015 16:11 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
From: *static.zebra.lt
http://wiki.openvz.org/Using_NAT_for_container_with_private_ IPs
Re: OpenVZ Unable to access the outside internet [message #51955 is a reply to message #51954] Tue, 31 March 2015 16:55 Go to previous messageGo to next message
xX1bumblebee1Xx is currently offline  xX1bumblebee1Xx
Messages: 4
Registered: March 2015
Junior Member
From: *b-ras2.rtd.sligo.eircom.net
I think i've done something wrong, I get 'ping: unknown host openvz.org' when I try to ping after that guide, any idea were I could have went wrong?
Re: OpenVZ Unable to access the outside internet [message #51956 is a reply to message #51952] Tue, 31 March 2015 17:05 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
From: *static.zebra.lt
if you can ping by ip address then probably something related to dns servers.
Re: OpenVZ Unable to access the outside internet [message #51957 is a reply to message #51952] Tue, 31 March 2015 17:32 Go to previous messageGo to next message
xX1bumblebee1Xx is currently offline  xX1bumblebee1Xx
Messages: 4
Registered: March 2015
Junior Member
From: *b-ras2.rtd.sligo.eircom.net
It works! now to find the problem with the dns, is it the nameserver?

[Updated on: Tue, 31 March 2015 17:38]

Report message to a moderator

Re: OpenVZ Unable to access the outside internet [message #51958 is a reply to message #51956] Tue, 31 March 2015 17:50 Go to previous messageGo to next message
xX1bumblebee1Xx is currently offline  xX1bumblebee1Xx
Messages: 4
Registered: March 2015
Junior Member
From: *b-ras2.rtd.sligo.eircom.net
Ok, it half works, I can only ping my host ip, google's ip and one of my friends i, It seems to be random. any idea?

EDIT: Can't ping these from the host node either, is this normal?

[Updated on: Tue, 31 March 2015 17:54]

Report message to a moderator

Re: OpenVZ Unable to access the outside internet [message #52041 is a reply to message #51958] Sun, 03 May 2015 12:50 Go to previous message
spoke2u
Messages: 12
Registered: September 2013
Junior Member
From: *cpe.teksavvy.com
show us some configuration files.



--
I am unable to see
Previous Topic: Android-4.0-r1 livecd with openvz kernel
Next Topic: vzdump not supporting restore vzrestore not available
Goto Forum:
  


Current Time: Tue Oct 22 14:59:50 GMT 2019