Forum Discussion
intadm_38648
Nimbostratus
Jul 28, 2011New to iRules...need some guidance
Hey all! This iRule that I'm trying so hard to create is racking my brain...was wondering if you experts can help me. Below is the rule and basically, I would like to send inbound traffic (inbound t...
Michael_Yates
Nimbostratus
Aug 02, 2011Hi intadm,
You can find additional information for the Class Command here: http://devcentral.f5.com/wiki/iRules.class.ashx
As Hamish pointed out the Global Variable “$::” has been updated from v9.x to v10.x. You can change the usage.
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals SPOE_IPS] } {
pool pool_spoe_proxies
}
else {
pool pool_BC_proxies
}
}
For your other question, I would take a look at the following commands:
[IP::client_addr]
[IP::server_addr]
There are also additional options available depending on what you need.
Hope this helps.
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