LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS configured on 127.0.0.1?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] LVS configured on 127.0.0.1?
From: Deniss <dg@xxxxxx>
Date: Sat, 17 Apr 2010 15:00:08 +0300
looks like i misunderstood your config.
which IP u use as VIP to connect ? 127.0.0.1 will never work here

there is problem with local node since 2.6.28 as well - 
http://lists.graemef.net/pipermail/lvs-users/2010-March/023040.html

sorry again

Michael Schwartzkopff wrote:
> Am Freitag, 16. April 2010 13:19:35 schrieb Deniss:
>> 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,
>> yep, just use ip mark for LVS matching
>>
> 
> Thanks for the idea! But it seems as it is not working for me:
> # iptables -t mangle -nvL PREROUTING
> Chain PREROUTING (policy ACCEPT 7142 packets, 695K bytes)
>  pkts bytes target     prot opt in     out     source               
> destination         
>    18  1014 MARK       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0 
>           
> tcp dpt:91 MARK xset 0x1/0xffffffff 
> 
> # ipvsadm -L
> IP Virtual Server version 1.2.1 (size@96)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> FWM  1 rr
>   -> 172.29.56.44:www             Masq    1      0          0         
>   -> 172.29.56.43:www             Masq    1      0          0     
> 
> 
> Any ideas? Thanks.

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>