KNX Virtual - bus interface
KNX Virtual has one tunneling interface:
- It is represented by device D20, which is an IP/TP interface (or short 'IP interface')
- D20 is hosted by device D19
- D20 is connected to segment S2
- D20 has a fixed individual address: 1.0.255
The other settings are defined during the (initial) interface settings dialog:
- The IP address is in this dialog fixed to 127.0.0.1
- The dialog only allows to change the IP port, the default value is 3671
- Change this setting in case of any IP port conflict
- This also allows using multiple KNX Virtual sessions in parallel
It is possible to skip the interface settings dialog:
- This option also allows to change the IP address
- Create the 'C:\ProgramData\KNX\KV\v26\interface.txt' file, with this content:
- Format: '<IP address>:<IP port>'
- In case of using the locally installed ETS, the content is typically: 127.0.0.1:3671
- Specify the IP address of the local network interface (NIC) in case of using ETS from another PC
- After deleting or renaming this file or after moving it to another folder, KNX Virtual will apply the interface settings dialog again to set the IP port, the IP address will be fixed again to 127.0.0.1
Procedure to connect ETS with KNX Virtual
- Start KNX Virtual
- Define either via the interface settings dialog or via a file (see above) the IP address and IP port of its interface
- Start ETS
- The KNX Virtual interface should automatically be detected by ETS
- If not (should not happen!), create it manually via the project bus connector manager > Manage Configured Connections... > Add > IP Tunneling:
- IP address = according to the settings of KNX Virtual (default 127.0.0.1)
- IP port = according to the settings of KNX Virtual (default 3671)
- NAT: KNX Virtual does NOT support network address translation