06-14-2011 01:40 AM
Hello,
I am not able to find information of how to configure a balance in CSS11500 depending of the IP source. I want to do the next:
Site A : 192.168.1.0/24
Site B : 192.168.2.0/24
Both sites access to the same VIP: http://vip_balnace_IP but depending of the source the should be balanced to diferentes servers.
Site A -> VIP_balance -> server1
Site A -> VIP_balance -> server2
Could you give me a clue on how to do that?
Thank you in advance.
Solved! Go to Solution.
06-14-2011 02:29 AM
hi,
for your requirement to loadbalance to servers depending upon
(source) IP address, the CSS Can use ACL's to do this, as
follows;
service server1
ip address 192.168.10.1
active
service server2
ip address 192.168.10.2
active
!*************************** OWNER ***************************
owner owner1
content rule1
port 80
protocol tcp
vip address 1.1.1.1
url "/*"
add service server1
add service server2
active
!**************************** ACL ****************************
acl 10
clause 10 permit tcp 192.168.1.0 255.255.255.0 destination content
owner1/rule1 prefer server2
clause 99 permit any any destination any
apply circuit-(VLAN1)
So here, all clients with IP address range 192.168.1.0/24 will be directed
to server2
-
Siva
06-14-2011 02:29 AM
hi,
for your requirement to loadbalance to servers depending upon
(source) IP address, the CSS Can use ACL's to do this, as
follows;
service server1
ip address 192.168.10.1
active
service server2
ip address 192.168.10.2
active
!*************************** OWNER ***************************
owner owner1
content rule1
port 80
protocol tcp
vip address 1.1.1.1
url "/*"
add service server1
add service server2
active
!**************************** ACL ****************************
acl 10
clause 10 permit tcp 192.168.1.0 255.255.255.0 destination content
owner1/rule1 prefer server2
clause 99 permit any any destination any
apply circuit-(VLAN1)
So here, all clients with IP address range 192.168.1.0/24 will be directed
to server2
-
Siva
06-14-2011 03:54 AM
Thank you very much, I will try that.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide