Forum Discussion
Nick_T_68319
Nimbostratus
Nov 25, 2009redirect to a different vs based on topology?
I have GTM's and LTM's in my environment. I received a requested today to redirect a site based off the user's IP address.
Here is the example:
www.mywebsite.com
...
hoolio
Cirrostratus
Nov 25, 2009Hi Nick,
At a DNS level, I think you could use the whereis command (Click here) in GTM to check the client/LDNS IP address and answer with the the .co.uk IP for UK clients and the .com IP address for non-UK clients.
It might be more ideal to also do this check at the VIP level and send an HTTP redirect to UK clients who request the .com VIP and redirect non-UK clients who request the .co.uk VIP. I believe the whereis command will be available in LTM iRules in the upcoming 10.1.0 release.
Aaron
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