Creating a private subnet
-
In the management console
, select the folder you want to create a private subnet in. -
From the list of services, select BareMetal.
-
In the left-hand panel, select
Private subnets. -
At the top right, click Create subnet.
-
In the Availability zone field, select the availability zone the server will be leased in.
-
In the Pool field, select the pool the server will be leased from.
-
In the Name field, enter a name for your subnet. Follow these naming requirements:
- It must be from 2 to 63 characters long.
- It may contain lowercase Latin letters, numbers, and hyphens.
- It must start with a letter and cannot end with a hyphen.
-
Optionally, add a Description for the subnet.
-
Optionally, add labels.
-
Optionally, set up routing for working with servers from other pools:
-
Enable IP addressing and routing.
-
In the Virtual network segment (VRF) field, select an existing VRF or create a new one.
-
In the CIDR field, specify the subnet CIDR
. -
In the Default gateway field, specify the IP address of the gateway for traffic from the subnet to other subnets connected to the VRF.
By default, this is the first address from the specified subnet range CIDR.
-
(Optional) Enable Assigning IP addresses via DHCP to for network interfaces connected to the private subnet to receive IP addresses via DHCP.
-
If you have enabled Assigning IP addresses via DHCP, specify a range from which to assign IP addresses to the server network interfaces.
By default, it matches the range specified for the subnet CIDR.
-
-
Click Create subnet.