[lvs-users] LVS configured on 127.0.0.1?

Michael Schwartzkopff misch at multinet.de
Fri Apr 16 13:32:53 BST 2010


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 at multinet.de
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




More information about the lvs-users mailing list