> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gcore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure a 10 Gbps network card

Each Dedicated Server has multiple network cards connected to separate network switches, but the installed OS activates only the 1 Gbps card by default. A 10 Gbps network card must already be installed on the server — Gcore can add one as part of a [server upgrade](/hosting/dedicated-servers/upgrade-your-dedicated-server).

<Warning>
  These steps require direct server access and manual network configuration. Consult a system administrator if difficulties arise.
</Warning>

Select the tab that matches the server OS.

<Tabs>
  <Tab title="Ubuntu/Debian">
    Ubuntu and Debian use `netplan` for network configuration. On older systems without `netplan`, each step includes the equivalent command.

    <Steps>
      <Step title="Install the required tools">
        Install `ethtool`, `net-tools`, and [nano](https://help.ubuntu.com/community/Nano), or another text editor of choice.

        ```sh theme={null}
        apt-get install ethtool net-tools nano
        ```
      </Step>

      <Step title="Check active interfaces">
        Run `ip` to list active network interfaces.

        ```sh theme={null}
        ip
        ```

        The output resembles the following, where `eth0` is the active 1 Gbps interface.

        <Frame>
          <img src="https://mintcdn.com/gcore/6c7rSEr5Xo1-o6lk/images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12987773655057.png?fit=max&auto=format&n=6c7rSEr5Xo1-o6lk&q=85&s=e2adfc89f83e0a96fb0e5c150ffc626a" alt="ip command output" width="862" height="181" data-path="images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12987773655057.png" />
        </Frame>

        On older Linux versions where `ip` is not available, use `ifconfig` instead.
      </Step>

      <Step title="Check interface settings">
        Inspect the settings of the active interface to confirm its speed.

        ```sh theme={null}
        ethtool eth0
        ```

        The output resembles the following:

        <Frame>
          <img src="https://mintcdn.com/gcore/6c7rSEr5Xo1-o6lk/images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12987901207825.png?fit=max&auto=format&n=6c7rSEr5Xo1-o6lk&q=85&s=79e31d97c49ccb3ac03dd6e3c7c60666" alt="ethtool eth0 output" width="531" height="418" data-path="images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12987901207825.png" />
        </Frame>

        In **Supported link modes**, `1000baseT/Full` means the interface supports a maximum speed of 1 Gbps. Find an interface that lists `10000baseT/Full`, which indicates 10 Gbps support.
      </Step>

      <Step title="List all interfaces">
        List all interfaces, including inactive ones, to find the 10 Gbps candidate.

        ```sh theme={null}
        ip link show
        ```

        The output lists each interface and its state (up or down).

        <Frame>
          <img src="https://mintcdn.com/gcore/6c7rSEr5Xo1-o6lk/images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12988067861649.png?fit=max&auto=format&n=6c7rSEr5Xo1-o6lk&q=85&s=986035fea9f9517447cc5dcf16d0b6e9" alt="ip link show output" width="982" height="184" data-path="images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12988067861649.png" />
        </Frame>

        On older Linux versions where `ip link show` is not available, use `ifconfig` instead.
      </Step>

      <Step title="Activate inactive interfaces">
        Bring up each interface that is listed as down. Replace `eth1` and `eth2` with the interface names shown in the previous step.

        ```sh theme={null}
        ip link set eth1 up
        ip link set eth2 up
        ```

        On older Linux versions, use `ifconfig eth1 up` instead of `ip link set`. To verify that an interface is active, run `ip` and check for `state UP` in the output (`state DOWN` means the interface is still inactive; use `ifconfig` on older systems).
      </Step>

      <Step title="Find the 10 Gbps interface">
        Run `ethtool` on each inactive interface until finding the one that supports 10 Gbps.

        ```sh theme={null}
        ethtool eth1
        ethtool eth2
        ```

        The output resembles the following:

        <Frame>
          <img src="https://mintcdn.com/gcore/6c7rSEr5Xo1-o6lk/images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12988155718033.png?fit=max&auto=format&n=6c7rSEr5Xo1-o6lk&q=85&s=fcf1d97888ee149b3bd8a2ab8b98cf63" alt="ethtool output showing 10 Gbps interface" width="443" height="422" data-path="images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12988155718033.png" />
        </Frame>

        Confirm that **Link detected** is `yes` and **Speed** is `10000Mb/s` (10 Gbps). Note the interface name — the next step requires it.
      </Step>

      <Step title="Update the network configuration">
        Open the network configuration file in a text editor.

        ```sh theme={null}
        nano /etc/netplan/*.yaml
        ```

        On older Linux versions, use `nano /etc/network/interfaces` instead.

        In the configuration file, find every line where the current 1 Gbps interface name (`eth0`) appears and replace it with the 10 Gbps interface name identified in the previous step. Leave the `lo` interface unchanged.

        If the 10 Gbps interface is `eth2`, a section that reads:

        ```yaml theme={null}
        ethernets:
          eth0:
            dhcp4: true
        ```

        becomes:

        ```yaml theme={null}
        ethernets:
          eth2:
            dhcp4: true
        ```
      </Step>

      <Step title="Apply the configuration">
        Save the file and exit the text editor, then apply the new configuration.

        ```sh theme={null}
        netplan apply
        ```

        On older Linux versions that do not use `netplan`, reboot the server instead.

        If the server becomes unreachable after applying, reboot it to recover. If it still does not respond, use [IPMI](/hosting/dedicated-servers/manage/log-in-to-ipmi) to access it.
      </Step>

      <Step title="Verify the active interface">
        Run `ethtool` on the 10 Gbps interface name to confirm **Speed** shows `10000Mb/s`. The server now uses the 10 Gbps network interface.

        If the interface is not active, reboot the server and check again. If the server does not respond, use [IPMI](/hosting/dedicated-servers/manage/log-in-to-ipmi) to access it, or [reinstall](/hosting/dedicated-servers/manage/operating-system/install-a-linux-os-from-a-template) the OS.
      </Step>
    </Steps>
  </Tab>

  <Tab title="CentOS">
    <Note>
      CentOS 7 reached end of life on June 30, 2024. For new servers, consider using AlmaLinux or Rocky Linux as actively maintained alternatives. The steps below apply to CentOS 7.
    </Note>

    CentOS uses `/etc/sysconfig/network-scripts/` for network configuration. On older systems without the `ip` utility, each step includes the equivalent command.

    <Steps>
      <Step title="Install the required tools">
        Install `ethtool`, `net-tools`, and `nano`, or another text editor of choice.

        ```sh theme={null}
        yum install ethtool net-tools nano
        ```
      </Step>

      <Step title="Check active interfaces">
        Run `ip` to list active network interfaces.

        ```sh theme={null}
        ip
        ```

        The output resembles the following, where `eno1` is the active 1 Gbps interface.

        <Frame>
          <img src="https://mintcdn.com/gcore/6c7rSEr5Xo1-o6lk/images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12988893619089.png?fit=max&auto=format&n=6c7rSEr5Xo1-o6lk&q=85&s=df445b5155fa619983d0326b73bc96e9" alt="ip command output on CentOS" width="812" height="264" data-path="images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12988893619089.png" />
        </Frame>

        On older Linux versions where `ip` is not available, use `ifconfig` instead.
      </Step>

      <Step title="Check interface settings">
        Inspect the settings of the active interface to confirm its speed.

        ```sh theme={null}
        ethtool eno1
        ```

        The output resembles the following:

        <Frame>
          <img src="https://mintcdn.com/gcore/6c7rSEr5Xo1-o6lk/images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12988723926417.png?fit=max&auto=format&n=6c7rSEr5Xo1-o6lk&q=85&s=3a48795ca2683671ec63a69093a8e7c9" alt="ethtool eno1 output" width="530" height="484" data-path="images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12988723926417.png" />
        </Frame>

        In **Supported link modes**, `1000baseT/Full` means the interface supports a maximum speed of 1 Gbps. Find an interface that lists `10000baseT/Full`, which indicates 10 Gbps support.
      </Step>

      <Step title="List all interfaces">
        List all interfaces, including inactive ones, to find the 10 Gbps candidate.

        ```sh theme={null}
        ip link show
        ```

        The output lists each interface and its state (up or down).

        <Frame>
          <img src="https://mintcdn.com/gcore/6c7rSEr5Xo1-o6lk/images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12989145294481.png?fit=max&auto=format&n=6c7rSEr5Xo1-o6lk&q=85&s=4b079701733af9c489fb212660e6ed81" alt="ip link show output on CentOS" width="972" height="184" data-path="images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12989145294481.png" />
        </Frame>

        On older Linux versions where `ip link show` is not available, use `ifconfig` instead.
      </Step>

      <Step title="Activate inactive interfaces">
        Bring up the interface that is listed as down. Replace `eno2` with the interface name shown in the previous step.

        ```sh theme={null}
        ip link set eno2 up
        ```

        On older Linux versions, use `ifconfig eno2 up` instead of `ip link set`. To verify that the interface is active, run `ip` and check for `state UP` in the output (`state DOWN` means the interface is still inactive; use `ifconfig` on older systems).
      </Step>

      <Step title="Find the 10 Gbps interface">
        Run `ethtool` on each inactive interface until finding the one that supports 10 Gbps.

        ```sh theme={null}
        ethtool eno2
        ```

        The output resembles the following:

        <Frame>
          <img src="https://mintcdn.com/gcore/6c7rSEr5Xo1-o6lk/images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12989201201041.png?fit=max&auto=format&n=6c7rSEr5Xo1-o6lk&q=85&s=4a460cd78682b69087062268e57a395b" alt="ethtool output showing 10 Gbps interface on CentOS" width="418" height="536" data-path="images/docs/hosting/dedicated-servers/manage/networking/configure-a-10-gbps-network-card/12989201201041.png" />
        </Frame>

        Confirm that **Link detected** is `yes` and **Speed** is `10000Mb/s` (10 Gbps). Note the interface name — the next step requires it.
      </Step>

      <Step title="Update the network configuration">
        Open the configuration file for the current 1 Gbps interface and disable it by setting `ONBOOT=no`.

        ```sh theme={null}
        nano /etc/sysconfig/network-scripts/ifcfg-eno1
        ```

        Then open the configuration file for the 10 Gbps interface. Replace `eno1` in the filename with the 10 Gbps interface name identified in the previous step.

        ```sh theme={null}
        nano /etc/sysconfig/network-scripts/ifcfg-eno2
        ```

        In `ifcfg-eno2`, copy the IP address, subnet mask, gateway, and DNS settings from `ifcfg-eno1`, then update `DEVICE` and `NAME` to the 10 Gbps interface name and set `ONBOOT=yes`.
      </Step>

      <Step title="Save and reboot">
        Save the file and exit the text editor. Reboot the server for the changes to take effect.
      </Step>

      <Step title="Verify the active interface">
        After the reboot, run `ethtool` on the 10 Gbps interface name to confirm **Speed** shows `10000Mb/s`. The server now uses the 10 Gbps network interface.

        If the server does not respond after reboot, use [IPMI](/hosting/dedicated-servers/manage/log-in-to-ipmi) to access it, or [reinstall](/hosting/dedicated-servers/manage/operating-system/install-a-linux-os-from-a-template) the OS.
      </Step>
    </Steps>
  </Tab>
</Tabs>
