Search Docs...
⌘ K
OverviewDeploymentManagementOperationReferenceGlossary

Configuring a subinterface for the management network port of the new nodes

Only when the physical switch is configured with the trunk VLAN for the management network, you need to refer to the following procedure to configure a subinterface for the management network port of the nodes to be added. Otherwise, skip this section.

  1. Log in to the ACOS system of the nodes to be added using the default root account.

  2. Run the cd /etc/sysconfig/network-scripts/ command to navigate to the port configuration file directory.

  3. Run the ip a command to view the port information of all NICs, and then run the ethtool <port> command to view the speed of each NIC to determine which port is used for the management network, where <port> represents the actual name of the port.

    • When the management network and storage network are deployed on different virtual distributed switches, the port whose Speed is 1000 Mb/s or higher can be used for the management network.
    • When the management network and storage network are deployed on one virtual distributed switch, the port whose Speed is 10000 Mb/s or higher can be shared by both the management network and storage network.
  4. Run the following command in the port configuration file directory to create a VLAN subinterface for the port, and then configure the IP address, gateway, and subnet mask for it.

    network-preconfig create-vlanif --iface <iface> --ipaddr <ipaddr> --netmask <netmask> --gateway <gateway> --vlanid <vlanid>

    The fields with the <> symbol represent the parameters of the management network.

    Parameter Description
    iface The name of the port.
    • If the port used for the management network on the nodes to be added is a pre_bond port, replace this parameter with pre_bond.
    • If the port used for the management network on the nodes to be added is not a pre_bond port, replace this parameter with the actual name, such as eth0.
    ipaddr The actually planned IP address.
    netmask The actually planned subnet mask.
    gateway The actually planned gateway.
    vlanid The actually planned VLAN ID.

    If the following information is displayed, the VLAN subinterface has been created and the management network port has been successfully configured with the subinterface.

    create vlan interface success