# 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>
