Creating a Subnet

If no subnet is created in the storage system, you can create a subnet for configuring the service plane of the file service, object service, or HDFS service.

This operation will modify the configuration file of the service subnet network port. You do not need to manually modify the configuration file.

Procedure

  1. Choose Resources > Access > Service Network.
  2. Create a subnet.

    • If the number of subnets is 0, click Create Subnet.
    • If the number of subnets is not 0, click > Create.

  3. Modify basic information about the subnet.

    Table 1 describes related parameters.
    Table 1 Subnet parameters

    Parameter

    Description

    Subnet Name

    Name of the subnet.

    NOTE:
    • The name contains 1 to 31 characters.
    • The name can contain only letters, digits, underscores (_), hyphens (-), and periods (.).
    • The name must start with a letter and cannot end with an underscore (_), hyphen (-), or period (.).

    IP Address Type

    IP address type of the subnet. The value can be IPv4 or IPv6.

    NOTE:

    The value cannot be modified after the subnet is created, or you can only delete the subnet and create a new one.

    Subnet Gateway

    Gateway of the subnet IP address.

    Subnet Mask

    When an IPv4 address is used, this parameter indicates the subnet mask of the storage IPv4 address.

    Subnet Prefix

    When an IPv6 address is used, this parameter indicates the prefix length of the storage IPv6 address.

    General DNS Service

    After the general DNS service is enabled, a sub-domain name is set for a zone, and the DNS service is enabled for the zone, you can access the file service and HDFS service in the zone through a domain name. You are advised to enable the general DNS service.

    NOTE:

    Generally, this parameter needs to be configured only when the file or HDFS service is enabled in the storage system. However, if the object service is deployed in a single-cluster scenario, multiple subnets are configured, and the client is not connected to all subnets, the full domain name of a zone in the subnet needs to be used to access the object service. Therefore, this parameter also needs to be configured in this scenario.

    IP Address of General DNS Service in Subnet

    After the general DNS service is enabled, set the value to the DNS IP address that can communicate with the service IP address of the storage system in the subnet. This IP address is used to create the DNS service. Ensure that the IP address is unique.

    Subnet Root Domain Name

    After the general DNS service is enabled, set the value to the root domain name of the subnet.

    Object DNS Service

    This function must be enabled if you need to access the object service through a domain name.

    NOTE:

    This parameter can be set only when the object service is enabled in the storage system. This parameter is not applicable to file service and HDFS service.

    IP Address of Object DNS Service in Subnet

    After the object DNS service is enabled, set the value to the object DNS IP address that can communicate with the service IP address of the storage system in the subnet. This IP address is used to create the DNS service. Ensure that the IP address is unique.

    VLAN Tagging

    Whether to enable VLAN for the subnet. Before enabling this function, configure the VLAN of the service switch.

    NOTE:
    • Before enabling VLAN Tagging, you need to configure the VLAN of the switch. This function supports the trunk mode and the hybrid tagged mode, but not the access mode and the hybrid untagged mode.
    • When enabling VLAN Tagging, ensure that the VLAN ID is different from those configured on storage nodes.

    VLAN ID

    VLAN ID of the subnet. The VLAN ID must be the same as that configured on the switch.

    NOTE:

    This parameter can be set only after VLAN Tagging is enabled.

  4. Click OK.
  5. Click Close.