Updated on 2024-06-13 GMT+08:00

Adding IP Addresses to an IP Address Group

Scenarios

This section describes how to add IP addresses to an IP address group.

Notes and Constraints

If an IP address group has resources associated, adding IP addresses to the group may affect your network communications.

If an IP address group is associated with security groups and network ACLs, the rules associated with the IP address groups will change.

Procedure

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. In the navigation pane on the left, choose IP Address Groups.

    The IP address group list is displayed.

  4. In the IP address group list, click the hyperlink of the IP address group name.

    The basic information page of the IP address group is displayed.

  5. In the upper left corner of the IP address list, click Add.

    The Add IP Address dialog box is displayed.

  6. Add IP addresses to the IP address group as prompted.
    • Method 1
      1. Enter IP addresses in the IP Addresses box. For details, see Table 1.
        Table 1 Parameters for adding IP addresses

        Parameter

        Description

        Example Value

        Name

        The name of the IP address group.

        ipGroup-A

        IP Address Version

        IP address version supported by an IP address group. You can select an IP address version when you create an IP address group. IP address version cannot be modified after the IP address group is created. The supported versions are as follows:
        • IPv4
        • IPv6

        IPv4

        IP Addresses

        Mandatory

        Enter an IP address or IP address range on each line, and press Enter.

        The format is "IP address|Description". Description is optional, can contain 0 to 255 characters, and cannot contain angle brackets (< or >). You can enter:
        • An IPv4 address range, for example, 192.168.0.0/16 or 192.168.0.0/16 | ECS01
        • A single IPv4 address, for example, 192.168.10.10 or 192.168.10.10 | ECS01
        • An IPv6 address range, for example, 2001:db8:a583:6e::/64 or 2001:db8:a583:6e::/64 | ECS01
        • A single IPv6 address, for example, 2001:db8:a583:6e::5c or 2001:db8:a583:6e::5c | ECS01
        • Without description: 192.168.0.0/16
        • With description: 192.168.0.0/16 | ECS01
      2. Click OK.

        In the IP address list, you can view the newly added IP addresses.

    • Method 2

      Click Batch Import in the lower part of the IP Addresses box. On the displayed Batch Import IP Addresses dialog box, import IP addresses by referring to Importing IP Addresses to an IP Address Group in Batches.