[lvs-users] IPVS NAT on IPV6

Simon Horman horms at verge.net.au
Tue Feb 9 11:56:25 GMT 2010


On Tue, Feb 09, 2010 at 12:28:26PM +0100, Pavel Šejnoha wrote:
> Hi all.
> 
> I'm testing IPv6 features of LVS. 
> 
> I have compiled a kernel 2.6.29 and ipvsadm 1.25. But I do not
> understand how to use IPVS NAT in IPv6.
> 
> I set:
> 
> ipvsadm -A -t [fc00::1]:80
> ipvsadm -a -t [fc00::1]:80 -r [fc00::2]:80 -m
> 
> Destination address is correct overwritten from fc00::1 to fc00::2. But
> how to overwrite the address of the answers back to fc00::1. In IPv4 i
> use iptables SNAT, but what to use for IPv6?

Such iptables rules shouldn't be necessary for IPv4 or IPv6.
LVS should do the rewriting when the return-traffic passes
through the linux-director. Is this not occuring?




More information about the lvs-users mailing list