Forum Discussion
vinceKahn_97184
Mar 14, 2011Historic F5 Account
GTM - Topology irule
I'm trying to create an irule that uses one of my defined topology records to make a decision. I thought maybe "matchregion" would do it but can't get it to work. Maybe this isn't what matchregion is...
wassim
Mar 18, 2011Altostratus
Hey guys,
It's working now. I followed this thread: "GTM iRule help with matchregion?"
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/1174529/showtab/groupforums/Default.aspx1225408
Thanks for Banyan,
Here what i did according to Banyan's example:
when DNS_REQUEST {
if { [matchregion ldns CGNO]}{
host 1.1.1.1
log local2. "**** Request from [IP::client_addr]****"
}
else { host 2.2.2.2
log local2. "****Request from [IP::client_addr] ****"
}
}
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