To create a Subnet, follow these steps:
- go to the details page of the VPC Network in which you want to create the subnet;
- in the Subnet section, click on + Create new subnet;
- the Create new subnet procedure will require the following details:
-
- 1. Details
- Subnet name: this is the name that will be used to identify the subnet (naming rules).
- Tags (optional): you can assign tags to each subnet created to facilitate searching in the list of subnets (tagging rules).
- Destination project: each subnet must be assigned to a project. If you do not specify a project, the system will assign the subnet to the default project.
- Click on Continue.
- 2. Configuration
-
- You can choose between the Default or Advanced configuration.
Default: IP range automatically assigned;
Advanced: private IP range between networks 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16.
| |
Range IP |
Gateway [1] |
| Default |
192.168.1.0 / 24 |
192.168.1.1 |
| Advanced |
10.0.0.0 / 8
172.16.0.0 / 12
192.168.0.0 / 16 |
10.0.0.1
172.16.0.1
192.168.0.1 |
1. The gateway is assigned automatically based on the IP range selected and cannot be changed.
Available IP ranges and hosts
1. Classless Inter-Domain Routing.
- If you selected the Advanced subnet configuration, you'll find the DHCP option. You can choose to disable it, keep it active, or change it via the Edit DHCP option.
You can edit the following parameters:
(In these examples, we'll consider the network 192.168.0.0/24)
- Range start (optional): enter a starting address for the DHCP pool;
you could use 192.168.0.10 (inclusive) , keeping addresses from 192.168.0.2 to 192.168.0.10 free for future use.
- Number of IPs: choose how many IP addresses you want to reserve starting from the Range Start (192.168.0.10);
in this case, given the use of /24 as the network, and Range Start at 192.168.0.10, you could use a number between 1 and 244.
- Route (optional): enter up to three routes (e.g. 10.0.0.7 gw 192.168.0.11 10.0.0.6 gw 192.168.0.11 172.16.0.0/16 gw 192.168.0.100).
- DNS (optional): enter up to four DNS addresses (e.g. 192.168.0.150 192.168.0.151)
- Click on Continue.
- Click on Confirm on the bottom right to finish creating the subnet.
The subnet you have created will be displayed in the list in the
Subnet section with the status showing as
Creating. It will take several seconds for the subnet to be created.