Compiling ipvsadm on different Linux distributions
From LVSKB
Introduction
Since IPVS interface to user-space is different in different Linux kernel versions, there are different versions of ipvsadm for IPVS inside the different Linux kernel versions.
For IPVS inside the Linux kernel 2.6, you need to use ipvsadm version 1.24 or later.
For IPVS inside the Linux kernel 2.4, you need to use ipvsadm 1.21 series.
For IPVS patch for the Linux kernel 2.2, you need to use ipvsadm version 1.15.