Simon et al.
I don't think it ever worked on 127.0.0.1.... BUT it definitely does work on a locally bound IP address : I just set up a quick test on 2 kernels 2.6.25.11 & 2.6.32.7 Pound configured to convert HTTP:192.168.2.121 -> HTTP 192.168.2.121 LVS eth0 = 192.168.2.121:80 NAT config to eth1 on 192.168.20.121 -> real server 192.168.20.178:80 Both seem to work fine IPVS connection entries pro expire state source virtual destination TCP 14:53 ESTABLISHED 192.168.2.121:35089 192.168.2.121:80 192.168.20.178:80 On 19 April 2010 06:33, Simon Horman <[email protected]> wrote: > > On Fri, Apr 16, 2010 at 02:42:23PM +0200, Michael Schwartzkopff wrote: > > Am Freitag, 16. April 2010 13:19:35 schrieb Deniss: > > > yep, just use ip mark for LVS matching > > > > > > Michael Schwartzkopff wrote: > > > > Hi, > > > > > > > > Is it possible to make LVS distribute traffic sent to 127.0.0.1 from the > > > > local host on interface lo? > > > > > > > > Thanks for any enlightening answers. > > > > > > > > Greetings, > > > > > > Hi, > > > > thanks for your answer. It seems to work if the package comes from another > > host. But it fails if the package comes from the localhost. > > > > I iptables I see that the package is marked correctly but ipvs does not > > count > > any connections or packages. Strange ... > > This feature was added in 2.6.28, however there have been some reports > that it isn't working. Unfortunately I don't have time to debug > the problem in the kernel at this time. > > _______________________________________________ > Please read the documentation before posting - it's available at: > http://www.linuxvirtualserver.org/ > > LinuxVirtualServer.org mailing list - [email protected] > Send requests to [email protected] > or go to http://lists.graemef.net/mailman/listinfo/lvs-users -- Regards, Malcolm Turnbull. Loadbalancer.org Ltd. Phone: +44 (0)870 443 8779 http://www.loadbalancer.org/ _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
