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 17, 2011Altostratus
Hi guys,
It does not seems to be working with me !! how about you Vince ?
when DNS_REQUEST {
if { [matchregion ldns ip] equals $CGNO}{
host 10.1.1.1
log local2. "**** Request from [IP::client_addr]****"
}
else { host 2.2.2.2
log local2. "****Request from [IP::client_addr] ****"
}
}
I configured Region using the Big-IP GUI:
CGNO
IP:subnet is x.x.x.x/24
Even i'm not getting anything in the log, unless I put the log line before if statement !
Thanks
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