# Add/Edit Subnet

The Cloudeka portal service 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/g3C9iLBTdgdngu1HX1Ac" 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>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/deka-flexi/deka-flexi-network/vpc-network/add-edit-subnet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
