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
|