> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/deka-flexi/deka-flexi-network/vpc-network/add-edit-subnet.md).

# Add/Edit Subnet

The Service Portal Cloudeka provides multiple subnet function that can be used to divide VPC network into several distinct subnets without having to change existing subnets. Here are the steps to add to the subnet configuration used in VPC configuration:

* On the **Network** page under the **VPC** tab, select the VPC where you want to add a subnet by clicking the VPC name in the **Name** column.

<figure><img src="/files/PETWtwyLYWtesJ0wJOxn" alt=""><figcaption></figcaption></figure>

* Select the Subnets tab and click the Add Subnet key.

<figure><img src="/files/qMGXEiLftAlKlYZoOgu3" alt=""><figcaption></figcaption></figure>

* The Add VPC Subnet window displays, fill in the available columns. Click the Add key to add the Subnet configuration then wait until the process is complete.

<figure><img src="/files/SWhqsMQYgv7rcU7kquoz" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="184">Column</th><th>Desccription</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>Name of the subnet to be listed.</td></tr><tr><td><strong>IP Address</strong></td><td>The subnet address to use.</td></tr><tr><td><strong>IP Address - Size</strong></td><td>Number of IP addresses that can be used on that subnet.</td></tr></tbody></table>

* Wait until the process is complete and the **"Subnet has been successfully added".**

<figure><img src="/files/sQQp4os4DFWieJXfSaOC" alt=""><figcaption></figcaption></figure>

You can upgrade the saved Subnet configuration at the beginning of VPC creation or by adding the following steps to upgrade the saved Subnet configuration.

* Select the subnet configuration for which the data will be updated by pressing the **More** key and selecting **Edit**.

<figure><img src="/files/kYd6gKMJCaApz7viyuv8" alt=""><figcaption></figcaption></figure>

* The Edit VPC Subnet window is displayed. Fields such as **Name** and **IP Address** are read-only and cannot be modified. You can update configurable fields such as **DNS Name Servers** and **Host Routes**. Click the **+** button to add a new entry and the **–** button to remove an existing entry.

<figure><img src="/files/dAddozAfSTtYXK6o0DS4" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="208">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>DNS Name Servers</strong></td><td>To add the DNS Server configuration to use.</td></tr><tr><td><strong>Host Routes</strong></td><td>Used to define subnet routes for traffic to network segments. You can press the add icon to add Host Routes routes.</td></tr></tbody></table>

* To enable DHCP functionality, check the **Enable DHCP** option.

<figure><img src="/files/4SxD0OKc8MCIwNg3mzof" alt=""><figcaption></figcaption></figure>

* The "VPC Subnet has been successfully updated" notice means that the recently updated data has been saved successfully.

<figure><img src="/files/XJJKHGkpQCWS52FE0Jab" alt=""><figcaption></figcaption></figure>
