How to restore the configuration of network interfaces on a dedicated server

Restoring the configuration of network interfaces on a dedicated server is a critical task that ensures the server's connectivity and functionality. Whether due to accidental changes, system upgrades, or hardware replacements, network settings might need to be restored to a known, working state.

This guide is not suitable for Windows-based systems.

Downloading the default network configuration image of a server

  1. In the left-hand menu, navigate to Dedicated ServersManage
  2. Choose the server and click Details
  3. Scroll down to the Networks section and download the configuration image by clicking the helpful ISO file

Mounting the image

Use the instructions How to boot a bare-metal server into a custom ISO image remotely using iDRAC to enable Virtual Media in iDRAC and mount the downloaded configuration image.

Restoring network settings

Linux

  1. Mount the image to the file system in the /mnt directory:

    mount /dev/cdrom /mnt
  2. Navigate to the /mnt directory:

    cd /mnt
  3. Network configuration scripts for all Linux-based operating systems are available inside the image.

  4. Run the script for the required OS. For example, for CentOS 7:

    bash linux.sh
  5. After running the script, restart the network service:

    systemctl restart network

The network configuration of the server will be restored to its initial settings.

VMware ESXi

  1. Load a kernel module:

    vmkload_mod iso9660
  2. Define the name of the virtual CD-ROM:

    esxcfg-mpath -l | grep CD-ROM
  3. Mount the virtual CD-ROM (replace with your CD-ROM name):

    vsish -e set /vmkModules/iso9660/mount mpx.vmhba32:C0:T0:L0
  4. Run the script:

    sh /vmfs/volumes/CDROM/vmware.sh

The network configuration of the server will be restored to its initial settings.

On this page