OpenVZ Forum


Home » General » Discussions » i can't ping vps from the host. (i can't ping vps from the host.)
Re: i can't ping vps from the host. [message #41007 is a reply to message #40875] Wed, 03 November 2010 12:51 Go to previous messageGo to previous message
lars_bailey is currently offline  lars_bailey
Messages: 3
Registered: October 2010
Junior Member
To expand this thread a little further,the member does not specify whether the VETH interface is bridged,so one must assume it's not.
If the VETH is not bridged,this interface becomes the VPS's "gateway".
Since the IP subnet for the VPS differs than the Node,routing is not an issue,since the Node will have this subnet in its table.(based on the VETH IP)

Example;

Node 192.168.99.254
VETH 10.10.100.254
VPS 10.10.100.2

All that is needed for the VPS,is placing this in its config.

GATEWAY=10.10.100.254

From the Node,both the VETH and VPS IP addresses are reachable.
From the VPS,the VETH IP address,is reachable.
The Node IP address is possible to reach from the VPS,as long as you know the IP.
A Node server's IP address,is never seen as a network hop,whether you bridge or not.
If you follow the example above,forwarding for VPS via VETH interface,does not need to be enabled,unless the VPS needs it.
On my Node,only one VPS has forwarding enabled,
All other VPS's,can not reach each other,hence the error the member was getting.
I hope this explaination helps.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: control panel question
Next Topic: vps goes offline
Goto Forum:
  


Current Time: Mon Nov 04 07:37:06 GMT 2024

Total time taken to generate the page: 0.03471 seconds