Forum Discussion
GTM - iRule - Source IP persistence for only one network
TECHNICAL ARTICLE Selective DNS Persistence on GTM
search this article, it gives great irule.
rule "SelectivePersist-rule" { when DNS_REQUEST { if { [IP::addr [IP::client_addr]/16 equals "10.1.0.0"] \ or [IP::addr [IP::client_addr]/16 equals "10.2.0.0"] } { cname "myService-noPersist.gtm.test.com" } } }
wideip { name "myService.gtm.test.com" persist yes persist_ttl 1800 pool_lbmode rr pool "myPool" rule "SelectivePersist-rule" }
wideip { name "myService-noPersist.gtm.test.com" pool_lbmode rr pool "myPool" }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
