LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

AW: Configuring a "static" assignment on the loadbalancer

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: AW: Configuring a "static" assignment on the loadbalancer
From: Matthias Krauss <MKrauss@xxxxxxxxxxxxxx>
Date: Fri, 18 Jul 2003 10:06:07 +0200
sorry, its more like
iptables -t mangle -A PREROUTING -p tcp -s developer ip -d virtual server ip
-j MARK --set-mark 1 ...

-----Ursprüngliche Nachricht-----
Von: Matthias Krauss [mailto:MKrauss@xxxxxxxxxxxxxx] 
Gesendet: Freitag, 18. Juli 2003 00:39
An: 'LinuxVirtualServer.org users mailing list.'
Betreff: RE: Configuring a "static" assignment on the loadbalancer


you could use marks like
iptables -t mangle -A PREROUTING -p tcp -s developer ip -d reals server ip
-j MARK --set-mark 1
iptables -t mangle -A PREROUTING -p tcp -s  ! developer ip -d reals server
ip  -j MARK --set-mark 2
then add the marks to lvs and have mark 1 only adding to the particular back
end
ipvsadm -A -f 1 ...
ipvsadm -a -f 1 ...

or even easier is to change the hosts file on your developer host ...

Matthias


-----Original Message-----
From: Anthony Brock [mailto:Anthony_Brock@xxxxxxx]
Sent: 17 July 2003 23:14
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Configuring a "static" assignment on the loadbalancer


I have a request from one of our developers to direct all traffic from a
specific IP address to a particular back-end server (without impacting other
users). Any ideas? I could use some help with this one...

I'm using:

IP Virtual Server version 1.0.9 (size=4096)
Linux this.host.name.edu 2.4.21 #5 SMP Fri Jun 27 16:16:54 PDT 2003 i686
i686 i386 GNU/Linux

Thoughts or ideas?

Tony

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>
  • AW: Configuring a "static" assignment on the loadbalancer, Matthias Krauss <=