Page tree
Skip to end of metadata
Go to start of metadata

Our KNX interface uses KNXnet/IP tunneling to communicate to the KNX network. Therefore, any standard conform KNXnet/IP router or interface can be used.

KNXnet/IP routers and interfaces must not be monitored by the NETx Server! During the monitoring process, our server opens a KNX management connection (for more details see this article). Some KNXnet/IP routers and interfaces will reboot and close all tunneling connections after closing a KNX management connection. Therefore, unwanted disconnects of the KNXnet/IP connection will occur.

Please use the GATEWAY item to monitor the state of a KNXnet/IP router or interface instead.

Within the Item Tree of the server, the GAETEWAY item indicates the connection state to a KNXnet/IP router or interface. If it is true, the connection is working – if it is false there is a communication problem. The following figure shows an example where the connection to a KNXnet/IP router is successfully established.

In addition, the Status item provides an error code if the connection is not working:

Status codeDescription
1000Network problem. The server is not able to establish an IP connection to router or interface. Please check your firewall, network and all network switches and routers.
33The KNXnet/IP router or interface cannot find an active data connection with the specified ID. This may indicate that the KNXnet/IP router or interface made a restart and lost the connection IDs. Possible reason for a restart may be too much traffic at the KNX bus, a hardware failure or problems with the power supply.
34The requested connection type is not supported by the KNXnet/IP router or interface.
35One or more requested connection options are not supported by the KNXnet/IP router or interface.
36No KNXnet/IP tunneling connection is available. A KNXnet/IP router or interface only supports a limited amount of simultaneous connections. Old devices only one – newer devices (like our NETx KNX IP Router and Interface) up to 5. Please check whether other client (e.g. ETS) is also connected to the router or interface.
37No free KNX individual address available for the tunneling connection. Please check your ETS project whether all available tunneling connections are assigned to a KNX individual address. For older KNXnet/IP routers or interfaces, additional addresses may be activated by pressing the programming button for at least 5 seconds. Please check the datasheet of your device.
38The KNXnet/IP router or interface detects an error concerning the data connection with the specified ID.
39The KNX connection to the router or interface is not working. Please check the twisted pair side of your router or interface.

If the status is 1000, there is a network problem. To further analyze the problem, check your firewall, network and all network switches and routers. KNXnet/IP tunneling uses UDP/IP for communication, the default UDP port is 3671. Please ensure that a UDP communication with port 3671 is possible between the server and the KNXnet/IP router or interface.

For analyzing the network, please do not use the "ping" command. ping uses the ICMP protocol. This means that even a ping is successful it does not indicate that a UDP/IP connection is possible. Even more each standard network device will reply to ping requests – even if it is not a KNXnet/IP router or interface.

For a meaningful analyzes you can use the following tools:

  • Wireshark: Wireshark is a very sophisticated, free network monitoring tool. Using Wireshark, you can sniff all incoming and outgoing network packets. Since 2016, Wireshark also includes a KNXnet/IP decoder.
  • nxaKNXnetIPTestTool.exe: this is a small console application which is included within the setup of the server. It can be used to test KNXnet/IP tunneling connections.

The nxaKNXnetIPTestTool.exe Tool is located within the following directory: <installation directory>\Tools\KNXnetIP

Usage: KNXnetIP <Dst IP Address> [Src IP Address]

To use the tool, open a Windows "cmd" shell and change to the directory mentioned above. Then invoke the command with the IP address of the KNXnet/IP router or interface as parameter that you would like to test. The second parameter is the local IP address which is optional.

To check the router if the IP address, the following command has to be entered:

Within the output of the  command, the raw KNXnet/IP packets are shown. In addition, it is shown whether the connection was successful – if not the error code is shown too.

Article applies to the following products:

  • NETx BMS Platform
  • NETx Multi Protocol Server
  • NETx BMS Server 2.0