hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : Getting networking going on openvz
Reply

Forum Jump

Getting networking going on openvz

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-12-2013, 07:20 AM
drjaking drjaking is offline
New Member
 
Join Date: Jun 2013
Posts: 2

Getting networking going on openvz


Hi,

I hope it's OK to ask this here.

I just got my first VPS, cheap deal from Waveride. I can log into it on the control panel, but there is no internet connectivity. I can't ping anything from the VPS, and I can't SSH into it. I *think* networking is just misconfigured, but it a barebones, no support deal so I can't ask them.

I've installed Ubuntu 12.10 x86-64 (64Bit).

/etc/network/interfaces looks like this (my x's):


Code:
# Auto generated lo interface
auto lo
iface lo inet loopback

# Auto generated lo interface
auto lo
iface lo inet loopback

# Auto generated venet0 interface
auto venet0
iface venet0 inet manual
        up ifconfig venet0 up
        up ifconfig venet0 127.0.0.2
        up route add default dev venet0
        down route del default dev venet0
        down ifconfig venet0 down

iface venet0 inet6 manual
        up ifconfig venet0 add x:x:x:x:x:x:x:x/128
        down ifconfig venet0 del x:x:x:x:x:x:x:x/128
        up route -A inet6 add default dev venet0
I have added this using /etc/netowrk/interfaces.tail using the information given by the provider:

Code:
auto venet0:0
    iface venet0:0 inet static
    address x.x.x.x
    netmask 255.255.255.0
    gateway x.x.x.x


/etc/resolv.conf
Code:
nameserver 8.8.8.8
nameserver 8.8.4.4

root@subject:/# route

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
151.236.10.0    *               255.255.255.0   U     0      0        0 venet0
default         *               0.0.0.0         U     0      0        0 venet0

root@subject:/# ifconfig

Code:
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.2  P-t-P:127.0.0.2  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:182 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:x.x.x.x  P-t-P:x.x.x.x  Bcast:x.x.x.255  Mask:255.255.255.0
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1


Can anyone help me? I'm a bit lost and not experienced enough to know if it's a problem with OpenVZ or something I'm expected to figure out.



Sponsored Links
  #2  
Old 06-12-2013, 08:58 AM
Farbyte Farbyte is offline
Junior Guru
 
Join Date: Jun 2010
Location: Manchester, UK
Posts: 175
It sounds like no IPv4 address has been assigned to the VPS during deployment. Get in touch with your VPS provider support desk and ask them to check the network configuration.

If you can't ping something like www.google.com, then there is an issue which needs to be dealt with by the hosting provider.

__________________
Farbyte Ltd [UK] ♦ Professional UK Hosting ♦ Tel: +44 (0)843 532 0744
cPanelŽ web hosting since 2006.
SSD caching VPS with resilient, redundant replicated storage & IPS
♦ Shared Hosting ♦ Domains ♦ SSL Certificates ♦ VPS

  #3  
Old 06-12-2013, 09:18 AM
tnhadmin tnhadmin is offline
Junior Guru
 
Join Date: Dec 2012
Posts: 218
Your host should help you as its being a networking issue. You can try to turn off firewall in the vps if its blocking connection.

__________________
TronicHost.com - Offshore Web Hosting Provider. Netherlands/Romania || 24x7 Support
Shared/Reseller Hosting | Offshare VPS/Dedicated Server. Paypal/Perfectmony/Payza/Bitcoin accepted

Sponsored Links
  #4  
Old 06-13-2013, 08:41 AM
drjaking drjaking is offline
New Member
 
Join Date: Jun 2013
Posts: 2
The VPS company got back to me and fixed it. Thanks for the advice!

  #5  
Old 06-13-2013, 12:46 PM
vps_newbie vps_newbie is offline
Web Hosting Guru
 
Join Date: Jul 2012
Posts: 316
I know the problem was fixed, but I did want to add to the discussion. I was running Debian under OpenVZ (and SolusVM) and noted that certain files were overwritten each time the VPS was booted. That included /etc/network/interfaces.

I suspect that a simple VPS reboot from the Control Panel may fix the problem. The IP address(es) are added into /etc/network/interfaces each time the VPS is booted. If not, then the hosting provider did not provision your VPS correctly.

Here is the thread I started regarding files that are edited or overwritten when a VPS is booted in OpenVZ. At the time I thought it was SolusVM, but it is OpenVZ:

http://www.webhostingtalk.com/showthread.php?t=1213133

  #6  
Old 06-13-2013, 02:27 PM
NoSupportLinuxHostin NoSupportLinuxHostin is offline
Web Hosting Master
 
Join Date: Jan 2010
Location: USA
Posts: 2,076
If they use SolusVM and you chose a complex password (with characters other than letters and numbers), then you might have run into a bug in SolusVM. The latest "stable" of SolusVM has a bug that busts the networking setup during VPS creation when the VPS is created using the API (such as when a billing system calls the API to create the VPS). The latest "beta" of SolusVM has the bug fixed.

__________________
No Support Linux Hosting Bargain cPanel Hosting Experts Only
We IGNORE the support questions, and pass the SAVINGS on to YOU!
We also ignore questions about VPS Hosting

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVZ Networking setup Seegee Employment / Job Offers 3 07-24-2012 08:55 AM
OpenVZ networking - venet vs veth Edwardzyc VPS Hosting 2 01-08-2011 07:49 PM
Lightwave Networking OpenVZ & Xen PV VPS Hosting Availability! Lightwave VPS Hosting Offers 0 06-14-2010 11:09 AM
Lightwave Networking OpenVZ VPS Hosting ( and Affiliate Referral Program ) Lightwave VPS Hosting Offers 0 05-30-2010 06:54 PM
Lightwave Networking OpenVZ VPS Hosting Lightwave VPS Hosting Offers 0 05-23-2010 01:04 AM

Related posts from TheWhir.com
Title Type Date Posted
WHIR Networking Events Chicago, Fifth Time's a Charm Blog 2013-03-08 12:30:25
cPanel Conference 2012: Virtualize All the Things with Nate Custer Web Hosting News 2012-11-12 13:54:36
Web Host Certified Hosting Launches New Linux VPS Plans Web Hosting News 2012-08-22 09:08:38
WHIR TV: Networking Event, Toronto, May 2012 Whir Tv 2013-10-05 06:18:59
All New 2013 WHIR Networking Event Schedule Announced Blog 2013-04-15 13:52:59


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?