LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Redirection of packets based on source IP address

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Redirection of packets based on source IP address
From: Martijn Grendelman <martijn@xxxxxxxxxxxxxx>
Date: Tue, 13 Feb 2007 15:28:26 +0100
Hi Joe & list,

>>> I keep forgetting about the -SH scheduler which forwards according to CIP.
>>
>> ..and which works quite nicely. Just read this:
>> http://archive.linuxvirtualserver.org/html/lvs-users/2006-06/msg00033.html
>
> also recorded in
>
> http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.ipvsadm.html#SH-scheduler
>
> Martijn,
>
> anything more about -SH that you've found out that would be useful for people to know?

Not really. I have been running with:

martijn@tweety:~> rr ipvsadm -L
IP Virtual Server version 1.0.10 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  212.204.230.98:www sh
  -> tweety.sipo.nl:www           Local   200    25         44
  -> daffy.sipo.nl:www            Route   200    12         27
TCP  212.204.230.98:https sh persistent 360
  -> tweety.sipo.nl:https         Local   100    0          0
  -> daffy.sipo.nl:https          Route   100    0          0

ever since that list discussion, and haven't had any problems at all.

Best regards,

Martijn Grendelman


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