Forum Discussion
What_Lies_Bene1
Jan 29, 2013Cirrostratus
OK, so there are different connection sources. In that case sure, an iRule can do this easily. If you configure a default Persistence profile on the VS of source address, the elseif isn't actually required, I've just included it to demonstrate the possibilities;
when HTTP_REQUEST {
Check if this is a BPM system
if { [IP::addr [IP::client_addr] equals 192.168.1.0/24] } {
If a BPM system, disable persistence
persist none
Stop processing the iRule here
return
}
Check if this is a CC user
elseif { [IP::addr [IP::client_addr] equals 172.16.0.0/16] } {
If a CC user, enable source address persistence
persist source_addr
Stop processing the iRule here
return
}
}