IPv6 support
EGO supports IPv6. Among other benefits of IPv6, longer address lengths (128 bit) result in increased address availability for networked devices, which allows you to allocate addresses in large blocks.
EGO and IPv6
- Scope: You must assign global unicast addresses to IPv6-enabled hosts.
- Compatibility: IPv4 and IPv6 hosts can communicate only with corresponding hosts of the same type or with dual-stack hosts. However, dual-stack hosts can communicate with both IPv4 and IPv6 hosts, allowing compatibility between the two host types. Therefore, if you have a mixed cluster with both IPv4 and IPv6 hosts, configure it to be dual-stack.
- DNS cache: To locally store host names and mapped addresses (both IPv4 and IPv6 types), EGO uses a host DNS cache.
- Hosts file: You can define a hosts file to provide address-to-name translation. Create hosts in $EGO_CONFDIR (Linux®) or %EGO_CONFDIR% (Windows). This file is most useful if you have multi-homed hosts (hosts with multiple interface cards or nics) or dual-stack hosts. It assists you in authenticating hosts, and viewing host mappings in cases where there are multiple addresses and names.
Configuring IPv6 support
Parameter | Variables | Default | File name and location |
---|---|---|---|
EGO_DHCP_ENV |
If defined, you must also define EGO_DYNAMIC_HOST_WAIT_TIME for hosts to rejoin a cluster after their IP address changes. |
Undefined |
|
EGO_DUALSTACK_PREFER_IPV6 |
Meaningful for dual-stack hosts. If set, a dual-stack host uses IPv6 instead of IPv4 to communicate with other IPv6 or dual-stack hosts. (See note.) |
N (IPv4 at front) |
|
EGO_ENABLE_SUPPORT_IPV6 |
Enabling support for IPv6 does not have any effect IPv4-only hosts. If set to N, IPv6-only hosts are not recognized. |
N (disabled) |
|
EGO_HOST_CACHE_DISABLE |
|
N (enable caching of host names and addresses) |
|
EGO_HOST_CACHE_NTTL | Negative time to live, in seconds The amount of time that errors are cached. |
20 seconds (to turn off caching completely, set to 0) |
|
EGO_HOST_CACHE_PTTL | Positive time to live, in seconds The amount of time cached results are stored. |
86400 seconds (24 hours) (to turn off caching completely, set to 0) |
|