Shishir_84445
Aug 18, 2011Nimbostratus
iRule Help: Pool Selection on VIP port basis
Pardon me if this one already posted...
I need to configure VIP to listen on traffic on port range say "2000 to
5000" and the back end physical servers are listening on port 2000 to
5000.
I created VIP with IP say 1.2.3.4:*AllPorts , and I created Pool with
Member IP say 8.8.8.8:*AllPorts and applied following iRule which was posted
in DEV Central Forum
when HTTP_REQUEST {
if { [ [[TCP::local_port] >=2000] and [[TCP::local_port] <=5000]] }
{ pool Exchange2010_CAS_POOL }
else { reject }
}
When I see statistics on F5, I see traffic coming in and OUT of VIP and I see traffic coming IN to Pool Member but I dont see traffic going OUT of Pool Member. I am not sure what is wrong? Is the iRule is incorrect or the Pool member should not be configured that way....Any help will be greatly appreciated. Thank you.
--Shishir