Forum Discussion

szia_80879's avatar
szia_80879
Icon for Nimbostratus rankNimbostratus
Sep 03, 2008

Need 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

  • 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:

     

     

    X.X.223.14x

     

    X.X.223.12X

     

     

    Hopefully this information will help. I want to make sure that nothing wrong with the iRule before I start pounding the system administrator for more troubleshooting.

     

     

    Thank you.
  • 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.

     

     

    Thank you.