Hi all,

I need to balance a cluster of servers inside the same subnet as below:

_______________________________________________________________
       |               |              |               |
C=10.3.136.23   VS=10.3.136.24  R1=10.3.136.25   R2=10.3.136.26
 _____________   _____________   _____________   _____________
|             | |             | |             | |             |
|   client    | |  director   | | realserver1 | | realserver2 |
|_____________| |_____________| |_____________| |_____________|

The director is a debian/testing with
   - kernel 2.6.26-1-686
   - ipvsadm v1.24 2005/12/10 (compiled with popt and IPVS v1.2.0)

I use:

ipvsadm -A -t 10.3.136.24:80 -s rr
ipvsadm -a -t 10.3.136.24:80 -r 10.3.136.25:80 -m
ipvsadm -a -t 10.3.136.24:80 -r 10.3.136.26:80 -m

and i try with:

iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 10.3.136.24

but SNAT is not working.

How can I do?

Thanks,
Luca

_______________________________________________
LinuxVirtualServer.org mailing list - [email protected]
Send requests to [EMAIL PROTECTED]
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Reply via email to