Required NIC Interface Naming Convention

Required NIC Interface Naming Convention

Product Line:  VERDE

Specific to VERDE (rpm's), the Network Interface must be named the same across all VERDE servers.

Installing with VERDE rpm's, CENTOS 7.x takes liberties and renames the NIC.  Here are instructions on how to configure the name to:  etho.


The old naming convention:

To restore the old naming convention, you need to edit the /etc/default/grub file and add net.ifnames=0 biosdevname=0 at the end of the GRUB_CMDLINE_LINUX variable.  The modified line should look as follows:

GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet net.ifnames=0 biosdevname=0"


Then, test the new configuration to see if no mistake has been made:
# grub2-mkconfig

When the aforementioned runs properly, you'll see a Done

If everything is fine, update the grub2 configuration:

# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-123.9.3.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.9.3.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-eda26f60d4c948d09cd50d9086a87fcc
Found initrd image: /boot/initramfs-0-rescue-eda26f60d4c948d09cd50d9086a87fcc.img
done


Update the network interface configuration file (here the initial interface name was enp2s0 and the new one is eth0):

# cd /etc/sysconfig/network-scripts
# cp ifcfg-enp2s0 ifcfg-eth0

Edit the ifcfg-eth0 file and replace the network interface name in the NAME variable with “eth0“.

After a reboot, everything should be OK.


If VERDE was already installed, rerun the VERDE configuration as follows:

/usr/lib/verde/bin/verde-config -i

    • Related Articles

    • How to Detect Which NIC Interface is cabled/connected?

      Product Line:  VERDE if you are looking for which eth# has a cable plugged in try:  sudo ethtool eth0 | grep Link Given the aforementioned, if my eth0 NIC interface is being used, the following will result: [root@localhost ~]# sudo ethtool eth0 | ...
    • Install VERDE (rpm) on Centos 7 with NIC Teaming

      Product Line:  VERDE NIC Teaming is a very nice networking feature that lets us use more than one adapter in a paired mode (team) for better speed and more redundancy.  Here are instructions for TEAMING two NICs while installing Centos7 with VERDE. ...
    • VERDE VDI Network Terms - Networking with Dual-NICs

      Product Line:  VERDE Preface:      The information contained within this document refers to the networking aspects of the VERDE VDI software solution being installed via a set of RPMs (program modules) on top of CentOS7.  The following networking ...
    • Verde VDI Network Terms and Descriptions - NIC Teaming

      Product Line:  VERDE Introduction:      The information contained within this document refers to the networking aspects of the VERDE VDI software solution being installed via a set of RPMs (program modules) on top of CentOS7.  The following ...
    • How to change the Device Name on an L300 device.

      You can do it through the vSpace Console: (vSpace Console > Manage Devices > Double-click any device > Information) You can also do it through the terminal: (Device Setup > Network) REV 08/2018