Forum Discussion

MahiPolas_36728's avatar
MahiPolas_36728
Icon for Nimbostratus rankNimbostratus
Jul 17, 2018

GTM to resolve based on source IP address

Hello Everyone,

 

I believe this is a very basic request for some of you, however am pretty new to F5 iRules and seeking your help here.

 

We have two sets up applications, App_2010, and App_2016 with separate Virtual Servers. App_2010 is currently in Production and App_2016 in Test. The GTM resolves to App_2010 VS, however, we would want to GTM to resolve to App_2016 based on the source IP address. We would want it to resolve it to App_2016 for the test users.

 

How can I make my GTM resolve the DNS query resolve with IP addresses from New_Pool based on the source IP address? Any sample iRule please.