LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: newbie trying to setup simple load balancer

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: newbie trying to setup simple load balancer
From: sipieter nicolas <niko_2501@xxxxxxxxxxx>
Date: Wed, 28 Sep 2005 16:02:20 +0900 (JST)
--- Ludo Stellingwerff <ludo@xxxxxxxxxxxxx> からのメッセ
ージ:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1



Hi ludo, thanks for your reply..
about htat iptables line, i got it from ultramonkey
website:
http://www.ultramonkey.org/3/topologies/lb-eg.html


and about my realservers, they run crap m$windoz
it's  not my choice..

by the way, by "default route" you mean gateway ?
could you explain more?


thanks for your help




> 
> > and set this in iptables: [root@parts niko]#
> /sbin/iptables -t nat
> > -A POSTROUTING -j MASQUERADE -s 192.168.2.2/24
> >
> Hi,
> 
> This last rule is probably meant to undo the effects
> of the LVS/NAT
> translation? This should be unnecessairy.
> 
> The problem you're facing could be that the return
> traffic from the
> servers is not sent through the host at 192.168.2.2.
> The defaultroute
> on your realservers should be via the 192.168.2.2.
> 
> e.g. On the realservers:
> #ip route del default
> #ip route add default via 192.168.2.2 dev eth0
> 


__________________________________
 For All Sports Fans!
 http://pr.mail.yahoo.co.jp/yells/


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