LVS on FreeBSD Version 0.2.0 Install: 1. Patch the FreeBSD kernel: cp patch/* /usr/src; cd /usr/src; patch -p0 < uipc_socket.c.patch patch -p0 < ip_input.c.patch patch -p0 < socketvar.h.patch patch -p0 < sys_conf_options.patch patch -p0 < sys_i386_conf_GENERIC.patch 2. Rebuilding FreeBSD kernel: cd /usr/src/sys/arch/i386/conf; config GENERIC; cd ../compile/GENERIC; make depend; make; make install; 3. Compile ipvs module: cd ipvs/ make; cd ipvsadm/ make install; 4. Reboot with new kernel: reboot; Let's assume your cluster has the following configuration: Workstation with address:192.168.1.23 runs as dispatcher(FE:front end), Workstations with address:192.168.1.33 and 192.168.1.38 run as real server(BE:back end). Thay all share address:192.168.1.36,which is saw by client. Start: 1. kldload ./ipvs.ko 2. ./ipvsadm -A -t 192.168.1.36:80 -s rr 3. ./ipvsadm -a -t 192.168.1.36:80 -r 192.168.1.33:80 -g 4. ./ipvsadm -a -t 192.168.1.36:80 -r 192.168.1.38:80 -g Stop: 1. kldunload ipvs Note:Do not use other commands of ipvsadm,for maybe it is not implemented. Feedback -------- Welcome your comments, bug reports, bug fixes, and ideas Thanks, Li Wang dragonfly@linux-vs.org