Enabling IPv6 for Hosted Applications
Page last updated:
Warning: Pivotal Cloud Foundry (PCF) v2.5 is no longer supported because it has reached the End of General Support (EOGS) phase as defined by the Support Lifecycle Policy. To stay up to date with the latest software and security updates, upgrade to a supported version.
The procedure described below allows apps deployed to Pivotal Application Service (PAS) to be reached using IPv6 addresses.
Note: Amazon Web Services (AWS) EC2 instances currently do not support IPv6.
Pivotal Application Service (PAS) system components use a separate DNS subdomain from hosted applications. These components currently support only IPv4 DNS resolved addresses. This means that although an IPv6 address can be used for application domains, the system domain must resolve to an IPv4 address.
Complete the following steps to enable support for IPv6 application domains:
Set up an external load balancer for your Pivotal Application Service (PAS) deployment. See Using Your Own Load Balancer.
Configure DNS to resolve application domains to an IPv6 address on your external load balancer.
Note: Your IPv4 interface for the system domain and IPv6 interface for application domain can be configured on the same or different load balancers.
Configure the external load balancer to route requests for an IPv6 address to an IPv4 address as follows:
- If you are using the HAProxy load balancer for SSL termination, route to its IPv4 address.
- Otherwise, route directly to the IPv4 addresses of the Gorouters.
The following diagram illustrates how a single load balancer can support traffic on both IPv4 and IPv6 addresses for a Pivotal Application Service (PAS) installation.
See Routes and Domains for more information about domains in Pivotal Application Service (PAS).