lvs-users
|
To: | lvs-users@xxxxxxxxxxxxxxxxxxxxxx |
---|---|
Subject: | Re: ipvsadm and kernel 2.2.22 and apache load balancing |
From: | Romeo Benzoni <rb@xxxxxx> |
Date: | Thu, 24 Oct 2002 12:08:20 +0200 |
hi setup of client and realserver should be obvious. on the director the commands (for telnet) would be: # ipvsadm -A -t 192.168.0.2:23 -s rr # ipvsadm -a -t 192.168.0.2:23 -r 172.16.0.2 -m # echo "1" >/proc/sys/net/ipv4/ip_forwardI think that you also need to add an iptables rule so that return packets from the realservers are demasqueraded. iptables -t nat -A POSTROUTING -j MASQUERADE -s 172.16.0.2/24 as of 2.4 you don't need that for 2.2 I don't know. cu romeo |
Previous by Date: | Re: ipvsadm and kernel 2.2.22 and apache load balancing, Horms |
---|---|
Next by Date: | Re: ipvsadm and kernel 2.2.22 and apache load balancing, Horms |
Previous by Thread: | Re: ipvsadm and kernel 2.2.22 and apache load balancing, Horms |
Next by Thread: | Re: ipvsadm and kernel 2.2.22 and apache load balancing, Horms |
Indexes: | [Date] [Thread] [Top] [All Lists] |