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 for? But in the example below it doesn't matter if i say equal or not equal it's never true. Any ideas?
when DNS_REQUEST {
if { [matchregion [IP::client_addr] equals Parkwood] } {
host 10.1.1.1
}
}
- The_BhattmanNimbostratusHi Vince,
when DNS_REQUEST { if { [matchregion ldns ip] equals $Parkwood } { host 10.1.1.1 } }
- wassimAltostratusHi guys,
- The_BhattmanNimbostratusHi Wassim,
- wassimAltostratusHi Bhattman ,
- wassimAltostratusHey guys,
- vinceKahn_97184Historic F5 AccountThanks everyone, finally got back here after being off most of last week. Here's what worked based on the examples above:
- Ferg_104721NimbostratusAlso may be useful
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