Instructions
Via Gateways, you can search for the desired gateway and open the settings of this gateway.
Copy and paste the code below into the Settings field:
{
"connectivity": {
"networkPortSettings": [
{
"portIndex": 0,
"enableDhcp": true
},
{
"portIndex": 1,
"enableDhcp": false,
"ipv4StaticAddress": "192.168.2.20",
"ipv4StaticSubnetMask": "255.255.255.0"
}
]
},
"slaveDefinitions": [
{
"name": "ethernet",
"slaves": [
{
"address": "127.0.0.1",
"port": 22,
"type": "generic-tcp"
},
{
"address": "127.0.0.1",
"port": 80,
"type": "generic-tcp"
}
]
}
]
}
Adjust the following fields where necessary:
Field | Value (as in example) | Description |
---|---|---|
"portIndex" | 1 | Determines the order of the ports:
|
"enableDhcp" | false | Determines whether or not DHCP is used:
|
"ipv4StaticAddress" | "192.168.2.20" | The IP address you get from your network administrator. |
"ipv4StaticSubnetMask" | "255.255.255.0" | The subnet mask you get from your network administrator. |
More info about DHCP: https://learn.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-top
Attention!
Be careful when choosing your IP address if you do this remotely, without local access to the device! If the gateway only has an internet connection via the network, you can lock yourself out by entering the wrong IP address!
Save the settings, the gateway will adopt the new settings and update the IP address.