Configuration
The Configuration Application is a command driven application that is used to upload created configurations to the DD500E. The application and a default configuration file can be downloaded from the Advenica Artifactory file share site, see Downloads for details.
Make sure the following files are downloaded before proceeding:
- dd500e_config.exe
- dd500e_config_template.toml
Preparations
Perform the following steps to prepare for using the Configuration Application:
Editing configuration
A complete DD500E configuration includes network settings for both the Upstream and Downstream side of the device. Multiple configurations can be created, using unique names when saved. Only one configuration file can be uploaded to the DD500E and the file must have the .toml file extension to be accepted when uploaded to the device.
- DD500E is delivered without a loaded configuration.
- DD500E does not support dynamic configuration, such as DHCP.
To edit a configuration, perform the following steps:
Default settings
In the DD500E default dd500e_config_template.toml configuration file, the following parameters are available:
| Parameter | Default value | Comment |
|---|---|---|
| Upstream | ||
| upstream_ip | 10.0.0.42 | IPv4 address for the Upstream network interface. |
| upstream_network_mask | 255.255.255.0 | IPv4 network mask for the Upstream network interface. |
| upstream_port | 6000 | UDP port the Upstream network interface will listen on. |
| Downstream | ||
| downstream_ip | 10.0.0.54 | IPv4 address for the Downstream network interface. This address will be used as source address for packets sent to the intended destination. |
| downstream_network_mask | 255.255.255.0 | IPv4 network mask for the Downstream network interface. |
| downstream_default_gateway_ip | 0.0.0.0 | IPv4 address for the default gateway on the Downstream network. If set to 0.0.0.0, no default gateway will be set and the destination_ip is assumed to be in the same subnet as downstream_ip. |
| destination_ip | 10.0.0.2 | Destination IPv4 address to forward data to. |
| destination_port | 6000 | Destination UDP port to forward data to. |
| Common | ||
| max_payload_size | 1472 | Maximum size, in bytes, of payload within a UDP datagram. A lower value makes the device able to handle more datagrams per second. Minimum value is 32. Maximum value is the smallest of: - connected network Ethernet MTU minus 28 (to accommodate IP and UDP headers) - 1472 Note! IP fragmentation or Path MTU Discovery (PMTUD) is not supported. |
Using Configuration Application
The Configuration Application is command driven and will perform various tasks based on entered commands.
Available commands are:
- list-ports - lists available serial ports. The command requires that the USB-serial cables are connected correctly (see Connecting cables for configuration) and that the DD500E is powered on (see Power).
- configure - sends a configuration file to the specified serial ports.
- info - shows device specific information from a specified serial port (see Info).
- diagnostics - shows diagnostic information from a specified serial port (see Diagnostics).
- error-logs - shows the 10 latest error logs from a specified serial port (see Error logs).
- read - reads real-time information from a specified serial port. Note that network traffic sent over the DD500E cannot be accessed in any way.
- firmware-upgrade - sends new firmware to the specified serial ports. Both the Upstream and Downstream section of the DD500E must be upgraded at the same time (see Firmware upgrade).
- factory-reset - erases all user provided settings (see Factory reset).
- help - provides information about all commands or a specified command.
To start the Configuration Application, perform the following steps:
Checking COM ports
Due to the way that Windows handles connected USB-serial ports, it is necessary to determine which COM ports that has been assigned when the Configuration ports on the DD500E have been connected to the Configuration laptop.
To determine COM port assignment, perform the following steps:
Uploading configuration
The following instruction assumes that a customized configuration has been created. See Editing configuration for further information.
To upload a configuration, perform the following steps:
Verifying configuration
To verify the configuration after upload, perform the following steps: