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: Michael Schwartzkopff <misch@xxxxxxxxxxx>
Date: Fri, 16 Apr 2010 14:32:53 +0200
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=4096)
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.
-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch@xxxxxxxxxxx
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42

_______________________________________________
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>