Updated on 2025-03-31 GMT+08:00

Installing the Network Service

Scenarios

By default, the network service is not installed for CentOS 8, EulerOS 2.9, RHEL 8, Ubuntu 20, or later. For iMetal servers using centralized gateways, the network service and network scripts are required to configure the network. For iMetal servers using distributed gateways (that is, iMetal servers with SDI 3.0 or SDI 2.2 cards), skip this section.

Procedure

EulerOS 2.10 is used as an example.

  1. Log in to the VM and query the network status.

    systemctl status network

    Unit network.service could not be found.
  2. Run the following command to install network-scripts using the Yum source:

    yum install network-scripts

  3. After the installation is complete, run the following commands to check whether the network service is available:

    systemctl status network

    ● network.service - LSB: Bring up/down networking
    Loaded: loaded (/etc/rc.d/init.d/network; generated)
    Active: inactive (dead)
    Docs: man:systemd-sysv-generator(8)