LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] 2 directors, 2 different networks

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] 2 directors, 2 different networks
From: jcpetit@xxxxxxxxxxx
Date: Sun, 30 Sep 2007 17:47:28 -0400 (EDT)
Hello,

I've been searching and trying to setup the following architecture for
several long days now. I think I may need help from you guys ;)
Basically we have to 1Gb/sec network coming from 2 different ISP
Each line is connected to a director ( eth0 )
Each director connected ( eth1 )to real servers via internal network
LVS-NAT is applied to each director with 2 different internal networks

first director attached on ISP1 network
 eth0 / let say 1.1.1.2 IP with VIP 1.1.1.3 ) ( ISP1 gateway 1.1.1.1 )
 eth1 ( 192.168.1.201 / VIP: 192.168.1.254 )
second director attached on ISP2 network
 eth0 / let say 2.2.2.2 IP with VIP 2.2.2.3 ) ( ISP2 gateway 1.1.1.2 )
 eth1 ( 192.168.2.201 / VIP: 192.168.2.254 )

Each realserver
eth0 : IP (192.168.1.10x) / GW (192.168.1.254)
eth1 : IP (192.168.2.10x) / GW (192.168.2.254)

The first director is working fine
second director not working.
It seems to be a gateway/routing problem because if I change the default
gateway on realservers to the second director ( 192.168.2.254 ) second
director is working and first one not..
I think we just need to established that gateway must be 192.168.1.254 for
eth0 and 192.168.2.254 for eth1 on each realservers. But I just don't know
how.
For now, default gateway is 192.168.1.254 in /etc/sysconfig/network on all
realservers

Anybody can give me a hand on this one ?

best regards,

JC



<Prev in Thread] Current Thread [Next in Thread>