You can configure GSLB for internal and external users using the same host name (FQDN) by configuring a region-based failover policy. If a configured site IP address fails for a particular region, the region-based failover policy can redirect traffic to a Failover IP. You can configure the region-based failover policy to have an internal IP for internal clients and external IP for external clients. A region-based failover IP address can be configured either by editing the Region or while configuring a new Site for the Region.
To configure a region-based failover policy, you begin by configuring two different regions, one for internal clients and one for external clients:
- For Internal clients, complete the following steps:
- Navigate to the Traffic > GSLB Settings page.
- In the GSLB Regions section, click Add Custom Region.
- In the Add Custom Region pop-up window, name the region Internal and select the geographic region from where traffic is not expected.
- For External clients, complete the following steps:
- Click Add Custom Region.
- In the Add Custom Region pop-up window, name the region External and select the geographic regions you want to serve traffic to.
In the Geo Location override section, add the client IP address range corresponding to the IP address range used for the clients in the Internal custom region.
Navigate to the Traffic > GSLB Services page. Configure the GSLB service:
Specify the Site IP Address.
Configure the required FQDN by specifying the previously configured Internal and External region-based response policies. Set the Response Policy drop down menu to Region Only.
External clients are now redirected to the external site IP addresses and internal clients are redirected to internal site IP addresses.