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 <rojoudot...@gmail.com>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@LinuxVirtualServer.org > Send requests to lvs-users-requ...@linuxvirtualserver.org > 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@LinuxVirtualServer.org Send requests to lvs-users-requ...@linuxvirtualserver.org or go to http://lists.graemef.net/mailman/listinfo/lvs-users