LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Balancing to a different network segment

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Balancing to a different network segment
From: Sergey Arlashin <s.arlashin@xxxxxxxxx>
Date: Thu, 18 Mar 2010 14:44:43 +0300
You should use masq in ldirector.conf to balance  to diff. network segments.
Ex:
       real=192.168.15.41:443 masq
       real=192.168.15.51:443 masq
And don't forget to assign your ldirectord node as default gateway for
"real" nodes.

On Thu, Mar 18, 2010 at 11:05 AM, Norio Oikawa <rojoudotcom@xxxxxxxxx>wrote:

> Hi guys,
>
> My name is Norio! Let me ask you guys a question!
>
> --PURPOSE
> I would like to balance http requests from LVS, in VLAN10, to AP servers,
> in
> VLAN20.
> VLAN10 and VLAN20 are in different network segments of 192.168.10.XX
> (VLAN10) and 192.168.20.XX (VLAN20).
>
> --NETWORK
> VLAN10 192.168.10.40 (VIP)
>  lb1 192.168.10.41
>  lb2 192.168.10.42
>
> VLAN20
>  ap1 192.168.20.11
>  ap2 192.168.20.12
>
> --REQUEST FLOW
> HTTP REQUEST(port 80) ---> 192.168.10.40 (VIP) --> 192.168.20.11 or
> 192.168.20.12
>
> --PROBLEM
> By ipvsadm -Ln, I can see ap1 and ap2 in the list of 192.168.10.40 (VIP).
> However, LVS does not send a packet to ap1/ap2.
> I'm for sure the request is stopped at LVS and not go through to ap1/ap2 by
> watching tcpdump in both lb and ap servers.
>
> --QUESTION
> LVS does not support balancing to a node in different network segments?
>
> Thanks!
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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