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

# 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 of the VPC tab, select the VPC configuration to which you want to add a subnet, then click on the configuration Name column.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.19%20add-a.png" alt=""><figcaption><p>Add Subnet</p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.20%20add-b.png" alt=""><figcaption><p>Add Subnet</p></figcaption></figure>

* The Add VPC Subnet window displays, fill in the available columns. Click the Add key to add the Subnet configuration.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.21%20add-c.png" alt=""><figcaption><p>Add Subnet</p></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 "VPC Subnet has been successfully added".

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.22%20add-d.png" alt=""><figcaption><p>Add Subnet</p></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="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.23%20edit-a.png" alt=""><figcaption><p>Edit Subnet</p></figcaption></figure>

* The Edit VPC Subnet window displays, there are several columns that you can update, and you can check "Enable DHCP" if you do not want to enable DHCP functionality.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.24%20edit-b.png" alt=""><figcaption><p>Edit Subnet</p></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>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.25%20edit-c.png" alt=""><figcaption><p>Edit Subnet</p></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, and the optional `goal` query parameter:

```
GET https://docs.cloudeka.id/deka_flexi/deka-flexi-network/6.1_vpc_network/add-edit-subnet.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
