Forum Discussion
hc_andy_35682
Nimbostratus
Feb 11, 2010Connection Mirroring and IRule Problem
Hi All,
New to the wonderful world of F5 and getting this error when trying to run connection mirroring and iRule.
This is the iRule we're using to permit only trusted IP...
spark_86682
Feb 11, 2010Historic F5 Account
I'm not sure why mirroring and a cmp disabled virtual server are incompatible. However, the easy and obvious fix is to change:
if { [matchclass [IP::client_addr] equals $::trustedAddresses] }{
to
if { [matchclass [IP::client_addr] equals trustedAddresses] }{
Usually, the "$::" prefix refers to a global variable, which is not compatible with CMP. On recent versions (9.4.2 (I think) and later) removing the "$::" will allow the matchclass command to work, while not making the system think you are using a global variable. This will also allow your virtual server to run on all processors, not just one (this is what CMP is), which can have a significant performance impact.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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