Forum Discussion
Wish_40049
Nimbostratus
Feb 10, 2010GTM IRule
I would like some help to create an IRule.
We have two pools external pool and internal pool. At the wip we need to setup an IRULE to basically force any user coming from a particular subnet(s) to go to the internal pool, else go to the external pool, from what I know the syntax between an LTM irule and GTM irule is quite different, as we have this setup on our ltm infrastructure, but that ltm irule was not able to save as a gtm irule, the gtm would not like it.
2 Replies
- The_Bhattman
Nimbostratus
Hi Wish,
The description you provided sounded very much like LTM irule. GTM's iRule typically surround DNS resolution. The following link will take you to the wiki entry for GTM irules.
http://devcentral.f5.com/wiki/default.aspx/iRules.GTM
I hope this helps
Bhattman - hoolio
Cirrostratus
Citizen_elah posted a related solution a while back:
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&tpage=1&view=topic&postid=31347when DNS_REQUEST { if { [IP::addr [IP::client_addr]/24 equals "10.10.10.0"] } { pool internal_pool } else { pool external_pool } }
Else, can you post the iRule you tested and the error you received when trying to save it?
Aaron
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