Forum Discussion
szia_80879
Nimbostratus
Sep 03, 2008Need help with the iRule
I am trying to make this iRule work. However, the first portion of the iRule does not. But later portion works fine. What is missing from the iRule? Any help would be appreciated.
Thank you.
CPTest_acl_rule
this event is triggered when a client - BIG IP TCP connection is established
when CLIENT_ACCEPTED {
is client IP address defined in the trusted datagroup?
if { [matchclass [IP::client_addr] equals $::restricted_client_datagroup] } {
pool CPTest_6000_Pool
} else {
requests that did not match the conditions redirect to the CP Production Pool
pool CP_6000_Pool
pool CP_6000_Pool
}
log the client IP address -> destination IP address
log local0. "request accepted from client: \
[IP::client_addr] -> [IP::local_addr]"
}
2 Replies
Sort By
- szia_80879
Nimbostratus
I do not have any error message in the log file. I have another iRule similar to this one and that iRule works fine. I have only two static IP addresses in the datagroup for testing purpose. The datagroup looks like the following: - szia_80879
Nimbostratus
Finally, I resolved the problem. As I suspected, it was the system (node) that was not responding. After talking to the system administrator, I found out that the system was not configured to receive request from Big-IP. But thank to all for the help.
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