--- title: "Set IP Address of C06W/C07W" slug: "set-ip-address-of-c06w-c07w" updated: 2025-08-07T13:56:26Z published: 2025-08-07T15:48:20Z canonical: "docs.calculus.group/set-ip-address-of-c06w-c07w" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.calculus.group/llms.txt > Use this file to discover all available pages before exploring further. # Set IP Address of C06W/C07W ## 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: ```json {    "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: - **C06 gateway**: - **Port 0**: LAN port - **C07 gateway**: - **Port 0**: WAN port - **Port 1**: LAN port | | "enableDhcp" | false | Determines whether or not DHCP is used: - **true**: gateway gets an IP address via DHCP. - **false**: if you choose a static IP address. | | "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](https://learn.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-top) > [!CAUTION] > 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.