Link to home
Start Free TrialLog in
Avatar of VH
VH

asked on

iRule for F5 URL Redirect

How do I create an iRule within the GSLB in order to have URL Redirect for 3 Virtual Servers within the Local Traffic based off one Public IP Address

webserver1,domain.com
webserver2.domain.com
webserver3.domain.com

We currently have one public IP Address left and need to publish 3 servers but don't have the funds for more static public address.
Avatar of LajuanTaylor
LajuanTaylor

@VH -
Assuming that your one public IP resolves to domain.com and you don't want to load balance across the three servers... You could place each server in their own pool - Server1_Pool,  Server2_Pool, and Server3_Pool.

Then in your Local Traffic policies create a single policy with 3 separate URL forwarding rules based on the incoming URL request. For example:
URI path begins with any of /westregion --> Forward traffic to Server1_Pool
URI path begins with any of /eastregion --> Forward traffic to Server2_Pool
URI path begins with any of /southregion --> Forward traffic to Server3_Pool

Is this what you are looking to do?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.