Forum Discussion
arun_parthas_10
Nimbostratus
Mar 18, 2009Need help with writing an Irule
Hi
I have a situation where I have 4 clients hitting a VIP with two servers behind..
I am having a Least Connection ( member ) as LB method and Persistence set for 4 hours.. the ...
arun_parthas_10
Nimbostratus
Mar 24, 2009Matt
Thanks for the response.. it doesnt work however :
01070151:3: Rule [TEST-CPC-IRULE] error: line 2: [parse error: PARSE syntax 132 {syntax error in expression [IP::addr [IP::client_addr] equals 172.24.81.20] || [IP:...: extra tokens at end of expression}] [{ [IP::addr [IP::client_addr] equals 172.24.81.20] || [IP::addr [IP::client_addr] equals 172.24.8.16] pool beta-cpc-web-pool-1-12100 }] line 4: [undefined procedure: else] [else] line 4: [deprecated usage, use else or elseif] [ ]
when CLIENT_ACCEPTED {
if { ([IP::addr [IP::client_addr] equals 172.24.81.20]) || ([IP::addr [IP::client_addr] equals 172.24.8.16])
pool beta-cpc-web-pool-1-12100
} else {
pool beta-cpc-web-pool-2-12100
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects