Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6458027

Disabling IPv6 on a specific network interface causes problems

XMLWordPrintable

    • b108
    • generic, x86
    • windows_vista

        On windows vista IPv6 is enabled out of the box, and infact you cannot completely disable it. You can however disable it on a per interface basis. If you do this then you may encounter the following problems:

        1) Incorrect NetworkInterface index.
           Retrieve the NetworkInterface instance for the interface that has IPv6 disabled.
           The index is not directly exposed by the API, but can be retrieved from
           toString(). The index is however critical as it is used internally by
           NetworkInterface to help identify the particular interface to perform an
           action on, e.g. isLoopback, ipUp. These method may not work correctly in
           this case.

        2) MulticastSocket.get/setInterface & get/setNetworkInterface
           These methods may throw a SocketException or return an empty InetAddress
           (0.0.0.0) or a NetworkInterface instance with no name, no addrs, and an index
           of -1.

              msheppar Mark Sheppard
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: