OpenVZ Forum


Home » Mailing lists » Users » vps from different Hardware Nodes can't access each others
RE: vps from different Hardware Nodes can't access each others [message #42333 is a reply to message #42326] Fri, 01 April 2011 11:20 Go to previous messageGo to previous message
John Spanos is currently offline  John Spanos
Messages: 3
Registered: March 2011
Junior Member
Hello,

Thanx for your help.

You are right with the solution you suggest me but the description of my problem was with fake ip addresses, my real problem is with real ip addresses and the subnets I have are not sequent.
So think like we have ips from 192.168.1.0/24 and 10.10.10.0/24

Any other suggestions??

-----Original Message-----
From: users-bounces@openvz.org [mailto:users-bounces@openvz.org] On Behalf Of Marc Olive
Sent: Friday, April 01, 2011 9:15 AM
To: users@openvz.org
Subject: Re: [Users] vps from different Hardware Nodes can't access each others

On Thursday 31 March 2011 19:22:47 John Spanos wrote:
> Hello ppl

Hello,

> I am new in mailing list but i face a strange situation and i need
> your help to fix it... let me explain
>
> i have two hardware nodes
>
> HN1 --> OS:CentOS --> ip_address:192.168.1.1/24
> HN2 --> OS:CentOS --> ip_address:192.168.1.2/24
>
> i have four vps on each Hardware Node
>
> vps01_hn1 --> running_on: HN1 --> OS:Debian -->
> ip_address:192.168.1.100/24
> vps02_hn1 --> running_on: HN1 --> OS:Debian -->
> ip_address:192.168.1.101/24
> vps03_hn1 --> running_on: HN1 --> OS:Debian -->
> ip_address:192.168.2.100/24
> vps04_hn1 --> running_on: HN1 --> OS:Debian -->
> ip_address:192.168.2.101/24
>
> vps01_hn2 --> running_on: HN2 --> OS:Debian -->
> ip_address:192.168.1.102/24
> vps02_hn2 --> running_on: HN2 --> OS:Debian -->
> ip_address:192.168.1.103/24
> vps03_hn2 --> running_on: HN2 --> OS:Debian -->
> ip_address:192.168.2.102/24
> vps04_hn2 --> running_on: HN2 --> OS:Debian -->
> ip_address:192.168.2.103/24
>
>
> so here is my situation
>
> when i try to ping or trace from vps01_hn1 to any other vps i am
> taking a normal response when i try to ping or trace from vps03_hn1 to
> any vps on
> HN1 i get a response but from HN2 i get response only from vps01_hn2
> and vps02_hn2. the same situation from HN2 vps, vps01_hn2 and
> vps02_hn2 can ping everyone but vps03_hn2 and vps04_hn2 can't ping vps
> vps03_hn1 and vps04_hn1.
>
> I don't have any iptables.
> any ideas??

You have mixed (sub)nets on each HN, 192.168.1.x and 192.168.2.x. How did you routed between subnets/hosts?
Also, if you randomly mix subnets IPs, like 192.168.2.100 on HN1 and
192.168.2.102 on HN2 then routing tables will be a bit hard, you will need a route for every node instead having one route for every net.

I don't know your needs, but splitting subnets in a different way will be easier to manage, for example 192.168.1.x for HNs, 192.168.2.x for VPx_HN1 and 192.168.3.x for VPx_HN2. This way you can route whole subnets to his HN- gateway, instead of routing individual VPs as you will have to do with the configuration you have now.

You should read some docs about routing and net-splitting.

Regards,

--

Marc Olivé
Blau Advisors

marc.olive@blauadvisors.com

C/ Molí de Guasch, 10 baixos 1a,
43440 L’Espluga de Francolí (Tarragona)
Tel. +34 977 870 702
Tel i Fax. + 34 977 870 507

www.blauadvisors.com
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: . tar.gz.tar.gz not found while trying to create a container
Next Topic: Creating an openVZ image of RHEL5.3
Goto Forum:
  


Current Time: Sat Aug 16 12:03:39 GMT 2025

Total time taken to generate the page: 0.31430 seconds