Redirection of packets based on source IP address

Martijn Grendelman martijn at grendelman.net
Tue Feb 13 14:28:26 GMT 2007


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


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list