By default, VMware Tanzu GemFire uses Internet Protocol version 4 for Tanzu GemFire address specifications. You can switch to Internet Protocol version 6 if all your machines support it. You may lose performance, so you need to understand the costs of making the switch.
IPv4 uses a 32-bit address. IPv4 was the first protocol and is still the main one in use, but its address space is expected to be exhausted within a few years.
IPv6 uses a 128-bit address. IPv6 succeeds IPv4, and will provide a much greater number of addresses.
Based on current testing with Tanzu GemFire , IPv4 is generally recommended. IPv6 connections tend to take longer to form and the communication tends to be slower. Not all machines support IPv6 addressing. To use IPv6, all machines in your distributed system must support it or you will have connectivity problems.
Note: Do not mix IPv4 and IPv6 addresses. Use one or the other, across the board.
IPv4 is the default version.
To use IPv6, set the Java property,
These examples show the formats to use to specify addresses in Tanzu GemFire .