[lvs-users] Balancing to a different network segment

Norio Oikawa rojoudotcom at gmail.com
Thu Mar 18 08:05:20 GMT 2010


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!


More information about the lvs-users mailing list