Show TOC

Procedure documentationConfiguring AS Java Instances for IPv6 Locate this document in the navigation structure

 

You can configure an instance of an SAP system for IPv6. It is not important whether the instance has type AS ABAP, AS Java, or ABAP+Java (Dual-Stack)

Recommendation Recommendation

SAP recommends that either all or none of the instances belonging to an SAP system are configured for IPv6. Otherwise communication problems in the internal systems could occur. Refer to the network guide for further information.

End of the recommendation.

Prerequisites

The operating system and network infrastructure (for example, DNS server, router, switches) support Internet Protocol Version 6.

For more information about further operating system prerequisites, see 1346768.

Procedure

  1. Set the environment variable SAP_IPv6_ACTIVE=1 for the instance. If this variable is set at operating system level when the application server is started, this means the instance is IPv6-enabled and can also be reached through an IPv6 connection.

    Caution Caution

    If the environment variable is not set or SAP_IPv6_ACTIVE=0, IPv6 is deactivated. Network communication through IPv6 is then not possible.

    End of the caution.
  2. Set the AS Java system variable java.net.preferIPv6Addresses to true.

    For more information, see the Java documentation http://java.sun.com/j2se/1.5.0/docs/guide/net/ipv6_guide/index.html.