DNAT load balancing and server affinity

Henrik Nordstrom hno@marasystems.com
Tue, 16 Oct 2001 11:50:21 +0200

Brett E Leeser wrote:
> When using the DNAT target, and specifying a range of IP addresses to
> provide a round-robin load balance, does iptables provide any type of
> server affinity?

Not really.

I have a long term goal of trying to implement the schedulers of IPVS
into netfilter/iptables NAT, but I haven't even got started on this yet.

Also, please note that the level of affinity one can implement in NAT is
quite limited as you only have access to IP data (source ip,port
destination ip,port).

Henrik Nordström
MARA Systems AB, Sweden